Where to place a servlet class???
1 posts in topic
Flat View  Flat View

Posted By:   Jyri_Saastamoinen
Posted On:   Sunday, April 27, 2003 11:29 PM

I'm using a servlet class with JSP page to route a EJB method calls. I have a j2ee server. Problem is, when I call that servlet class in JSP page,
it cannot find that class. In deploytool, what I have to do? I have a Web component index in WAR file. Do I have to make a some sort of reference to that class inside a web component???
Or something else?

Thanks for your help

Re: Where to place a servlet class???

Posted By:   AlessandroA_Garbagnati  
Posted On:   Monday, May 5, 2003 09:12 AM


Servlet classes should be located (as per Servlet Specs) under the WEB-INF/classes directory inside your war file, since they are part of a Web Application. If your classes are within a jar file, that file should be placed under WEB-INF/lib.
About | Sitemap | Contact