classpath issues??

2002-02-06 Thread Dan Ascheman

Ok, I've created an application (.ear file) which has successfully been 
deployed, BUT my servlet in my .war file blows up on a runtime exception 
because it can't find it's base class, or helper classes.
I have a .jar file called allsrc.jar that contains all classes in my 
system, and that resides in my .ear file - I thought that would be enough 
for my servlet to see it, but it's not.  I tried putting the allsrc.jar in 
my d:\orion directory and it didn't work, and I tried referencing it in my 
classpath upon startup like this:
java -cp=d:/orion/fwrk/allsrc.jar -jar orion.jar

Nothing seems to work!!  The only way I can get my servlet to successfully 
run is to unjar all of my classes into my web-inf/classes directory, and I 
don't want to do that.

So, where do I put my allsrc.jar so my servlet can find the classes it needs 
to run??

thanks,
Dan


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com





servlet-mapping

2002-01-31 Thread Dan Ascheman





_
Chat with friends online, try MSN Messenger: http://messenger.msn.com





servlet-mapping (again)

2002-01-31 Thread Dan Ascheman

Ok,
  I've tried to add a servlet-mapping with a 
url-pattern/test/url-pattern to web.xml for all my servlets, but I 
cannot get it to work - how do you specify a different URL for your servlets 
to be accessed?!?!

I just want to say http://localhost/test/MyServlet

I've tried setting the web-dir value in the global-web-application.xml file 
and that does nothing.

Is there any file I am forgetting about?  Do I have to move my servlets to 
another directory??  Please help!

thanks,
Dan



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.