[thelist] JSP help please

Hassan Schroeder hassan at webtuitive.com
Tue Jan 13 13:18:21 CST 2004


Tom Dell'Aringa wrote:

> What I want to do is make the HTML in the nav.jsp include
> conditional, depending on what page the user is on. 

> What would be the best way to do this? I've failed with a couple
> attempts using the session, 

Use the value of request.getServletPath() to determine which part
of the include to show.

Are you using taglibs/JSTL or scriptlets?

-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the thelist mailing list