hello all,

having a little trouble today... i can't test for null correctly. some code:

String thisString = null;
String thisString_sent = request.getParameter("thisString");

if (thisString_sent!=null)


<form method="post" action="#">
<input type="button" onclick="form.submit();" value="<%=thisString_sent%>">
<input type="hidden" name="thisString" id="thisString" value="<%=thisString_sent%>">

so... request.getParameter("thisString") should receive null from post data and it does as you can see by the button value. so, why does it even enter the if statement? any ideas?