Schalk,
I wrote a java program (HelloWWW.java) and placed the file in this path:
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
I also compiled that java code. Compilation was successful.
I tried to execute that servlet in the browser using this link :
-
From: Navanee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed
Schalk,
I wrote a java program (HelloWWW.java) and placed the file in this path:
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB
http://localhost:8080/examples/servlet/HelloWWW
-Original Message-
From: K. Harvatis [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 3:24 PM
To: Tomcat Users List
Subject: Re: Servlets -- help needed
Navanee,
Please check and edit the \WEB-INF\web.xml file, which holds
, November 14, 2003 3:24 PM
To: Tomcat Users List
Subject: Re: Servlets -- help needed
Navanee,
Please check and edit the \WEB-INF\web.xml file, which holds the mappings.
After that, you will only need
http://localhost/your_servlet_urlname_from_web.xml
Kostas Harvatis
-
National Center for Social
-
National Center for Social Research - Directorate of Research Support
www.ekke.gr
- Original Message -
From: Navanee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed
Schalk,
I wrote a java program
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed
Schalk,
I wrote a java program (HelloWWW.java) and placed the file in this
path:
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
I also compiled
can correct and delete the original email.
Thank you.
:: -Original Message-
:: From: Navanee [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 14, 2003 10:37 AM
:: To: Tomcat Users List
:: Subject: Re: Servlets -- help needed
::
:: I don't have any idea of how to edit the web.xml file
All,
Someone should also point out right now that having Tomcat installed in
a directory containing spaces is just *asking* for trouble.
Try re-installing tomcat into, say, c:\programs\tomcat, or at least
modify the path to be C:\PROGRA~1\tomcat or whatever windows does to
long filenames to
Try,
http://127.0.0.1:8080/examples/servlet/HelloWWW
--
De: Navanee[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: sexta-feira, 14 de novembro de 2003 4:11
Para: Tomcat Users List
Assunto: Re: Servlets -- help needed
Schalk
Users List'
Subject: RE: Servlets -- help needed
Try,
http://127.0.0.1:8080/examples/servlet/HelloWWW
--
De: Navanee[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: sexta-feira, 14 de novembro de 2003 4:11
Para: Tomcat Users List
Assunto
All,
Someone should also point out right now that having Tomcat installed in
a directory containing spaces is just *asking* for trouble.
Try re-installing tomcat into, say, c:\programs\tomcat, or at least
modify the path to be C:\PROGRA~1\tomcat or whatever windows does to
long filenames to
I never had a problem with Tomcat being installed to C:\Program
Files\Apache Group\Jakarta Tomcat, and this was with version 3.2.3
Problems arose when installing the JDK to C:\Program Files\jdk1.3.1_09
where Tomcat refuses to work with it there (I posted a question about this
ages ago). So
Navanee
The file structure, for webapps are as follows:
Tomcat/webapps/yourapp/
- In this folder you can place all of your image files, html files, .js,
.css, and your JSP's.
Tomcat/webapps/yourapp/WEB-INF/classes/
- In here you should place all compiled servlet code
13 matches
Mail list logo