RE: Session Timeout

2002-01-30 Thread Purcell, Scott
I think Justin is correct in stating to put the timeout in the JSP's. I bet the web.xml file is only for servlets. Anyone know for sure? Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 10:42 AM To: [EMAIL PROTECTED] Subject:

Applet Hassles

2002-01-17 Thread Purcell, Scott
Hello, I have been using the Tomcat on NT for the past 7 months mostly dealing with Servlets and JSP's, and everything works great. I believe I have all my classpaths correct and the system configured properly. But whenever I create an applet, not using a package, and place it in the /classes

Applet Problems

2002-01-17 Thread Purcell, Scott
Hello, I am having trouble running any applets from on my tomcat server on my NT box. I truly believe I have all my classpaths configured properly, as I can run any type of servlet or bean. If I create a simple java file under /root/web-inf/classes/clock.class (which is in my classpath), then

Servlet Mapping Q

2001-12-14 Thread Purcell, Scott
Hello, Yesterday I have been trying to use an init method to read the web.xml file for some parameters. I am just trying to learn JSP/Servlets. Anyway, I know I have the parameters in the web.xml file correct, but it still would not read them. Then I got the following email from Larry that showed

RE: web.xml file confusion

2001-12-13 Thread Purcell, Scott
List Subject: Re: web.xml file confusion On Thu, 13 Dec 2001, Purcell, Scott wrote: Date: Thu, 13 Dec 2001 13:34:18 -0600 From: Purcell, Scott [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: web.xml file confusion Hello

web.inf still need help ... Please

2001-12-13 Thread Purcell, Scott
I am still lost with the web.inf file. All I want to do is run an example of using the init() to get one time start up initializers into a servlet. I am on tomcat 3.2 and all seems to run fine. I have a basic install and I am just using my localhost. I am learning how to do JSP and Servlets. My

RE: web.inf still need help ... Please

2001-12-13 Thread Purcell, Scott
. Cheers, Larry -Original Message- From: Purcell, Scott [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:48 PM To: '[EMAIL PROTECTED]' Subject: web.inf still need help ... Please I am still lost with the web.inf file. All I want to do is run an example of using the init

RE: Tomcat/JSP Question

2001-06-01 Thread Purcell, Scott
I think you may have the syntax for jsp:get_property jsp:set_property wrong. It is jsp:getProperty() and jsp:setProperty() Here is a textbook example from Fields and Kolbs book. Hope it helps #JSP % page import = com.taglib.wdjsp.components.CompoundIntrestBean % jsp:useBean id=calculator

port 8080 to port 80?

2001-05-18 Thread Purcell, Scott
Hello, I am using the Tomcat learning Servlets and JSP. All is well. I would like to change the port from 8080 to 80. I have Martys Halls book and it says to edit the port number in the /install_dir/webserver.xml file and replace 8080 with 80. But I do not see the line as he shows on page 16 of

Servlet Placement

2001-05-18 Thread Purcell, Scott
Hello, I am following Martys book and I am missing something slight. I created a HelloWorld servlet and placed it in the D:\tomcat\jakarta-tomcat-3.2.2b2\webapps\ROOT\WEB-INF\classes and also set my ENV on NT for the servlet.jar and jasper and I CAN YES compile and all is well. In my browser if

ServletConfig question on Tomcat

2001-05-18 Thread Purcell, Scott
Hello And Happy Friday to all. I am working out of Marty's Core Servlets book and I am having trouble getting an init statement to work. For those that have the book it is on page 40. If you don't have the book, I will try and explain it here. The code below is suposed to look at the web.xml

RE: ServletConfig question on Tomcat

2001-05-18 Thread Purcell, Scott
Thanks, Ill give that a shot, and let you know. Scott -Original Message- From: HD [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:52 PM To: [EMAIL PROTECTED] Subject: Re: ServletConfig question on Tomcat Try to put your servlet directly under Web-inf/classes instead of put it

Register a Servlet?

2001-05-18 Thread Purcell, Scott
Hello, How do you register a servlet under the tomcat? My book says to register the servlet (page 39) of Marty's book.? Does anyone know what they mean? Thanks Scott Purcell

Where do Servlets go?

2001-05-04 Thread Purcell, Scott
to me, where these two files should go. If they go in the same dir somewhere, or in different dirs.? Also, if there is anything else I should know, please advise. Thanks have a nice Friday, Scott Purcell Scott Purcell

CSS Help

2001-04-18 Thread Purcell, Scott
Hello, I am starting to test out the Tomcat Server, and I am doing an example that is in the Core Servlets and JSP book. Anyway, they have an example of using some CSS in a resume posting example. I am entering the HTML into the following folder under Tomcat:

RE: CSS Help

2001-04-18 Thread Purcell, Scott
: RE: CSS Help This is the way I've always done it. . . LINK href="style.css" rel=stylesheet type=text/css . . And I put it in between my head tags like you did. Hope this helps. -greg -Original Message----- From: Purcell, Scott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Apri

Code Q.

2001-04-18 Thread Purcell, Scott
Hello, I am learning JSP and have done quite a few examples from the Core Servlets and JSP book. I apologize for asking this q here, but I am trying to learn Tomcat and put my whole picture together, and I figured that the people on this line, would probably know what these lines mean. Anyway,

Classpaths

2001-04-16 Thread Purcell, Scott
Hello, I am confused on CLASSPATH variable on my NT 4.0 box. I am running the tomcat server, and the Sun book for Core JSP says I can make a folder called classes in the installdir. My install is at the following location: D:\tomcat\jakarta-tomcat-3.2.2b2 Inside there are

Newbie Questions JSP/Tomcat

2001-04-16 Thread Purcell, Scott
Hello, I am new to JSP and especially Tomcat. I do have it installed and working on a NT4.0 Box. Anyway, I am working out of Suns book "Core Servlets And JavaServer Pages". On page 25 they talk about placing Servlets in the install_dir/classes directory. My install did not come with a classes

Package Q

2001-04-16 Thread Purcell, Scott
Hello, I am running the tomcat web server and I am working on Servlets. My install is on D:\tomcat\jakarta-tomcat-3.2.2b2 I am working on packages from Suns book, and have had success with creating a folder called coreservlets under the following path:

newbie Q on config

2001-03-30 Thread Purcell, Scott
Hello, I have downloaded the Tomcat binary product onto my NT box here at the office. I am studying JSP, and want to use the Tomcat to run simple JSP files which may consist of either Servlets or Beans. Anyway, I downloaded it, went to: d:\tomcat\jakarta-tomcat-3.2.2b2\bin and issued a