tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schalk Neethling <>
Subject Re: Jave Server Pages
Date Fri, 10 Dec 2004 10:45:49 GMT

To answer your question:
Your directory structure should be as follows:

---------------------- myapp [ All of your usual web files including 
html and JSP's should go here.
------------------------- WEB-INF
------------------------------- classes [ Compiled java classes ]
------------------------------- lib [ All you jars ]
------------------------------- src [ Source code ]
------------------------------- web.xml

The code you showed below will not really tell you whether your JSP is 
working or not. Instead write the following code:

JspWriter out = new JspWriter();
out.print("Hello World");

Bernard Pace wrote:

>   I am trying to run my first jsp page on Tomcat.  My current version 
>is 5.0.30.  The code I am applying to the jsp is the following
>Hello, world
>How the file that I am saving where should I place it, and should I 
>update an XML file?
>Thanks in Advance

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Tel: +27125468436
Fax: +27125468436

We support OpenSource
Get Firefox!- The browser reloaded -
This message contains information that is considered to be sensitive or confidential and may
not be forwarded or disclosed to any other party without the permission of the sender. If
you received this message in error, please notify me immediately so that I can correct and
delete the original email. Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message