struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Smith <ccsmith20002...@yahoo.com>
Subject two struts-config.xml
Date Fri, 11 Mar 2005 21:35:26 GMT

In my application I have two configuration file (1) struts-config.xml and (2) struts-app1.xml.
I have this entry in the web.xml

<servlet-mapping>

<servlet-name>action</servlet-name>

<url-pattern>/*.app1</url-pattern>

</servlet-mapping>

 

When using this approach, I have a strange issue: For almost all the form submit, in the url
the action will automatically apend .app1, example when submitted, I see this in the url

 

https://www.mypath/submitAction.app1, I want to see https://www.mypath/submitAction.do instead.

Thanks.


		
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message