You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yariel Ramos Moreno <yr...@ceis.cujae.edu.cu> on 2006/03/10 16:57:55 UTC

Struts 1.1 ApplicationResources.properties

Hi:

I have a LookupDispatchAction in my application. In the JSP mapped to this action, I need 2 submit buttons with the same name (Search) but with differents funtionalities. In my ApplicationResource.properties file I have defined 2 diferent properties with the same value:

search.go=Search
search.advRes=Seach

But when I execute the web application, and I press any of those buttons, it always map to the same results page... always is desplayed the page asociated to search.advRes.

If I change the value of one the properties, it work fine.

How do I make this possible? Can I have 2 different properties with the same value or not?

Thands in advance.