Posted By:
Mike_Tomson
Posted On:
Friday, July 11, 2003 12:46 PM
I want to create a multilangual application using struts, but the main problem is that using resourcebundles is quite slow. There fore, I want to create 2 jsp pages: /web/us/htmlsearchProfile.jsp /web/de/htmlsearchProfile.jsp If the user is German, we present him /web/de/htmlsearchProfile.jsp, otherwise /web/us/htmlsearchProfile.jsp. Both input pages should map to the same action. As far as I know, struts allow only 1 input page per path. path="/searchProfile" scope="request" validate="false" type="com.test.SearchProfileAction" input="/web/us/search-p
More>>
I want to create a multilangual application using struts, but the main problem
is that using resourcebundles is quite slow.
There fore, I want to create 2 jsp pages:
/web/us/htmlsearchProfile.jsp
/web/de/htmlsearchProfile.jsp
If the user is German, we present him /web/de/htmlsearchProfile.jsp, otherwise
/web/us/htmlsearchProfile.jsp. Both input pages should map to the same action.
As far as I know, struts allow only 1 input page per path.
path="/searchProfile"
scope="request"
validate="false"
type="com.test.SearchProfileAction"
input="/web/us/search-profile.jsp">
How can this be done with struts?
Thank you
Mike
<<Less