how to dynamically internationalize login page

2006-09-12 Thread leo mj
hi all, I think some fellow member has asked the same question.But I didn't find any reply for the old thread. So i have a scenario I have a login page with 1.Username 2.Password 3.Language Based on the language selected I have to reload the page. I have used internationalization tec

Re: struts+Action+netbeans 5.0 problem

2006-09-11 Thread leo mj
give ur jsp code... krishan rathi <[EMAIL PROTECTED]> wrote: Hi all I am trying to use struts with netbeans 5.0 but having strange problems. I have wrtten One ActionForm i.e EmployeeForm ,one action i.e AddEmpAction. then in the struts-config.xml provided following entries:

Re: DynaValidatorForm

2006-09-11 Thread leo mj
mallik, use java.lang.Integer for integer and java.util.GregorianCalendar for Time. Regards, Leo Mallik <[EMAIL PROTECTED]> wrote: Hi friends i am using DynaActionForm and client side validations using Validator fromework i can specify java.lang.String for type of form field in struts-config

Re: How to access in ActionClass

2006-09-08 Thread leo mj
If so, this: ResourceBundle resource = ResourceBundle.getBundle ("nameOfYourResourceBundle"); You can then access the bundle using its keys: Properties properties = new Properties(); properties.put("yourVariableName",resource.getString("bundleKey")); Bob On 9/8/06,

How to access in ActionClass

2006-09-08 Thread leo mj
hi all, Anyone knows how to access parameter in struts-config.xml through Action class??? other than using XML reader class.is there any feature in struts framework to do so That is i need to modify the parameter value based on some logic in Action class. Regards, Leo

RE: Forward to the same page

2006-09-08 Thread leo mj
hi antonio, It can be done by using ActionForwards.Also go tru internatinalization in struts for displaying langauage : http://www.allapplabs.com/struts/struts_internationalization.htm in the action class use ActionForward forward=new ActionForward(); if(chk whther the language combo box

Re: deletion of browser cache

2006-09-08 Thread leo mj
Restart the server and chk 1 more time whether the view changes [EMAIL PROTECTED] wrote: Gomathi, Is this a statement or are you asking any help from us? Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-

Re: Exception

2006-09-08 Thread leo mj
hi rajesh, chk in web.xml whther the following is there action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml Also chk the build path whther struts.jar exist Regards, Leo rajeshKota <[EMAIL PROTECTED]>

RE: Field check using DynaValidatorForm

2006-09-07 Thread leo mj
"Samere, Adam J" <[EMAIL PROTECTED]> wrote: You have validate="false" in your action mapping. Change that to true. Adam -Original Message- From: leo mj [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 6:59 AM To: user@struts.apache.org Subject:

Field check using DynaValidatorForm

2006-09-07 Thread leo mj
hi all, I want to do Dynamic field check using validator framework. I have done the following steps: 1.Add validator plugin in struts-config.xml 2.I have used index.jsp as my LOGIN page. With the following code: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ tagli

Field check using DynaValidatorForm

2006-09-07 Thread leo mj
hi all, I want to do Dynamic field check using validator framework. I have done the following steps: 1.Add validator plugin in struts-config.xml 2.I have used index.jsp as my LOGIN page. With the following code: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ tagli