JSP request.getParameter error
I have a hidden parameter in a jsp page using struts.
<html:hidden property="currentDescription"></html:hidden>
It is grabbing the correct values from a properties file and being
rendered in the html.
I want to display a line of code based on this being populated, but it's
not working.
<% if(request.getParameter("currentDescription") != "") { %>
I've tried the .equals as well and that throws an exception.
No comments:
Post a Comment