Hi Everyone!

              Hello
  I am having a problem with testing the value of a parameter that a jsp page 
receives. 
Jsp page 1 displays a dropbox whose name is Decision and has an option "All Types". 
But in jsp page 2 when i do 
String Decision = (String) request.getParameter("Decision");
<%if(Decision.equals("All Types"))%>
      <% { %>
       <% for (int i=0; i < something ; i++) { %>
           <TD WIDTH=100 ALIGN="CENTER"><%=HdrFontST%><%=something 
else%>%<%=HdrFontEND%></TD>
      <% } %>
    <% } %>
  </TR>

'something else' is displayed even when Decision DOES NOT take the vale "all Types".
Can someone tell me why this is happening and how I can resolve this?
Any kind of help is greatly appreciated!

Thanks and Bye!


 



---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

Reply via email to