Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Prelude Problem

 
Nims H.
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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 ]
 
nandhini nataraj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic