AW: newbie: servlet examples work, jsp not

2003-10-20 Thread Sven Busse
hello, ahmm, still having this problem and don't know what to do, sorry ... -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 19. Oktober 2003 18:37 An: Tomcat Users List Betreff: Re: newbie: servlet examples work, jsp not hello

AW: newbie: servlet examples work, jsp not

2003-10-20 Thread Sven Busse
hello, ahmm, still having this problem and don't know what to do, sorry ... -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 19. Oktober 2003 18:37 An: Tomcat Users List Betreff: Re: newbie: servlet examples work, jsp not hello

RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Mike Curwen
' Subject: AW: newbie: servlet examples work, jsp not hello, ahmm, still having this problem and don't know what to do, sorry ... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 19. Oktober 2003 18:37 An: Tomcat Users List

AW: RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Sven Busse
, October 20, 2003 8:50 AM To: 'Tomcat Users List' Subject: AW: newbie: servlet examples work, jsp not hello, ahmm, still having this problem and don't know what to do, sorry ... -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet

RE: RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Mike Curwen
the best Windows OS yet (yes, I'm sure there are Linux geeks just waiting in the wings with their comments). -Original Message- From: Sven Busse [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 11:21 AM To: 'Tomcat Users List' Subject: AW: RE: newbie: servlet examples work

AW: RE: RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Sven Busse
hello, well, that would be bad. I don't have the time to re-install everything now, ... hmm ... -Ursprngliche Nachricht- Von: Mike Curwen [mailto:[EMAIL PROTECTED] Gesendet: Montag, 20. Oktober 2003 18:25 An: 'Tomcat Users List'; [EMAIL PROTECTED] Betreff: RE: RE: newbie: servlet

newbie: servlet examples work, jsp not

2003-10-19 Thread busse
hello, i am working in windows xp. i have the jsdk 1.4.1 installed. i also installed apache2 and tomcat 4.1 as described in the HowTo: http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html after installation, i wanted to try the examples at http://localhost/examples. the servlet

RE: newbie: servlet examples work, jsp not

2003-10-19 Thread Johan Kok
JAVA_HOME or Java_Home --- I'm not usre if it makes a difference on the Windows environment, but under Unix it definitely does. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 October 2003 12:36 To: [EMAIL PROTECTED] Subject: newbie: servlet examples

Re: newbie: servlet examples work, jsp not

2003-10-19 Thread Ben Souther
You don't need to set your classpath. Tomcat does that for you. You should double check that your JAVA_HOME environment variable is set properly. From the command line type: %JAVA_HOME%\bin\javac You should see a menu of switches for the compiler. If not, check to see where your JAVA_HOME

Re: newbie: servlet examples work, jsp not

2003-10-19 Thread busse
hello, i tried %JAVA_HOME%\bin\javac and it works properly. Any other ideas? You don't need to set your classpath. Tomcat does that for you. You should double check that your JAVA_HOME environment variable is set properly. From the command line type: %JAVA_HOME%\bin\javac You should see

Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-19 Thread Jim Cobban
- Original Message - From: Jim Cobban [EMAIL PROTECTED] Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run - Original Message - From: Wagoner, Mark [EMAIL PROTECTED] Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run What URL are you using

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Wagoner, Mark
Did you add a Census context to your server.xml file? -Original Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 9:51 AM To: Tomcat Users List Subject: Urgent Re: Newbie: Servlet under Windows does not run I am really desperate. I need to be able

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Chris Pheby
Do you have a web.xml??? Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jim Cobban Sent: 18 March 2002 14:51 To: Tomcat Users List Subject: Urgent Re: Newbie: Servlet under Windows does not run I am really desperate. I need to be able

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread dave . prout
Have you got an entry for you servlet in the web.xml file in the WEB-INF folder ? Dave -Original Message- From: Chris Pheby [mailto:[EMAIL PROTECTED]] Sent: 18 March 2002 15:07 To: Tomcat Users List Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run Do you have

Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Jim Cobban
- Original Message - From: Chris Pheby [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 18, 2002 10:07 AM Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run Do you have a web.xml??? Yes I previously posted its contents to this mailing list

Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Jim Cobban
- Original Message - From: Wagoner, Mark [EMAIL PROTECTED] Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run Did you add a Census context to your server.xml file? No. I looked at the way the examples used that file, and it seemed that it was used only to override

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Wagoner, Mark
What URL are you using to get to the servlet? -Original Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 12:47 PM To: Tomcat Users List Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run - Original Message - From: Wagoner, Mark

Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Jim Cobban
- Original Message - From: Wagoner, Mark [EMAIL PROTECTED] Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run What URL are you using to get to the servlet? I have tried a very wide range of URLs. According to all of the documentation the one that should work is http

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Wagoner, Mark
if the servlet is actually being located or not. -Original Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:34 PM To: Tomcat Users List Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run - Original Message - From: Wagoner, Mark

Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Jim Cobban
- Original Message - From: Wagoner, Mark [EMAIL PROTECTED] Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run Are you absolutely sure the problem is with CensusQuery and not a referenced class? It could be that Tomcat can't find another class that is referenced

Please read Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Jim Cobban
Please read this thread and tell me what the h**l I am doing wrong. I am just trying to write my first servlet. I have to give a demo Tuesday evening and I cannot get TomCat to run my servlet. Tomcat insists that it cannot find the class, even though as far as I can see the servlet has

RE: Please read Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Jeff Macomber
PROTECTED]] Sent: Monday, March 18, 2002 3:00 PM To: Tomcat Users List Subject: Please read Re: Urgent Re: Newbie: Servlet under Windows does not run Please read this thread and tell me what the h**l I am doing wrong. I am just trying to write my first servlet. I have to give a demo Tuesday evening

