TagSupport « Tag « JSP-Servlet Q&A





1. JSP TagSupport: How to use getServletPath?    stackoverflow.com

I want to recieve the servlet-path from within a tag-class in java. My suppose is to create a tag that returns something like link to a basedir:

  • When I'm surfing on localhost /view/bla.jsp ...

2. Tag and TagSupport doStart() ?    coderanch.com