I am getting gra value from one.jsp as follows
<script language="javascript">
function gotoAddPanelAction(elem)
{
var st=elem.value;
if(st!="")
{
Popup=window.open('SelectInterviewPannel2.jsp?gra='+st,'Popup','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes',400,400);
}
else
{
validateForm(document.frm);
}
}
</script>
I am retriving the value in SelectInterviewPannel2.jsp as follows
<td width="60%" class="txt-lable">
<Select name="grade" ><option value="" selected>Select</option>
<%
String gra = request.getParameter("gra");
if(gra.value=="Level 1") {
%>
<option value="E1">E1</option><option value="E2">E2</option><option value="E3">E3</option><option value="E4">E4</option></select>
<% } else {%>
<option value="M1">M1</option><option value="M2">M2</option></select>
<% } %>
</td>
My problem is in SelectInterviewPannel2.jsp if statement is not executing . I am getting only drop down box for select with no values in it.