Results 1 to 1 of 1
Thread: struts2 i18n & ModelDriven
- 12-23-2010, 02:42 AM #1
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
struts2 i18n & ModelDriven
dear all
i have a problem about struts2
i use following example :
Struts 2 – i18n or localization example
to implements i18n
that's works OK
but when i modify the example
i use <s:text name="global.username"/> to get i18n text in properties files in login.jsp...
then use ModelDrive to get username & passwrod
(implements ModelDriven interface & use getModel() method)
but i found a problem
the getModel() method execute many times when user submit form then validate fail, redirect to login.jsp
that's strange..
i don't know why, thanks a lot:)Last edited by tti; 12-23-2010 at 03:11 AM.
Similar Threads
-
Need Help on jQuery and Struts2
By jigaramin13 in forum Web FrameworksReplies: 3Last Post: 04-18-2010, 11:08 AM -
Internationalization (I18N)
By pmreddy01 in forum Web FrameworksReplies: 2Last Post: 03-11-2010, 05:23 PM -
integrate jsf in struts2
By vinoopraj in forum JavaServer Faces (JSF)Replies: 1Last Post: 04-28-2009, 07:16 AM -
struts2
By catchme33 in forum Web FrameworksReplies: 4Last Post: 03-25-2009, 10:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks