On 9/8/06, Vishal <[EMAIL PROTECTED]> wrote:
I am stumped with something which i thought would not take that long and I
would appreciate any help i can get from you all. I am pasting below the code.
<html:form action="/Change">
What does the corresponding action mapping in struts-config.xml look like?
<html:select property="passwordQuestion">
By default, the <html:select> tag will look to the form bean from the
enclosing <html:form>.
[ServletException in:/WEB-INF/jsps/account/ChangePassword.jsp] No getter
method available for property passwordQuestion for bean under name
org.apache.struts.taglib.html.BEAN'
And this error most likely means that the form bean (from <action
name='...' > ) does not have a 'passwordQuestion' property.
But when i comment out the whole <table> part and run it by putting the
following snippet,
<%
Map passwordQsn = passwordHintQuestionsList.getPasswordQuestion();
request.setAttribute("passwordQuestion",passwordQsn);
out.println(request.getAttribute("passwordQuestion"));
%>
What is 'passwordHintQuestionsList' and how does it relate to the form
bean (if any) for this action?
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]