On Mon, 12 Nov 2001, Pavan Sethurathnam wrote:
Date: Mon, 12 Nov 2001 20:41:30 -0800 (PST)
From: Pavan Sethurathnam [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Invoking Servlet - trying to remove servlet prefix
When i invoke servlet
There are a couple of possible problem areas:
servlet-class LoginServlet /servlet-class
most classes are of the form com.mycom.classname.
The above says yours is just classname.
i just want http://localhost:8080/login/login
but you have defined the mapping /login, not /login/login.
If you
When i invoke servlet...it is working fine when
http://localhost:8080/login/servlet/login
but I dont want servlet prefix.
i just want http://localhost:8080/login/login
my web.xml looks
servlet
servlet-name
login
/servlet-name
servlet-class
How do you get rid
of the "servlet" prefix that Tomcat appends to every servlet URL? I have a web
site that is currently using jserv, but we are upgrading the server and I want
to move the site over to tomcat. However, tomcat's default behaviour is to stick
the work "serv
:31
PMTo: '[EMAIL PROTECTED]'Subject: The
"servlet" prefix
How do you get rid
of the "servlet" prefix that Tomcat appends to every servlet URL? I have a web
site that is currently using jserv, but we are upgrading the server and I want
to move the site ove
: [EMAIL PROTECTED]Subject: RE: The
"servlet" prefix
I
map my servlets to a .JSP extension, then I can use relative URLs both for my
serlvets and in my servlets when I do redirects. This may not be the
best way, but it works great.
Wes
-Original Message
tested it, it works fine.
Wes
-Original Message-From: Joe Krause
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 25, 2001 4:56
PMTo: '[EMAIL PROTECTED]'Subject: RE: The
"servlet" prefix
Thanks for getting back to me so quick. However, if i
map my servlets to a .JSP
]]Sent: Wednesday, April 25, 2001 1:59
PMTo: [EMAIL PROTECTED]Subject: RE: The
"servlet" prefix
You
don't have to use the jsp extension. Map them to your servlet name, but
without an extension. Your going to have to set your WEB.XML file up
anyways. Something like this:
2001 5:06
PMTo: '[EMAIL PROTECTED]'Subject: RE: The
"servlet" prefix
what
was the context and the final URL for this deployment? just so i can get an
idea? I've never seen the url-pattern tag before. thanks for the help
- think you're pointing me in the right direction.
what was the context and the final URL for this deployment? just so i can
get an idea? I've never seen
the url-pattern tag before. thanks for the help - think you're pointing
me in the right direction.
Just look at the examples webapp that comes with tomcat dist for examples of
servlet
: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
From: Joe Krause [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: The servlet prefix
Date: Wed, 25 Apr 2001 13:30:54 -0700
MIME
True and I am trying on virtual host as well ...
--Original Message--
From: Arif Tayebali [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Sent: March 20, 2001 8:55:38 PM GMT
Subject: RE: servlet prefix problem
I'm facing the same problem...haven't figured it ou
PROTECTED]'
Subject: servlet prefix problem
Hello all, I don't seem to be able to change the prefix for accessing
servlets. The default servlet prefix is "/servlet/" and according to the
instructions/coments in server.xml, this prefix can be adjusted. So I tried
changing the follo
]]
Sent: Tuesday, March 20, 2001 11:20 AM
To: '[EMAIL PROTECTED]'
Subject: servlet prefix problem
Hello all, I don't seem to be able to change the prefix for accessing
servlets. The default servlet prefix is "/servlet/" and according to the
instructions/coments in server.xml, this
I need some help, please.
How do you set up a servlet to be called in the application space
but without the /servet/ prefix in tomcat-apache?
I removed the InvokerInterceptor entry completely and its running
very well in Tomcat standalone, but when I access the servlets in apache,
it doesn't
: Help removing servlet prefix in tomcat-apache...
I need some help, please.
How do you set up a servlet to be called in the application space
but without the /servet/ prefix in tomcat-apache?
I removed the InvokerInterceptor entry completely and its running
very well in Tomcat standalone
16 matches
Mail list logo