GeeCON Prague 2014*
The moose likes Servlets and the fly likes Invoke servlet in jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Invoke servlet in jar file" Watch "Invoke servlet in jar file" New topic
Author

Invoke servlet in jar file

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I have some application. The servlet is in jar file. It is a servlet controller model that generate jsp pages depending on URL. My question is that in test mode how will I test this in dev/test mode in
an IDE, as really that jar file is part of classpath. I do not see any node for that classpath that has servlet so how to test this?

This application I have inherited and I do not know how I go about loading this in an IDE like jdeveloper and run the servlet. Actually in thsi appliaction everything is run by this servlet. I do not see any reason why it should not be in a jar, but how do we test it. The application has a number of EJB's etc.
 
jQuery in Action, 2nd edition
 
subject: Invoke servlet in jar file