Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of The Software Craftsman this week in the Agile forum!
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.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Invoke servlet in jar file