I'm running a stand-alone (no Apache front-end) TC 5.0.19 server on a WinXP
box. I have a webapp that has a /teams directory that contains gameScores.htm,
teamStandings.htm and scoreForm.htm. I also have a /playoffs directory (can
you tell this is a sports-related site?) directory that has the
On Wed, 2005-07-27 at 12:19, Rob Hunt wrote:
> I'm running a stand-alone (no Apache front-end) TC 5.0.19 server on a WinXP
> box. I have a webapp that has a /teams directory that contains
> gameScores.htm, teamStandings.htm and scoreForm.htm. I also have a /playoffs
> directory (can you tell t
jsp-file that is.
On Wed, 2005-07-27 at 12:36, Ben Souther wrote:
> On Wed, 2005-07-27 at 12:19, Rob Hunt wrote:
> > I'm running a stand-alone (no Apache front-end) TC 5.0.19 server on a WinXP
> > box. I have a webapp that has a /teams directory that contains
> > gameScores.htm, teamStandings.
Yes, I know you can make many mappings to a given servlet/jsp, but that's not
what I'm asking for.
When an HTTP client requests /playoffs/gameScores.htm, I'm hoping there's some
slight-of-hand trick/feature that will cause Tomcat to serve
/teams/gameScores.htm WITHOUT a redirect so that it appe
Sounds like something that can be done with frames or iframes
Regards,
Luis
Rob Hunt wrote:
Yes, I know you can make many mappings to a given servlet/jsp, but that's not
what I'm asking for.
When an HTTP client requests /playoffs/gameScores.htm, I'm hoping there's some
slight-of-hand trick
Look up the RequestDispatcher:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html
Server side forwards don't use a redirect
On Wed, 2005-07-27 at 16:18, Luis Torres wrote:
> Sounds like something that can be done with frames or iframes
>
> Regards,
>
> Luis
>
> Rob Hu
Yes, I know that an internal forward would work. I just didn't want to
code/test/debug it. Yes, I'm being very lazy here; but I hate to reinvent the
feature if it already exists and it just seems to me that this is something
that probably should already exist (since it can be done in Apache).
There is nothing in tomcat which out of the box can do this. But there are
many 3rd party filters (or 3 liners which are easy to write) which can do this.
-Tim
Rob Hunt wrote:
Yes, I know that an internal forward would work. I just didn't want to
code/test/debug it. Yes, I'm being very laz