This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to send a value as a request variable to action class.But I am getting an exception. My code is <logic:iterate name="searchResultsForm" id="results" property="searchResults" type="com.ng.wft.wl.form.SearchUserForm" scope="session"> <tr> <td><html:link action="/searchUser.do?user=<bean:write name="results" property="userId"/>&methodToCall='showDetails'"><bean:write name="results" property="userId" /></html:link></td> <td><bean:write name="results" property="firstName" /></td> <td><bean:write name="results" property="lastName" /></td> </logic:iterate>
i think ur line has a formatting problem ie u cannot have double quotes inside a double quotes ie for all the request params u r mentioning in the html:link u should use '' instead of "" u check and try format correctly then u r problem would be solved.