RE: Please read Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Keng Wong
Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 12:00 PM To: Tomcat Users List Subject: Please read Re: Urgent Re: Newbie: Servlet under Windows does not run Please read this thread and tell me what the h**l I am doing wrong. I am just trying to write my

Re: Please read Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Fabien Nisol
At 02:59 PM 18/03/2002 -0500, you wrote: Please read this thread and tell me what the h**l I am doing wrong. I am just trying to write my first servlet. I have to give a demo Tuesday evening and I cannot get TomCat to run my servlet. Tomcat insists that it cannot find the class, even though as

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread JavaJosh
I am fairly new, but perhaps I can help... -Original Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 10:34 AM To: Tomcat Users List Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run - Original Message - From: Wagoner

Re: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Peter Wieland
from your web.xml). Hope that helps. Good luck Peter - Original Message - From: Wagoner, Mark [EMAIL PROTECTED] Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run What URL are you using to get to the servlet? I have tried a very wide range of URLs. According

Newbie: Servlet under Windows does not run

2002-03-17 Thread Jim Cobban
I am desperate for help in getting Tomcat to run my servlet. I have read all of the documentation and tried to follow the rules, but Tomcat just does not run the servlet. Under 4.0.3 I get the following log entries: 2002-03-17 14:52:33 StandardHost[localhost]: Installing web application at

Re: Newbie: Servlet under Windows does not run

