Unfortunately, that's not the problem. The problem occurs when I compare the value of the request.getParameter to either a string variable or literal. If I output the value of myString to my web page, it looks as it should. Is it possible the server is adding some binary information to the...
Ok, this is really bugging me because it should work. My sample test.jsp is as follows:
<html>
<head>
<title>Test getParameter Page</title>
</head>
<body>
<% String myString = request.getParameter("fName"); %>
<% if (myString == "Sam") { %>
Hello There, <%= myString %>.
<%...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.