simple jsp question

my jsp page contains:<% String v= request.getParameter("valid");if(v != NULL)v="The username / password is invalid. Please try again"; elsev="";%>it is thowing a 500 error, how do I solve?ThanksBal
[280 byte] By [ksella] at [2007-9-19]
# 1
Without the error type it is difficult to say but use:if(v != null){v="kudghfie";}else{v="";}
dasnani at 2007-7-5 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 2
What error message are you recieving?
innphernoe at 2007-7-5 > top of java,Enterprise & Remote Computing,Web Tier APIs...