Yes  Mr.Antanio,
 
As u said i used the invoker servlet...
 
My application files (Applet and bean files ) invokes servlets as 
 
http://machineName:8080/webapps/myFolder/servlet/ServletName
 
I understand that I have to have my application specific web.xml file inside 
myFolder\WEB-INF.
I designed it to have the following stucture
<web-app>
 <Servlet>
  <servelt-Name>TestServlet</servlet-Name>
  <url-pattern>/TestServlet</url-pattern>
 </Servlet>
</web-app>
 
Its now working if the calling statement is 
http://machineName:8080/webapps/myFolder/TestServlet. 
But all my files in Tomcat 4.1.27,invoke servlets as 
http://machineName:8080/webapps/myFolder/servlet/TestServlet. 
So I tried changing the web.xml as 
<web-app>
 <Servlet>
  <servelt-Name>TestServlet</servlet-Name>
  <url-pattern>servlet/TestServlet</url-pattern>
 </Servlet>
</web-app>

Its not working when invoked as 
http://machineName:8080/webapps/myFolder/servlet/TestServlet. 
n�n <[EMAIL PROTECTED]> wrote:
Hi,


Does your app map all servlets? Or did you (lazily) use the invoker servlet?

The invoker servlet comes commented out in Tomcat 5. You have two options:

- Correct your app. (My advice, it makes your app more portable)
- Uncomment the invoker (Quick kludge, but it also works)

Yours,


Antonio Fiol



S.Latha Kamatchi wrote:

>Dear Tomcat users,
> 
>I run my web application with Tomcat 4.1.27.
> 
>My own folder name is "myFolder".
> 
>I put it under webapps folder.
> 
>I have placed jar , html and jsp pages inside 
>"myFolder".
> 
>I have the folder structure WEB-INF\classes inside 
>"myFolder" and 
>placed the servelt files there.
> 
>Its working perfectly.
>But my client now upgraded his system to have Tomcat 
>5.0.19. and 
>reported me that the application is not working in the 
>lattest version.
> 
>Should I configure web.xml/server.xml or change the 
>folder structure 
>specifically to Tomcat 5.0.19?
> 
>Please suggest me...
> 
>Thankx
>Latha
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Search - Find what you�re looking for faster.
> 
>



> ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s


---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster.

Reply via email to