The time now is 09/09/08 - 00:01
Log in: Username: Password:
Search forums for:
  

Tomcat config question

Post new topic   Reply to topic
Author Message
motherface
RealPoor Guru
RealPoor Guru


Joined: 12 Mar 2003
Posts: 3407



PostPosted: 03/31/06 - 19:48    Post subject: Tomcat config question Reply with quote

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
Toomuchtimeonhands


Joined: 02 Dec 2005
Posts: 883



PostPosted: 03/31/06 - 21:10    Post subject: Reply with quote

Back to top
The biggest online universe needs another star!
Maybe you are the one!?
» Enter the large universe of Anarchy Online and find out! «
Occulis
RealPoor Jedi
RealPoor Jedi


Joined: 11 Oct 2002
Posts: 13293
Location: Moral Relativity Central



PostPosted: 03/31/06 - 22:16    Post subject: Reply with quote

Isn't Tomcat just apache? Sorry, I don't know much about it at all. I disabled it on my VPS. Razz
Back to top
Occulis
RealPoor Jedi
RealPoor Jedi


Joined: 11 Oct 2002
Posts: 13293
Location: Moral Relativity Central



PostPosted: 03/31/06 - 23:06    Post subject: Reply with quote

Update:

Maybe you're screwed.

http://marc.theaimsgroup.com/?l=tomcat-user&m=110303539917011&w=2
Back to top
motherface
RealPoor Guru
RealPoor Guru


Joined: 12 Mar 2003
Posts: 3407



PostPosted: 04/01/06 - 12:12    Post subject: Reply with quote

Occulis wrote:
Update:

Maybe you're screwed.

http://marc.theaimsgroup.com/?l=tomcat-user&m=110303539917011&w=2


Damn... that sucks c***s in hell. Wish the guy had elaborated more.

Thank you sir.
Back to top
motherface
RealPoor Guru
RealPoor Guru


Joined: 12 Mar 2003
Posts: 3407



PostPosted: 04/03/06 - 09:47    Post subject: Reply with quote

That guy was a tard.

Code:
    <servlet-mapping>
        <servlet-name>WhatEver</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

Related topics:
LOTR Online weather question
LOTR and Dungeons question
Question about buying no-drop planar items
Bush answers questions..kinda
World War II plane question
Mac OS X question
Questions about Eve Online production
Aion PvP and PvE and Raid Question?
Everquest 2 Druids question
paypal question
question about streaming media
Random penis piercing question!
Age of Conan Sieges question
sp2 question now
"Techie" type question relating to cable internet
One D&D Online gameplay question
strategy question for Warhammer Online
question..
Random Question (RS)
I have an honest question for Kbarr