Hello All,
I'm getting below mentioned error in my J2EE application using Struts. Any ideas what might be causing this. I even tried with adding scope='request' in bean:write tag. But it did not help. Really appreciate any suggestions. Thanks
Error : javax.servlet.jsp.JspException: No bean found under attribute key Profile
LoginAction.java
user = new ProfileBean();
:
:
session.setAttribute("Profile",user);
reportmain.jsp
<input type="hidden" id="reportDescription" name="reportDescription" value="<bean:write name='Profile' property='selectedReportDescription'/>">
I'm getting below mentioned error in my J2EE application using Struts. Any ideas what might be causing this. I even tried with adding scope='request' in bean:write tag. But it did not help. Really appreciate any suggestions. Thanks
Error : javax.servlet.jsp.JspException: No bean found under attribute key Profile
LoginAction.java
user = new ProfileBean();
:
:
session.setAttribute("Profile",user);
reportmain.jsp
<input type="hidden" id="reportDescription" name="reportDescription" value="<bean:write name='Profile' property='selectedReportDescription'/>">