-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:13 PM
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of
localhost?
::
:: I am not using Apache although I wish we were, my boss believes
in an all
can correct and delete the
original
email. Thank you.
:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:13 PM
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of
localhost
the
original
email. Thank you.
:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:13 PM
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of
localhost?
::
:: I am
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of
localhost?
::
:: I am not using Apache although I wish we were, my boss believes
in an all
:: windows enviroment, so this is on server 2003 with IIS, I havent
set up
tomcat
:: with IIS yet, because
Hi
Thanks Stephen, it did. except now I have no standard out. ugh..
Sorry, what do you mean?
Regards,
Steffen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all, this is exacly what im trying to do with my servlet for
webMathematica. It is located in $CATALINA_HOME/webapps/webMathematica.
However, I can't find the option in any config file to make that servlet
become the default for tomcat. Right now tomcat defaults to
.
:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 10:56 PM
:: To: Tomcat Users List
:: Subject: Re: How do I run servlets on the root directory of localhost?
::
:: Hi all, this is exacly what im trying to do with my servlet
,
please notify me immediately so that I can correct and delete the original
email. Thank you.
:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 10:56 PM
:: To: Tomcat Users List
:: Subject: Re: How do I run servlets on the root
I am not using Apache although I wish we were, my boss believes in an all
windows enviroment, so this is on server 2003 with IIS, I havent set up tomcat
with IIS yet, because of this problem. I will look at that file server.xml but
I've been in there before (to change from port 8080 to 80) and
and delete the original
email. Thank you.
:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:13 PM
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of localhost?
::
:: I am not using Apache
Users List'
:: Subject: RE: How do I run servlets on the root directory of localhost?
::
:: I am not using Apache although I wish we were, my boss believes in an all
:: windows enviroment, so this is on server 2003 with IIS, I havent set up
tomcat
:: with IIS yet, because of this problem. I
Users List
:: Subject: RE: How do I run servlets on the root directory of localhost?
::
:: Right now IIS isnt even running, I make changes to the tomcat files,
restart
:: tomcat and go to http://localhost ... It gave me the congrats you set up
:: tomcat page by default, and i can get
Seth Carter wrote:
i can get to webMathematica right now by going to
http://localhost/webMathematica , what I want is
when I go to http://localhost
it would bring up webMathematica.
Copying everything to the ROOT subdirectory, which you've already noted
is the default root webapp, should
correct and delete the original
email. Thank you.
:: -Original Message-
:: From: Wendy Smoak [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:37 PM
:: To: Tomcat Users List
:: Subject: RE: How do I run servlets on the root directory of localhost?
::
:: Seth Carter wrote:
:: i can
From: Schalk [mailto:[EMAIL PROTECTED]
This brings up an interesting point. Is it possible to edit
which is the default app?
Yes, you can change it in server.xml:
Context path= docBase=ROOT debug=0/
Change 'ROOT' to something else.
But that was in the message you replied to, so maybe I
and delete the original
email. Thank you.
:: -Original Message-
:: From: Wendy Smoak [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 15, 2004 12:34 AM
:: To: Tomcat Users List
:: Subject: RE: How do I run servlets on the root directory of localhost?
::
:: From: Schalk [mailto:[EMAIL
I don't want to go to a jsp model. This works fine on internet. It also
works fine if i add a path like localhost:8080/home
So if '/' is a bad servlet mapping what should it be for the root?
Thanks much for your help.
On Sat, 12 Jun 2004 21:34:08 -0500, QM [EMAIL PROTECTED] wrote:
On Sat, Jun
Hi
So if '/' is a bad servlet mapping what should it be for the root?
Thats a problem i was suffering a long time from when porting to tomcat
comming from resin.
Resin allowed regular expression matching on paths, tomcat does not.
Anyway, since Tomcat 5.0 (at least) it is possible to set a
Thanks Stephen, it did. except now I have no standard out. ugh..
Thanks everybody for your help.
Jarl
On Sun, 13 Jun 2004 21:09:40 +0200, SH Solutions [EMAIL PROTECTED]
wrote:
Hi
So if '/' is a bad servlet mapping what should it be for the root?
Thats a problem i was suffering a long time
http://localhost:8080/
I actually got this to work, but it images, etc can't be found.
Thanks for your help.
Jarl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and delete the original
email. Thank you.
:: -Original Message-
:: From: Jarl Skogsholm [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, June 13, 2004 12:35 AM
:: To: Tomcat Users List
:: Subject: How do I run servlets on the root directory of localhost?
::
:: http://localhost:8080/
::
:: I actually
email. Thank you.
:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, June 13, 2004 12:51 AM
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of localhost?
:: Importance: High
::
:: Is your webapp located in
c:/your-Tomcat
What happens if you just enter: http://localhost:8080/
I located it in c:/your-Tomcat-install-directory/webapps/ROOT/
What happens if you just enter: http://localhost:8080/
It runs my servlet except without images, .css, .js files.
--
They that can give up essential liberty to obtain a little
Jarl Skogsholm wrote:
What happens if you just enter: http://localhost:8080/
It runs my servlet except without images, .css, .js files.
Sounds like the paths in your servlet are wrong; are they relative
or absolute? What do the 404 entries in your logs say?
--
Hassan Schroeder
The paths in my servlet are relative. I didn't see any 404 entries in my
logs. Is that a different debug level?
If I try to access an image directly it still brings up my servlet.
On Sat, 12 Jun 2004 17:02:39 -0700, Hassan Schroeder
[EMAIL PROTECTED] wrote:
Jarl Skogsholm wrote:
What happens
Jarl Skogsholm wrote:
The paths in my servlet are relative. I didn't see any 404 entries in
my logs. Is that a different debug level?
The standard Web logs from AccessLogValve -- if you haven't yet
configured one, it'd probably be a good idea :-)
But you can tell the effective URL of the image
Here is my log entry:
127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET / HTTP/1.1 200 3567
127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET /css/style.css HTTP/1.1
200 3567
127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET /js/functions.js HTTP/1.1
200 3567
127.0.0.1 - - [12/Jun/2004:20:39:50 -0500]
On Sat, Jun 12, 2004 at 08:11:57PM -0400, Jarl Skogsholm wrote:
: The paths in my servlet are relative.
Be careful with that -- the definition of relative within a servlet is
sketchy, at best.
I don't remember the specifics right now, but there's a way to get a
context-relative path within the
Update to my original post: your problem likely lies in your servlet
mapping:
: servlet-mapping
: servlet-nameHome/servlet-name
: url-pattern//url-pattern
: /servlet-mapping
Mapping the servlet to / will pass *every* request through that
servlet.
29 matches
Mail list logo