So I'm trying to do some work on another site that uses JSP... and while I could do all of this 100x faster in PHP, they insist it stays JSP because "that's what our guys know" so whatever. Could somebody tell me why this causes my script to error?
It's supposed to bring in the GET variable t= from the URL, compare it to all cases in the switch to make sure its a valid type, then pass it into the hidden form field to be POST'd to the next page of the form. If it's not valid, then show the drop-down menu so they can select what they want.
Thanks for any help you guys can give me.
http://localhost/myform.jsp?t=voice_new
It's supposed to bring in the GET variable t= from the URL, compare it to all cases in the switch to make sure its a valid type, then pass it into the hidden form field to be POST'd to the next page of the form. If it's not valid, then show the drop-down menu so they can select what they want.
Thanks for any help you guys can give me.
http://localhost/myform.jsp?t=voice_new