Hi guys. I'm having a little trouble with Tomcat 5.5.11 and Servlets...
Basically I have a web based system which allows users to login and browse/upload/download images at will
I have created the basic JSPs and file structure C:\Java\Tomcat 5.5\webapps\web Java classes are under - C:\Java\Tomcat 5.5\webapps\web\WEB-INF\classes\uk\co\domain\...
Servlets are under a folder in here called [servlets] C:\Java\Tomcat 5.5\webapps\web\WEB-INF\classes\uk\co\domain\servlets
I have written the LoginServlet and it is under the following above address and it works fine. But I have a Servlet called UploadServlet for uploading images i the same folder, mapped in the web.xml (see below) and called in the following form:
I don't think Secker had gone that for to the multi-part part. According to your description, Secker try giving the path as "/web", docBase as "web" in the Context.xml, something like this: <Context path="/web" docBase="web" ...> and calling the servlet this way: <form name="yourformname" action="/web/UploadServlet" ...>
-Ben<br />SCJP/SCJD 1.4<br />Certified Sybase DBA
subject: Tomvat 5.5.11 having trouble finding Servlets