hi,
Do I need to do a .xml file to define the web site, even if it's just a
simle little hello world?
j.
On Fri, 30 Jun 2000, Hans Bergsten wrote:
> "Jason C. Leach" wrote:
> >
> > hi,
> >
> > In Tomcat, where to I put my JSP pages, and my .class files? I can't seem
> > to get them both in a place that makes Tomcay happy.
>
> For any web server, JSP pages go in the document structure, i.e. in the same
> directories you put HTML and image files. The fact that they are turned into
> servlets and compiled into a class file is nothing you need to worry about;
> it's done automatically by the web container.
>
> Class files for beans, servlets and utility classes used in you application
> need to be in a directory structure that's part of the classpath for the
> container. In Tomcat, or any container that supports the web application
> file structure defined by Servlet 2.2 spec, you should place them in one
> of the WEB-INF directories for the application. Use WEB-INF/classes if the
> class files are not packaged in a JAR file, use WEB-INF/lib for all JAR files.
>
> Hans
> --
> Hans Bergsten [EMAIL PROTECTED]
> Gefion Software http://www.gefionsoftware.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets