struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Thiel" <thiel.oli...@gmx.de>
Subject AW: *.do mapping using JRun
Date Fri, 02 Jan 2004 03:24:41 GMT
Hi Mike,


Have you updated the web.xml file?

<!-- Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

According to the 'Fast Track Struts' book by Vic Cekvenich
the “/*.do” pattern for the action servlet could cause difficulties with
firewalls! So he suggests to use the “/do/*” pattern

<!-- Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/do/*</url-pattern>
</servlet-mapping>


Hope that helps
Oliver


-----Ursprüngliche Nachricht-----
Von: Mike Steigerwald [mailto:michaels23@comcast.net] 
Gesendet: Freitag, 2. Januar 2004 04:12
An: 'Struts Users Mailing List'
Betreff: *.do mapping using JRun

Hi, all,

I'm a struts newbie trying to learn with struts-example. I've got it
working
great locally with Tomcat, but I'm struggling to deploy it on my ISP's
JRun
server.

I can't seem to figure out some configuration property to get JRun to
understand the *.do mapping. All of my .jsp links work great, but I get
404
errors for any link such as:

editRegistration.do?action=Create

I'm sure the solution is obvious, but I'm going blind scouring the
documentation. Thanks in advance for any help.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message