This content has been marked as final.
Show 1 reply
-
1. Re: Classpath Question
jwcarman Aug 31, 2002 3:51 PM (in response to fstarsinic)Why not put your resources in your webapp? You can use ServletContext.getResource() instead of the system classloader to load your resource. This way, your code is more portable and tightly packaged (IMHO). So, you could replace that line with...
URL url = getServletContext().getResource( "/WEB-INF/scripts/CreateEfileEntity.js" );
Hope this helps. :-)