Good Day:
I want to have a site with public and private information. Anyone can see the public information, but a username and password is required to view the private information.
I want to have a login form on every page so that the user can login from anywhere in the site and then continue from that page, so I have an include, to include the login form, with parameters so the ProcessLogin.jsp will know where to return to.
the Login.jsp has two hidden fields to pass the source and queryString to the ProcessLogin.jsp which sould forward to that address.
The problem is the
tag does not seem to like the equals "=". When I view the HTML source of the page everything looks good exept for the querystring hidden field which looks like:
. I've tried to append the queryString the the source parameter, but then the whole source parameter comes up
.
Pages without queryStrings work fine. Any ideas?? Does this look like the right way to do this? Is there a better way? ________________________
JoelMac
ICQ#:48144432
I want to have a site with public and private information. Anyone can see the public information, but a username and password is required to view the private information.
I want to have a login form on every page so that the user can login from anywhere in the site and then continue from that page, so I have an include, to include the login form, with parameters so the ProcessLogin.jsp will know where to return to.
Code:
<jsp:include page="Login.jsp">
<jsp:param name="source" value="<%= request.getRequestURI() %>"/>
<jsp:param name="queryString" value="<%= request.getQueryString() %>"/>
</jsp:include>
the Login.jsp has two hidden fields to pass the source and queryString to the ProcessLogin.jsp which sould forward to that address.
The problem is the
Code:
<jsp:param />
Code:
<input type="Hidden" name="querySting" value="null">
Code:
null
Pages without queryStrings work fine. Any ideas?? Does this look like the right way to do this? Is there a better way? ________________________
JoelMac
ICQ#:48144432