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
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
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
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
(request, errors);
String url = request.getServletPath() + "?" +
request.getQueryString();
request.getSession().setAttribute("forwardPath", url);
// ADD
request.getSession().setAttribute("userInfo", SOMETHING
TEMPORARY INFORMATION);
5 matches
Mail list logo