A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
File root config problem
Joined: Sep 10, 2001
Oct 24, 2003 11:08:00
Let's say I got a server
Annd I have a page
that posts to a
In my servlet I have
where viewTemplate = "/thankyou.jsp"
Now thankyou.jsp is located here
Now if I user that forward it tries to look for:
I do nto want to hardcode the /forms/new inside of my viewTemplate, becasue the names of the paths might change, but the structure will still be the same.
How do I code it where it knows to forward to
and not to
Joined: Feb 20, 2001
Oct 24, 2003 23:01:00
check your other post
so, the answer is to use:
and remove the leading '/'
I agree. Here's the link:
subject: File root config problem
Apache Alias/Redirect Help
What is the term? A redirect at the server level...
Servlet Context Virtual Sandbox
tomcat-apache context problem?
cookies and domains problem ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015