RE: servlet help

2005-01-14 Thread Cox, Charlie
13, 2005 11:42 AM To: Tomcat Users List Subject: RE: servlet help I am using jk2, apache2, and tomcat5.5 -Original Message- From: Edmon Begoli [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 6:42 PM To: Tomcat Users List Subject: Re: servlet help Claudia

RE: servlet help

2005-01-13 Thread Casas, Claudia
I am using jk2, apache2, and tomcat5.5 -Original Message- From: Edmon Begoli [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 6:42 PM To: Tomcat Users List Subject: Re: servlet help Claudia, Are you using mod_jk with Apache and Tomcat? You should be able to configure

servlet help

2005-01-12 Thread Casas, Claudia
I am running tomcat5.5.4, apache2.0.52 and jk2. 1)I an run my jsp's and servlets from root. I have configured tomcat to run my jsp's from the homedirs, but I do not know how to configure tomcat to run servlets from the homedirs. I can run my jsp's like this:

RE: servlet help

2005-01-12 Thread Casas, Claudia
servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping -Original Message- From: Casas, Claudia [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 11:56 AM To: tomcat-user@jakarta.apache.org Subject: servlet help I am running tomcat5.5.4

RE: servlet help

2005-01-12 Thread David da Guia Carvalho
, January 12, 2005 11:56 AM To: tomcat-user@jakarta.apache.org Subject: servlet help I am running tomcat5.5.4, apache2.0.52 and jk2. 1)I an run my jsp's and servlets from root. I have configured tomcat to run my jsp's from the homedirs, but I do not know how to configure tomcat to run servlets from

RE: servlet help

2005-01-12 Thread Casas, Claudia
Thanks for your support David. Unfortunately, the configuration for jk2 is a bit different, but I really appreciate it. -Original Message- From: David da Guia Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 1:52 PM To: Tomcat Users List Subject: RE: servlet help

Re: servlet help

2005-01-12 Thread Edmon Begoli
tomcat-user@jakarta.apache.org Sent: Wednesday, January 12, 2005 3:16 PM Subject: RE: servlet help Oki doki, I got my servlets to work from tomcat using port 8080 (http://myserver:8080/~myacct/servlet/myservlet), but I still do not know how to make apache recognize my servlets and send them

servlet help please

2004-02-17 Thread Jason Tesser
OK I am new to Tomcat and I am going through one of Sun's courses regarding Web apps. I am working on the below example; I have complied the code ok And put it in the servlets-examples/classes. I also went into the web.xml File under the servlets-examples directory and added the following

RE: servlet help please

2004-02-17 Thread Shapira, Yoav
Howdy, servlet-mapping servlet-nameMessageServlet1/servlet-name url-pattern/servlet/MessageServlet1/url-pattern /servlet-mapping The problem is when I add the above code to the xml file nothing Under servlets-examples will run. What am I doing wrong?

RE: servlet help please

2004-02-17 Thread Jason Tesser
Hi Howdy, servlet-mapping servlet-nameMessageServlet1/servlet-name url-pattern/servlet/MessageServlet1/url-pattern /servlet-mapping The problem is when I add the above code to the xml file nothing Under servlets-examples will run. What am I doing

RE: servlet help please

2004-02-17 Thread Shapira, Yoav
Howdy, javax.servlet.ServletException: No servlet class has been specified for servlet MessageServlet1 Post the servlet and servlet-mapping elements from your amended web.xml. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain

RE: servlet help please

2004-02-17 Thread Schalk
. :: -Original Message- :: From: Jason Tesser [mailto:[EMAIL PROTECTED] :: Sent: Tuesday, February 17, 2004 9:22 PM :: To: Tomcat Users List :: Subject: RE: servlet help please :: :: Hi :: :: Howdy, :: ::servlet-mapping ::servlet-nameMessageServlet1/servlet-name

RE: servlet help please

2004-02-17 Thread Jason Tesser
immediately so that I can correct and delete the original email. Thank you. :: -Original Message- :: From: Jason Tesser [mailto:[EMAIL PROTECTED] :: Sent: Tuesday, February 17, 2004 9:22 PM :: To: Tomcat Users List :: Subject: RE: servlet help please :: :: Hi :: :: Howdy

Re: servlet help please

2004-02-17 Thread jugal
hi tell me one thing...that u added the servlet tag in ur web.xml file or not... if not then add it to web.xml file servlet servlet-nameMessageServlet1/servlet-name servlet-classMessageServlet1/servlet-class /servlet try with this... programme runs???...or not runlet me know by by

Servlet help needed!

2003-07-12 Thread FIkayo Otun
Good day(Sir/ma), I am a java programmer just starting to explore the J2ee platform. I use jdk1.4.2... and tomcat to develop and deploy my servlet. I however need a way to end my session when ever I close my browser. I noticed when I close my browser my session will still be on. I am currently

Re: Servlet help needed!

2003-07-12 Thread Rick Roberts
//Invalidate session if inactive for more than 1 hour if(!session.isNew()){ // skip new sessions Date hourAgo = new Date(System.currentTimeMillis() - 60*60*1000); Date accessed = new Date(session.getLastAccessedTime()); if(accessed.before(hourAgo)) session.invalidate(); } FIkayo Otun wrote:

Re: Servlet help needed!

2003-07-12 Thread Jason Coleman
, 2003 11:30 PM Subject: Re: Servlet help needed! //Invalidate session if inactive for more than 1 hour if(!session.isNew()){ // skip new sessions Date hourAgo = new Date(System.currentTimeMillis() - 60*60*1000); Date accessed = new Date(session.getLastAccessedTime()); if(accessed.before

RE: Servlet help

2003-03-27 Thread Paul Gregoire
[mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 3:01 PM To: 'Tomcat Users List' Subject: Servlet help This seems like a silly question: when I make changes in my servlet what do I have to do to load the new file? I have tried just saving it. I have tried restarting Tomcat. I have tried

Re: Servlet help

2003-03-27 Thread John Turner
To: Tomcat Users List Subject: Re: Servlet help Sandra, if you are planning to do the changes often you are probably better off if you set reloadable parameter to true in server.xml file, (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html) however, setting it to reloadable

RE: Servlet help

2003-03-27 Thread Sandra Patricia Hunter
- From: Paul Gregoire [mailto:[EMAIL PROTECTED] Sent: March 26, 2003 3:14 PM To: Tomcat Users List Subject: RE: Servlet help Once you have compiled the new servlet either jar it up or copy it directly to your WEB-INF/classes, if you jar'd it then copy the jar to WEB-INF/lib. Now within moments

RE: Servlet help

2003-03-27 Thread Sandra Patricia Hunter
John: Here is the error message when I attempt to run a JSP after running a servlet: javax.servlet.ServletException: Error allocating a servlet instance at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:659) When I run my JSP this is the root cause of error:

RE: Servlet help

2003-03-27 Thread Shapira, Yoav
Howdy, Just as an aside: what is the purpose of the work folder? To hold temporary tomcat work products, e.g. the compiled JSP servlets. Tomcat uses this space as it sees fit, and tomcat is responsible for the freshness / dirtiness (in cache terms) of the contents of the work directories, as

RE: Servlet help

2003-03-27 Thread Sandra Patricia Hunter
is lost. I have included log files and so on in another message with this same title. Sandra Patricia Hunter Systems Development and Web Design -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: March 27, 2003 6:56 AM To: Tomcat Users List Subject: RE: Servlet

Re: Servlet help

2003-03-27 Thread John Turner
PROTECTED] Sent: March 26, 2003 3:14 PM To: Tomcat Users List Subject: RE: Servlet help Once you have compiled the new servlet either jar it up or copy it directly to your WEB-INF/classes, if you jar'd it then copy the jar to WEB- INF/lib. Now within moments your servlet should be available

RE: Servlet help

2003-03-27 Thread Sandra Patricia Hunter
in this thread for logs and error messages. Sandra Patricia Hunter Systems Development and Web Design -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: March 27, 2003 7:13 AM To: Tomcat Users List Subject: Re: Servlet help The work folder is where Tomcat keeps its

Servlet help

2003-03-26 Thread Sandra Patricia Hunter
This seems like a silly question: when I make changes in my servlet what do I have to do to load the new file? I have tried just saving it. I have tried restarting Tomcat. I have tried recompiling the file. I have tried recompiling while Tomcat was shutdown and while Tomcat was running. I have

RE: Servlet help

2003-03-26 Thread jsp
Message- From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 3:01 PM To: 'Tomcat Users List' Subject: Servlet help This seems like a silly question: when I make changes in my servlet what do I have to do to load the new file? I have tried just saving it. I have

Re: Servlet help

2003-03-26 Thread Vladimer Shioshvili
Sandra, if you are planning to do the changes often you are probably better off if you set reloadable parameter to true in server.xml file, (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html) however, setting it to reloadable means that you should accept that it will eat up

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Turner, John
on a SQLException just so you can see what's going on. John Turner [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:47 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: DB2 and servlet ??? Help

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
) Subject: RE: DB2 and servlet ??? Help !!! 08/01/2002 01:50 PM

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Wagoner, Mark
]] Sent: Thursday, August 01, 2002 1:57 PM To: Tomcat Users List Subject: RE: DB2 and servlet ??? Help !!! Hello John firstnme is the correct column name... What bugs me is if you see my servlet code which I am again attaching... I try to put try and ctach every where possible so that I can at least

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Turner, John
PROTECTED]] Sent: Thursday, August 01, 2002 1:57 PM To: Tomcat Users List Subject: RE: DB2 and servlet ??? Help !!! Hello John firstnme is the correct column name... What bugs me is if you see my servlet code which I am again attaching... I try to put try and ctach every where possible so that I can

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
[EMAIL PROTECTED] cc: (bcc: Nishant Awasthi) 08/01/2002 02:02Subject: RE: DB2 and servlet ??? Help !!! PM

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
] com cc: (bcc: Nishant Awasthi) Subject: RE: DB2 and servlet ??? Help !!! 08/01/2002

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Michael Locasto
Hi, Assuming this is the SQL you want to submit: try{ stmt = con.createStatement(); rs = stmt.executeQuery(SELECT empno from db2admin.employee); shouldn't it be if( rs.next() ){ do{ count++;

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Michael Locasto
Retrieve some data from the database... Received results: Count is0 God Please help /quote Regards, Michael - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 2:10 PM Subject: RE: DB2 and servlet ??? Help !!! I

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
brings nothing?? There is no SQLException, or nullpointer or something like that?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:08 PM To: Tomcat Users List Subject: RE: DB2 and servlet ??? Help !!! Hello Mark

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Michael Locasto
] Sent: Thursday, August 01, 2002 2:16 PM Subject: Re: DB2 and servlet ??? Help !!! Hi, Your parameter is '012', while it appears that the employeenumbers in your database are more like: empno= 000150 quote BROWSER OUTPUT --- paramater passed is 012 Count is0

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
: Nishant Awasthi) Subject: Re: DB2 and servlet ??? Help !!! 08/01/2002 02:16 PM

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
: Re: DB2 and servlet ??? Help !!! Tomcat Users List

DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
Hello everyone... I am trying to connect the run a simple servlet to retrieve the query results from DB2 database. 1. Before writing a servlet, I wrote a simple java file and was successful in retrieving the contents from DB2 UDB. 2. Then I just converted the same JAVA file into servlet by

Re: Servlet help...

2002-02-06 Thread Janek Bogucki
--- Clay Mitchell [EMAIL PROTECTED] wrote: How do I define where Tomcat looks for servlets? Where does it look for it by default? Thanks -Clay Have a look at this document http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html It should answer your question.

Servlet help...

2002-02-05 Thread Clay Mitchell
How do I define where Tomcat looks for servlets? Where does it look for it by default? Thanks -Clay -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Servlet help needed

2001-05-04 Thread Noel E. Lecaros
Hi, Ante You actually don't need to edit anything in server.xml if your app uses default settings. Just drop your app's directory tree into the webapp subdir and start Tomcat. Which web.xml file did you make changes in anyway? You're not supposed to edit the web.xml in the conf subdir! Hope

Servlet help needed

2001-04-24 Thread Ante Sabo
I cannot deploy my servlet application to run by Tomcat. I editet server.xml and web.xml files as described in documentation to set up my contextes, but all I got on my screen is Tomcat error message: Mapping context with unregisterred servlet What this message is meaning to me. I

Compile problem with servlet - HELP

2001-03-30 Thread tomcat user
I'm trying to get Tomcat3.2.1 to successfully compile my JSP. I have a base class called TrainingForm and I have a class called TrainingFormDetail that extends TrainingForm. It's like it is complaining about the base class. I read in the JSP1.1 spec that the type field is used for implements and