|
|
| Author |
Message |
motherface
RealPoor Guru

Joined: 12 Mar 2003 Posts: 3407
|
Posted: 03/31/06 - 19:48 Post subject: Tomcat config question
|
|
|
Long shot posting here, but...
I have a webapp that's accessed via http://localhost:8080/webappname/?stuff=whatever . I want to change it so this thing works by using http://localhost:8080/webappname?stuff=whatever . The difference between the two URLs is the trailing slash after "webappname". If you make the 2nd request, Tomcat will give you a 302 to the first one. I want it not to do this, I just want the app to be served without the /. I know this seems like a stupidly anal problem, but it's for backward compatibility reasons. Anybody got a clue? I'm a nub when it comes to Tomcat.
|
|
|
Back to top
|
|
|
|
 |
Zimzulu
Toomuchtimeonhands

Joined: 02 Dec 2005 Posts: 883
|
Posted: 03/31/06 - 21:10 Post subject:
|
|
|
|
|
|
Back to top
|
|
|
|
 |
Occulis
RealPoor Jedi

Joined: 11 Oct 2002 Posts: 13293
Location: Moral Relativity Central
|
Posted: 03/31/06 - 22:16 Post subject:
|
|
|
Isn't Tomcat just apache? Sorry, I don't know much about it at all. I disabled it on my VPS.
|
|
|
Back to top
|
|
|
|
 |
Occulis
RealPoor Jedi

Joined: 11 Oct 2002 Posts: 13293
Location: Moral Relativity Central
|
|
|
Back to top
|
|
|
|
 |
motherface
RealPoor Guru

Joined: 12 Mar 2003 Posts: 3407
|
Posted: 04/01/06 - 12:12 Post subject:
|
|
|
Damn... that sucks c***s in hell. Wish the guy had elaborated more.
Thank you sir.
|
|
|
Back to top
|
|
|
|
 |
motherface
RealPoor Guru

Joined: 12 Mar 2003 Posts: 3407
|
Posted: 04/03/06 - 09:47 Post subject:
|
|
|
That guy was a tard.
| Code: | <servlet-mapping>
<servlet-name>WhatEver</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
|
|
|
|
Back to top
|
|
|
|
 |
|
|