2002-03-17 Thread Matt Egyhazy
what is the package name in the .java file of your censusquery class? matt - Original Message - From: Jim Cobban [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John W Austin [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 3:20 PM Subject: Newbie: Servlet under Windows does not run I am

Re: Newbie: Servlet under Windows does not run

2002-03-17 Thread Jim Cobban
- Original Message - From: Matt Egyhazy [EMAIL PROTECTED] Subject: Re: Newbie: Servlet under Windows does not run what is the package name in the .java file of your censusquery class? The package name in the .java file is Census, just like the file hierarchy says. -- To unsubscribe

Re: TC 4.0 newbie - servlet app won't run

2001-11-27 Thread David Smith
4.0 newbie - servlet app won't run Thanks for your reply Scott, and thanks to your and Micael's responses I _believe_ I understand the relationship between the servlet naming/mapping and the associated html. As Micael noted, one could put pudding in the url-pattern as long as the html

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Mark
Thanks for your reply Scott, and thanks to your and Micael's responses I _believe_ I understand the relationship between the servlet naming/mapping and the associated html. As Micael noted, one could put pudding in the url-pattern as long as the html was setup as ACTION=pudding. But... how do

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
Just a preemptive question, Mark. Is your servlet's class object really called myservlet.class rather than, say, MyServlet.class? -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 7:00 AM Subject: Re: TC 4.0 newbie

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 7:00 AM Subject: Re: TC 4.0 newbie - servlet app won't run Thanks for your reply Scott, and thanks to your and Micael's responses I _believe_ I understand the relationship between the servlet naming/mapping and the associated

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
the old days about referencing servlets in a package called servletor something? Micael -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 7:00 AM Subject: Re: TC 4.0 newbie - servlet app won't run Thanks for your reply

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Mark
to the pattern /servletToJsp. Micael -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 7:00 AM Subject: Re: TC 4.0 newbie - servlet app won't run Thanks for your reply Scott, and thanks to your and Micael's responses I

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Mark
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 7:00 AM Subject: Re: TC 4.0 newbie - servlet app won't run Thanks for your reply Scott, and thanks to your and Micael's responses I _believe_ I understand the relationship between the servlet naming/mapping

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
/work/. Micael -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 10:15 AM Subject: Re: TC 4.0 newbie - servlet app won't run (correction) Correction, using POST results in a 405-Resource not allowed due

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
resolve everything. Micael -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 10:15 AM Subject: Re: TC 4.0 newbie - servlet app won't run (correction) Correction, using POST results in a 405-Resource not allowed due

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 7:00 AM Subject: Re: TC 4.0 newbie - servlet app won't run Thanks for your reply Scott, and thanks to your and Micael's responses I _believe_ I understand the relationship between

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
: Monday, November 26, 2001 9:58 AM Subject: Re: TC 4.0 newbie - servlet app won't run The examples you mentioned are the JSPs examples. I realize JSPs compile to servlets, but what about the straight up HelloWorldExample servlet? I didn't see mapping for that or the other servlet (vs. JSP

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
newbie - servlet app won't run First, there is more than one way to not only skin a cat but also to access a servlet. Let's look at a non-web.xml way. A.We can do it via URL by prepending the servlet's class name with /servlet/. Thus, we can access it as typically noted by http

Re: TC 4.0 newbie - servlet app runs now!!

2001-11-26 Thread Mark
4.0 newbie - servlet app won't run The examples you mentioned are the JSPs examples. I realize JSPs compile to servlets, but what about the straight up HelloWorldExample servlet? I didn't see mapping for that or the other servlet (vs. JSP) examples in the web.xml. Being a newbie, I could very

Re: TC 4.0 newbie - servlet app runs now!!

2001-11-26 Thread Micael Padraig Og mac Grene
Mark wrote: For example, now that I *finally* got my app to work using servlet mapping, I also found if I leave all mapping out of web.xml and have FORM ACTION=servlet/myservlet METHOD=POST, Tomcat will still find/run the servlet under ..WEB-INF/classes. Is that by design? Mark,

RE: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread William Tansill
a while longer, but I believe that that's the answer to your question. I'm struggling to understand as a newbie myself... -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 10:03 AM To: Tomcat Users List Subject: Re: TC 4.0 newbie - servlet app won't

TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the example servlets, but not my own. My html displays and I can execute my JSPs, but a POST to a servlet does not work (this app has run under Forte and VA Java in the past). I get a 404 error with the requested resource

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
servlet. -Original Message- From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, November 21, 2001 12:39 PM Subject: TC 4.0 newbie - servlet app won't run I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the example servlets, but not my own

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
the pattern and that will then refer the app to your servlet. -Original Message- From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, November 21, 2001 12:39 PM Subject: TC 4.0 newbie - servlet app won't run I installed Tomcat 4.0.1 under Win 2k using JDK

RE: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Wouter Boers
'myservlet' which is associated with the myservlet class Wouter -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: 21 November 2001 21:43 To: [EMAIL PROTECTED] Subject: TC 4.0 newbie - servlet app won't run I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Galbayar
FORM ACTION=servlet/myservlet method=POST - Original Message - From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 04:42 Subject: TC 4.0 newbie - servlet app won't run I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the example

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Scott Ahten
Mark, The servlet tag is used to assign a name to a particular servlet class file. servlet servlet-namemyservlet/servlet-name servlet-classmyservlet/servlet-class /servlet This would attempt to assign the name 'myservlet' to the class 'myservlet.class.'

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
to the controller. The issue, in my opinion, is not a trivial matter in Model 2 design patterns. -Original Message- From: Scott Ahten [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Wednesday, November 21, 2001 9:20 PM Subject: Re: TC 4.0 newbie - servlet app won't runThi

newbie Servlet

2001-09-25 Thread Isak Rickyanto
Sorry it is newbie.. I have myservlet.java and i place in tomcat/webapps/myapp/web-inf/classes and i had modified web.xml in web-inf.. I only want to ask... Is Tomcat not automatically compile it? or I must compile the servlet first?

AW: newbie Servlet

2001-09-25 Thread Ralph Einfeldt
Only JSP's are compiled automatically. Servlet have to be compiled by yourself. -Ursprüngliche Nachricht- Von: Isak Rickyanto [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 23. September 2001 15:21 An: Tomcat User Group Betreff: newbie Servlet Sorry it is newbie.. I have

RE: newbie Servlet

2001-09-25 Thread Martin van den Bemt
You have to use compiled classes. Mvgr, Martin -Original Message- From: Isak Rickyanto [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 23, 2001 3:21 PM To: Tomcat User Group Subject: newbie Servlet Sorry it is newbie.. I have myservlet.java and i place in tomcat

Re: newbie Servlet

2001-09-25 Thread Dmitri Colebatch
yes you do have to compile your servlets. jsps are the only thing that tomcat will compile for you. cheers dim On Sun, 23 Sep 2001, Isak Rickyanto wrote: Sorry it is newbie.. I have myservlet.java and i place in tomcat/webapps/myapp/web-inf/classes and i had modified web.xml in

Re: newbie servlet deploy question

2001-03-02 Thread Bo Xu
Jason Novotny wrote: I would like to be able to access a servlet with the URL http://localhost:8080/demo However, it only works if I go to http://localhost:8080/demo/servlet/demo I have the following in server.xml and web.xml respectively: Context path="/demo"

newbie servlet deploy question

2001-03-01 Thread Jason Novotny
I would like to be able to access a servlet with the URL http://localhost:8080/demo However, it only works if I go to http://localhost:8080/demo/servlet/demo I have the following in server.xml and web.xml respectively: Context path="/demo" docBase="webapps/demo"

Re: newbie servlet deploy question

2001-03-01 Thread Jason Novotny
Thanks, Jan I actually read your great document plus all the docs in Tomcat- actually I'm trying to design a web app very much like the one in chapter 9 of the kolb and fields book. The idea is to have a central controller servlet- DemoServlet that gets invoked initially by the user. I

Re: newbie servlet deploy question

2001-03-01 Thread Milt Epstein
On Thu, 1 Mar 2001, Jason Novotny wrote: I would like to be able to access a servlet with the URL http://localhost:8080/demo However, it only works if I go to http://localhost:8080/demo/servlet/demo [ ... ] How timely! I just joined the list yesterday, and this is exactly one of the

Re: newbie servlet deploy question

2001-03-01 Thread Milt Epstein
On Thu, 1 Mar 2001, Jan Labanowski wrote: You may want to read about servlet URLs ramapping in my http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml Howver, I am not sure it will gonna work... You can have it remapped to http://localhost:8080/demo/demo but what you want is to

Re: newbie servlet deploy question

2001-03-01 Thread Jan Labanowski
OK, I found few minutes before my head hit the keyboard... I am not coy, I am overworked... And lengthy explanations take time to type... On Thu, 1 Mar 2001, Milt Epstein wrote: On Thu, 1 Mar 2001, Jan Labanowski wrote: You may want to read about servlet URLs ramapping in my

Newbie Servlet Question

2001-02-28 Thread Sean McTigue
I am currently running iTools on MacOSX with the iTools version of Tomcat. When I place a .jsp file in /webapps/ROOT and place my bean classes in /webapps/ROOT/WEB-INF/classes, I can run the jsp from //localhost/.jsp. Works great, however, I cannot figure out how to call a servlet via URL

Re: [NEWBIE] Servlet-mapping question

2000-12-21 Thread Dave Smith
- From: "Algarve, Leila" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 21, 2000 7:32 AM Subject: [NEWBIE] Servlet-mapping question I've already tried to find the answer in many places, including the archives but it doesn't work. I am using Visual Cafe for t