回复:Re: how to Validate tabular input.

2009-02-27 Thread
use vistor validator. you can see the sample app shipped with the struts full source download archives. 在2009-02-27,Wes Wannemacher w...@wantii.com 写道: On Thursday 26 February 2009 20:04:55 Greg Lindholm wrote: I would really like to know the answer as well, how do you validate a list of

回复:best way for handling i18n

2008-01-21 Thread
use the custome 标签 在2008-01-22,akshi gupta [EMAIL PROTECTED] 写道: Can anybody tell me the best way of handling i18n in struts2. The problem is everyone is using their own properties files for internationalization due to which messages are conflicting with each others properties file even i

回复:Refresh parent browser when fo rm in pop-up browser is submitted

2007-12-16 Thread
use javascript to call a parent page's action when the pop-window closed,in the action you can do what you do^_^ 在2007-12-17,quinquin2209 [EMAIL PROTECTED] 写道: Hi All, In my application, user can open a member profile in the main page. The member profile is opened in a pop-up window and user

Is struts 1.X has JAAS integration API?

2007-12-16 Thread
Is struts 1.X has JAAS integration API? I want to use the follow code: HttpServletRequest request = ServletActionContext.getRequest(); String authType = request.getAuthType(); // http or https String user = request.getRemoteUser(); // the user principal (in string) Principalprincipal =

回复:Re: Is struts 1.X has JAAS integration API?

2007-12-16 Thread
Sorry for my pool English, I'm improving it^_^ Here is my mean: I want to get auth user from request, but I don't know how to set the user to the request,like this: String user = request.getRemoteUser(); // the user principal (in string) Principalprincipal = request.getUserPrincipal(); // get