Re: a simple question about Directory structure in Tomcat

2007-10-24 Thread Mark Thomas
pesho318i wrote: > servlet > > myServlet > > Your servlet also needs to be in a package. Mark - To start a new topic, e-mail: users@tomcat.apache.org To un

Re: a simple question about Directory structure in Tomcat

2007-10-24 Thread pesho318i
thanks, Well, I see by design the WEB-INF should be directly in webapps/myApp/ but maybe there is a way to change it, e.g. change the web.xml file. Now it looks like: servlet myServlet

Re: a simple question about Directory structure in Tomcat

2007-10-23 Thread David Smith
This is by design. WEB-INF is a special directory that must be a direct subdirectory of the webapp's top level. In other words, webapps/myApp/WEB-INF is good. WEB-INF in any other location within your webapp is bad. All this is described in the servlet spec and not tomcat specific. --Davi