My idea is to create a generic template jsp file that can include other jsps
depending on a request parameter.
So I have a link like the following:
<a
href="/example/jsp/template.jsp?mainpage=/example/jsp/login.jsp">Login</a><br>
And then my template jsp has the following:
...
<% String mainpage = request.getParameter("mainpage"); %>
<jsp:include page="<%= mainpage %>" flush="true" />
...
However in practice, it seems to display login.jsp in another browser window
and not even invoke template.jsp from the link.
If there's a JSP guru out there, I really appreciate the wisdom :-)
Jason
--
Jason Novotny [EMAIL PROTECTED]
Home: (510) 704-9917 Work: (510) 486-8662
NERSC Distributed Computing http://www-didc.lbl.gov
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]