Pb: Why my JSP and servlets only run at the root ?!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jules_Koh
Posted On:   Wednesday, May 5, 2004 06:42 AM

Although my JSP and servlets run well at the root ( webbappsROOT), I cannot run them in a ‘test’ sub-directory, despite of the fact that: 1/ I qualified the balise in the server.xml as followed: 2/ I qualified the servlet Invoker as followed: invoker /servlet/* 3/ I created the directories required : /test (for JSP files) /test/WEB-INF/classes (for .class files) => Is someone can see the pb/solution ? Thanks in advance because I am desperated    More>>

Although my JSP and servlets run well at the root ( webbappsROOT), I cannot run them in a ‘test’ sub-directory, despite of the fact that:



1/ I qualified the balise in the server.xml as followed:





2/ I qualified the servlet Invoker as followed:



invoker

/servlet/*





3/ I created the directories required :

/test (for JSP files)

/test/WEB-INF/classes (for .class files)



=> Is someone can see the pb/solution ?


Thanks in advance because I am desperated

   <<Less

Re: Pb: Why my JSP and servlets only run at the root ?!

Posted By:   Anonymous  
Posted On:   Thursday, May 13, 2004 06:50 AM

Create the required directories at:

$tomcat_dirwebapps est


Access it using:

http://yourservernme:8080/test/yourjsp.jsp
About | Sitemap | Contact