1. dunno
2. dunno
but remember that JSPs are compiled into servlets and cached so they all end
up as servlets eventually.
 
3. yes change conf/server.xml
There are 3 ports listed. One is for tomcat receiving HTTP requests, one is
for HTTPS requests (SSL) and one is for communicating with a web server like
apache and for shutdown/startup of tomcat. Pick what ports you want.
4. Try http://java.sun.com/products/servlet/2.2/javadoc/index.html
<http://java.sun.com/products/servlet/2.2/javadoc/index.html>  it has
HttpJspPage, couldnt see base.
5. dunno, I use servlets that put beans in session and JSPs read from them
but I dont need request params in JSPs

-----Original Message-----
From: Martin Kock [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 16:00
To: [EMAIL PROTECTED]
Subject: JSP and Tomcat containers




Hi!
 
I'm doing an assignment on Java Server Pages, and I have a couple of
questions about the Tomcat webserver:
 
1. Which container (engine) will be running with Tomcat? The JSP container,
the servlet container, or both?
2. I'm only using JSP-documents, but does the JSP container handle the same
stuff that the servlet container handled before 'the era' of JSP?
3. Tomcat listens on port 8080 - can I get it to listen on port 80, and how?
4. Where can I get the API documentation for class HttpJspBase? I've
searched Suns homepage with no luck.
5. How do I (in my JSP page) read data sent with HTTP POST? I can't use
request.getParameter(java.lang.String);
 
Thanks in advance,
Martin Kock
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 



___________________________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
Sema. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the Sema UK
Helpdesk by telephone on +44 (0) 121 627 5600.
___________________________________________________________________________

Reply via email to