Have you tried prepending the context path from the request (HttpServletRequest#getContextPath) to your paths?
Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -----Original Message----- From: Dan Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 4:13 PM To: Tomcat Users List Subject: Re: Tomcat 5.0.27 virtual paths all i'm trying to do is create a web application (/usr/tomcat/webapps/j606) that will allow me to use virtual paths. right now a href="/links/index.jsp" goes to http://localhost:8080, i want it to go to http://localhost:8080/j606/links/index.jsp. JSP's are my main concern, just trying to get to a good starting point to learn! On Fri, 20 Aug 2004 16:08:39 -0500, QM <[EMAIL PROTECTED]> wrote: > On Fri, Aug 20, 2004 at 04:01:48PM -0500, Dan Schwartz wrote: > : Now I've tried to add a context element to /tomcat/conf/server.xml > : with path="" and path="/j606", i added a whole new <Host> item, I > : tried to create /j606/WEB-INF/server.xml and j606.xml with context > : items, but nothing has worked for me. > > server.xml goes in the global Tomcat /conf dir. Maybe you're thinking > of context.xml, which goes in your webapp's /META-INF dir (if a WAR) > or in {tomcat}/conf/{engine}/{host}/{context name}.xml. > > : I feel like I'm just trying random configurations now in hope > : that something works. Thanks for the help. > > Perhaps ;) > Take a deep breath, walk away from it for a bit, then slowly follow > the docs again. It's easy to miss something when you're in a hurry or > frustrated, and J2EE webapp development gives you a lot to absorb if > you're new to most of the concepts. > > I missed your first post. What are you trying to do? > > -QM > > -- > > software -- http://www.brandxdev.net > tech news -- http://www.RoarNetworX.com > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
