[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Java of RAQ550



>3) Can you post the web.xml? I guess there is a servlet that has a mapping
>to urls that end on .do for example. But the raq 550, or better apache,
>only passes requests to tomcat that end on .jsp or have /servlet/ in the
>url.
>
posted below:


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
<web-app>
<servlet>
<servlet-name>ActionServlet</servlet-name>
<servlet-class>strand.actions.ActionServlet</servlet-class>
<load-on-startup/>
</servlet>
<servlet-mapping>
<servlet-name>ActionServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
</web-app>

Hi Diana,

So it is possibility 3.
You see the <url-pattern>*.do</url-pattern>?
That's the problem. You can try if this solves your problems:
modify all .do requests/links in the jsp pages and adding /servlet/ in
front of it. Then apache recognizes it as something that should be passed
onto tomcat. If servlets create links as well than you have find it in the
source and recompile the servlets.

Regards, Bas