On Friday 15 Mar 2002 10H:39 am, you wrote: > Did you try: > > <%= request.getContextPath() %> > > According to the javadocs for HttpServletRequest, that should return what > you're looking for.
Thank you. Quite why I didnt spot this before, I dont know. I'm sure I've looked for this on a number of occasions! :) I assume there isn't anything to build a complete url for the context, ie if you're running tomcat on 8080, and you want to build a https:// url like https://thehost:8080/ request.getContextPath() ?:) John > HTH. > Anuj. > > > Ok ok, i know this isn't tag related. But it's so quick that > > I think someone > > might know ;-) > > > > If I have a webapp installed under /wiggle, can I get at the > > path "/wiggle" > > from my webapp? So I can put: > > > > <a href="<%= application.getSomethingThatReturnsPath() > > %>somepage.jsp"> -- John Baker, BSc CS. Java Developer, TEAM/Slb. http://www.teamenergy.com Views expressed in this mail are my own. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
