aspose file tools
The moose likes Tomcat and the fly likes Tomcat Prelude Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat Prelude Problem" Watch "Tomcat Prelude Problem" New topic
Author

Tomcat Prelude Problem

Nims H.
Greenhorn

Joined: Jun 07, 2005
Posts: 9
I am using tomcat 5.5.
Prior to this i was using resin as my servlet engine as well as webserver.
Now the problem starts when i shift my whole content from resin 3 to tomcat 5.5.

the description of my {B}web.xml{/B]is as below:


the problem is Tomcat is not including preludes in any jsp/servlet.

Please help me....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

"Nims H.", you have previously been warned on five occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional, and this is your final warning. Adjust your display name to comply with the required standards prior to your next post.

Failure to comply will result in the removal of your account.

bear
JavaRanch Sheriff
[ October 28, 2006: Message edited by: Bear Bibeault ]

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
nandhini nataraj
Greenhorn

Joined: Sep 28, 2006
Posts: 5
Hi,

I think this code will suffice your problem.

<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
<display-name>MIS</display-name>
<servlet>
<servlet-name>MIS</servlet-name>
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>MIS</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>
</web-app>


In the above code replace your servlet name instead of MIS. Hope it works.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Tomcat Prelude Problem
 
Similar Threads
Possible to selectively exlucde a file from having the prelude and coda?
jsp-config prelude and coda
unable to connect project to database
Including files using the deployement descriptor
new include tags