tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashok Sahu" <asahu....@gmail.com>
Subject How to access application in the root?
Date Thu, 03 May 2007 06:38:52 GMT
Hi All,
    I am migrating my J2EE application from JRun to Tomcat 5.0.28. I
deployed successfully the 'myAppname.war' file in Tomcat. Now here is my
problem:

In the JRun, we were calling the jsp or servlet without giving the
application name in the URL. Same thing I need to do in the tomcat otherwise
it will requires lots of code changes. In the code it is written like for
example:

<td align=left background="/images/modulebgimage_smaller.gif">
                <img src="/images/moduleimage_smaller.gif">
            </td>
            <td vAlign=top align=right halign="right"
background="/images/modulebgimage_smaller.gif">


 Hence I want to access the application by using

http://localhost:8080/servletname instead of
http://localhost:8080/myAppname/servletname
I am not much familiar with tomcat. Please let me know how to achieve it.

Thanks in advance
Ashok

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message