Re: PreffixMapper for language

2012-07-09 Thread Takanori Hayashi
is struts-config.xml like The example of MessgeResources_en.properties is sendMessage.heading=Sending a message MessageResources_pt.properties would be sendMessage.heading=(portuguese of Sending a message) The example of a JSP file contents is Regards, Takanori Hayashi (2012/07/10 4:27

Re: Struts2

2012-07-03 Thread Takanori Hayashi
Hello Avinash, Confirm context root configuration and URL. Could you show us the URL and the context.xml? Takanori (2012/07/03 17:34), Avinash wrote: Dear sir, I have design the login page in struts2 framework and i am using tomcat7 in eclipse(indigo). The tomcat server perfectly

Re: Form handling by direct URL in Struts 1.3.8

2012-06-14 Thread Takanori Hayashi
PS In that case, forward to another JSP on that file userInfo information should not be used. (2012/06/15 9:10), Takanori Hayashi wrote: Hello Anjib, Assumed that you made the distinction on validate method, then if forwarded JSP page is using userInfo session like

Re: Form handling by direct URL in Struts 1.3.8

2012-06-14 Thread Takanori Hayashi
Hello Anjib, Assumed that you made the distinction on validate method, then if forwarded JSP page is using userInfo session like ${userInfo.userName} the same error is shown. [Caused by: javax.servlet.jsp.JspException: Cannot find bean: "userInfo" in any scope ] Because you are us

Re: Form handling by direct URL in Struts 1.3.8

2012-06-13 Thread Takanori Hayashi
(request, errors); String url = request.getServletPath() + "?" + request.getQueryString(); request.getSession().setAttribute("forwardPath", url); // ADD request.getSession().setAttribute("userInfo", SOMETHING TEMPORARY INFORMATION);