tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbrett-mitch...@decaresystems.ie
Subject tomcat unable to serve struts action
Date Tue, 14 Jun 2005 12:41:56 GMT
Hi,

I have an application using Apache 2.0.54, Tomcat 5.0.27 & Struts 1.1 on a 
Windows 2003 SP1 box.

*.jsp and *.do get forwarded to Tomcat for processing.

When a particular folder is requested in a URL with no filename, I want a 
struts action to get called. For example http://test.site.com/foldername 
should result in http://test.site.com/index.do

I have configured the triggering of the /index.do in Apache and it does 
seem to pass the request onto Tomcat as I see the following in the tomcat 
access log.  However Tomcat is unable to process the action and its 
causing the errorpage to trigger. 

xxx.xxx.xxx.xxx - - [14/Jun/2005:13:37:16 +0000] "GET /index.do HTTP/1.1" 
200 12608
xxx.xxx.xxx.xxx - - [14/Jun/2005:13:37:17 +0000] "GET /errorpage.jsp 
HTTP/1.1" 200 11317

If I access http://test.site.com/index.do directly the page is correctly 
served. 

Should it be possible for Tomcat to process a struts action as a default 
page through Apache? Is there another way I can do this?

Thanks in advance,
Michelle.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message