You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pawan <pa...@indiamart.com> on 2001/02/09 08:23:45 UTC

Please Help

Hello,

I've followed all the steps there in how to Tomcat IIS how to and final i
got a green upward arrow in the filters added in My Site in IIS.
but now whenever i place any JSP page inside my site's directory and run it
from browser it is not processed. though if i place directly under
Tomcat/Webapps/root
it works absolutely fine.

Can you please tell me where is the problem.

Thanks
-Pawan kinger

______________________________________________________________

Pawan Kinger
Programmer   (pawan@indiamart.com
		pawankinger@yahoo.com)

Tel. No.(R) : 91-120-4751361

IndiaMART InterMESH Limited                                       
  (Internet Solution Providers) 
  (O)Voice   : +(91) 11-2200349/2051719/2050429/2050430         
  (O)Fax     : +(91) 11-241-2591  
Visit Us At : http://www.indiamart.com	                           
_______________________________________________________________

ServletPath Problem

Posted by micky <mi...@truexchange.com>.
I am running linux 6.2 tomcat 3.2.1.

I created a WAR file called dci.war and placed it in the webapps dir. When I
try to access the directory through the web I get a page not found error. I
can access the other default tomat directories. I can also call html pages
from the /dci directory.

I belive the problem is related to the JSP path.

When looking at the logs. I see JspEngine --> /examples/num/*.jsp
					   ServletPath: /example/num/*.jsp

The above works

When it does not work I see JspEngine --> /dci.jsp
				    ServletPath: /dci.jsp

I believe it should look like JspEngine --> /dci/dci.jsp
				    ServletPath: /dci/dci.jsp

My question is Where do I specify the Directory so that the JSP reads the
default. I thought all of this was taken care of when you use a war file in
webapps dir.

thanks in advance



/===============================\
| Micky Mimo                    |
| Systems Specialist            |
| (781) 457 - 1317              |
| micky@truexchange.com         ===================\
|There was once a young man from Wight 		   |
|Who could travel faster than the speed of light.  |
|He went out one day 					   |
|In a relative way 					   |
|And returned home the previous night.		   |
\==================================================/