hi all
well i 'm sending u problem since ..so many days
and u all guys helpz me a lot
esp. shankar , gu, jamesand all of u
but ..still what i'm looking for i didn't get
the answer
i mailed u abt the server.xml file and the changes i
made ..i want to make a new virtual host and
Puneet,
Fairly certain that puneet has to be either a bona fide DNS name (or for
development an alias in your hosts file)
Jon
-Original Message-
From: puneet sachar [mailto:[EMAIL PROTECTED]]
Sent: 08 June 2002 20:22
To: Xinji Gu
Subject: problem..plz help me out
Hi friends, this is
I can't find the run-as element which you mention in your web.xml file
... If you want to restrict access to a resource just use the security
constraint element... Look in the servlet doc...
Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al
In your server.xml file, you will notice the lines of text that say
!-- Tomcat Manager Context --
Context path=/manager docBase=manager debug=0 privileged=true
/Context
immediately after this, enter your context
Context path=/sachar docBase=sachar debug=0 reloadable=true
well, your web.xml has some goofy stuff here:
servlet-nameMyExample/servlet-name
servlet-classHelloWorldExample/servlet-class
Why are you trying to get to it from
http://puneet:80/sachar/servlet/HelloworldServlet when if you mapped it like
above it would be
You might get a lot more help if you would send you web.xml file as
well. Here is mine
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
web-app
context-param
hi jake
well if port 80 works with the url
http://localhost:80/examples/servlet/snoop
than whatz worng with sachar context..
and i have not written .class in the end
still not working ...
and WEB-INF is in caps..cos i know tomcat 4 have
web-Inf in caps
still help me out guys
plz...
Puneet
--- Markus Kirsten [EMAIL PROTECTED] wrote:
Does the example servlets and JSP work?
Which platform do you use?
Markus
On lördag, juni 8, 2002, at 09:22 , puneet sachar
wrote:
Hi friends, this is my 4th mail regarding my
single
complain..
I have install the tomcat 4.0.3
I'm on win me platform ..
and i don't understand one thing if a servlet works
fine with this url
http://localhost:8080/examples/servlet/abc
then whatz worng with
http://puneet:8080/servlet/abc
or
http://puneet:8080/sachar/servlet/abc
i have done what exactly written in server.xml
if u can
I'm on win me platform ..
and i don't understand one thing if a servlet works
fine with this url
http://localhost:8080/examples/servlet/abc
then whatz worng with
http://puneet:8080/servlet/abc
or
http://puneet:8080/sachar/servlet/abc
i have done what exactly written in server.xml
if u can
I'm on win me platform ..
and i don't understand one thing if a servlet works
fine with this url
http://localhost:8080/examples/servlet/abc
then whatz worng with
http://puneet:8080/servlet/abc
or
http://puneet:8080/sachar/servlet/abc
i have done what exactly written in server.xml
if u can
I'm on win me platform ..
and i don't understand one thing if a servlet works
fine with this url
http://localhost:8080/examples/servlet/abc
then whatz worng with
http://puneet:8080/servlet/abc
or
http://puneet:8080/sachar/servlet/abc
i have done what exactly written in server.xml
if u can
yourcontext with
the name of your context).
Regards,
Arshad
- Original Message -
From: puneet sachar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 6:51 PM
Subject: Re: problem..plz help me out
I'm on win me platform ..
and i don't understand one thing
perhaps we could see a chunk of the log files.
Does Tomcat log the receiving of the request, is there an exception, etc.
-Original Message-
From: puneet sachar [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 1:22 PM
To: Xinji Gu
Subject: problem..plz help me out
Hi friends,
Why not just install tomcat 3.3.1 which is easier to get up and running.
It is also easier to become familiar with the what the server.xml does and
what each xml tag does by reading the tomcat users guide and server.xml
configuration guide. Make user you become very familiar with these two
Puneet,
You've made things harder for yourself by defining a separate
engine in your server.xml, it's much easier to reuse an existing engine.
Have you taken a look at the appBase and docBase attributes,
is your application really in $TOMCAT_HOME/webapps/sachar/?
Regards,
James Williamson
server (assuming only one is running) without issues?
Thanks.
Scott
-Original Message-
From: Nathan Smith [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 09, 2002 5:00 PM
To: Tomcat Users List
Subject: Re: problem..plz help me out
Why not just install tomcat 3.3.1 which is easier to get up
Hi Scott,
It cans without any problem, you may even run them at the same time on
different ports.
Regards,
Sébastien
-Message d'origine-
De : Scott Seidl [mailto:[EMAIL PROTECTED]]
Envoyé : lun. 10 juin 2002 2:11
À : 'Tomcat Users List'
Objet : RE: problem..plz help me out
I have
If you are in a Windows environment, make sure your /WEB-INF directory is in
uppercase. Tomcat 4 works different as Tomcat 3 regarding this.
gl,
Pablo.
- Original Message -
From: puneet sachar [EMAIL PROTECTED]
To: Xinji Gu [EMAIL PROTECTED]
Sent: Saturday, 8. June 2002 12:22
Does the example servlets and JSP work?
Which platform do you use?
Markus
On lördag, juni 8, 2002, at 09:22 , puneet sachar wrote:
Hi friends, this is my 4th mail regarding my single
complain..
I have install the tomcat 4.0.3 and its doing fine as
far .html files are concern but no
OK. lets work on this.
1. first i made some changes inthe server.xml
I removed the whole Engine /Engine tag that you
added and added the 'sachar' context just above the
manager context.
2. remove the servlet tags fromt he web.xml and invoke
the servlet with the class name. lets see if it will
I have been having the same problem. The only difference I have is that
I have not made any changes, or use, server.xml or web.xml.
Let me know how the suggestions work.
Scott
-Original Message-
From: puneet sachar [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 2:22 PM
To:
Have you gotten the problem resolved??
Adam
--- puneet sachar [EMAIL PROTECTED] wrote:
Hi friends, this is my 4th mail regarding my single
complain..
I have install the tomcat 4.0.3 and its doing fine as
far .html files are concern but no .class and .jsp
files are running on it
I have
2 things I see wrong with your scenario.
1. When you refer to a servlet, you don't append .class to the end of
the servlet name. For instance, you wrote:
http://localhost:80/examples/servlet/abc.class
which should be:
http://localhost:80/examples/servlet/abc
2. You are going through port
24 matches
Mail list logo