How to create the right directory structure underneath a webapp
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hugo_Hendriks
Posted On:   Friday, July 5, 2002 04:50 AM

Hi,

I've created a webapp which uses servlets. When i try to configure the root directory of the webapp, i point it toward the defaultroot directory. The problem is that all my created servlets end up underneath the rootdirectory/WEB-INF/classes/packagename directory. When i try to load my servlets in the browser, I can't access the because they are in the WEB-INF directory.



Can anyone tell me how to create servlets that don't end-up in the web-inf directory.



Much thanks



Hugo Hendriks

Re: How to create the right directory structure underneath a webapp

Posted By:   Anonymous  
Posted On:   Friday, July 5, 2002 05:49 AM

Servlets need to be in then WEB-INF directory. You just need to map each servlet to a URL in the web.xml file...
About | Sitemap | Contact