RE: servlet help

2005-01-14 Thread Cox, Charlie
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:

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 in

Re: servlet help

2005-01-12 Thread Edmon Begoli
TED]> To: "Tomcat Users List" 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 s

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 David da Guia Carvalho
u can put all your servlets into the subdirectory >"WEB-INF/classes" of your webapp directory. And you can access those >servlets with a URL like: >Uncomment the servlet element tags with the servlet-name of invoker >(just search for invoker). > >invoker > >org.apache

RE: servlet help

2005-01-12 Thread Casas, Claudia
comment the servlet-mapping element tags with the servlet-name of invoker. invoker /servlet/* -Original Message- From: Casas, Claudia [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 11:56 AM To: tomcat-user@jakarta.apache.org Subject: serv

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: http://myserver/~myhomedir/myfile.js

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 MessageServlet1 MessageServlet1 try with this... programme runs???...or not runlet me know by by jugal Jason Tesser wrote: OK I am new to Tomcat and I am going throug

RE: servlet help please

2004-02-17 Thread Jason Tesser
d this message in > error, > please notify me 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

RE: servlet help please

2004-02-17 Thread Schalk
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, :: > :: > > :: > > MessageServlet1 :: > >

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 and elements from your amended web.xml. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is conf

RE: servlet help please

2004-02-17 Thread Jason Tesser
Hi > Howdy, > > > > > MessageServlet1 > > /servlet/MessageServlet1 > > > > > >The problem is when I add the above code to the xml file nothing Under > >servlets-examples will run. What am I doing wrong? > > You need to have a element in your web.xml file defin

RE: servlet help please

2004-02-17 Thread Shapira, Yoav
Howdy, > > MessageServlet1 > /servlet/MessageServlet1 > > >The problem is when I add the above code to the xml file nothing Under >servlets-examples will run. What am I doing wrong? You need to have a element in your web.xml file defining what class Me

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 needed!

2003-07-12 Thread Jason Coleman
TECTED]> Sent: Saturday, July 12, 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 Da

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: G

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

2003-03-27 Thread Sandra Patricia Hunter
er 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 keep

Re: Servlet help

2003-03-27 Thread John Turner
e [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 your servle

RE: Servlet help

2003-03-27 Thread Sandra Patricia Hunter
e JSP 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: Se

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 l

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: java.la

RE: Servlet help

2003-03-27 Thread Sandra Patricia Hunter
ssage- 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 with

Re: Servlet help

2003-03-27 Thread John Turner
March 26, 2003 3:13 PM 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, set

RE: Servlet help

2003-03-27 Thread Paul Gregoire
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 tried restar

RE: Servlet help

2003-03-26 Thread Sandra Patricia Hunter
you. Any ideas? Sandra Patricia Hunter Systems Development and Web Design -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] Sent: March 26, 2003 3:13 PM To: Tomcat Users List Subject: Re: Servlet help Sandra, if you are planning to do the changes often y

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 s

RE: Servlet help

2003-03-26 Thread jsp
ginal 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 sa

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 tr

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

2002-08-01 Thread Nishant_Awasthi
i) Please respond toSubject: Re: DB2 and serv

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

2002-08-01 Thread Nishant_Awasthi
mbia.edu> cc: (bcc: Nishant Awasthi) Subject: Re: DB2 and servlet ??? Help !!! 08/01/2002

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

2002-08-01 Thread Michael Locasto
CTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> 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=

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 !!

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

2002-08-01 Thread Michael Locasto
RL is good Retrieve some data from the database... Received results: Count is0 God Please help 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 se

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++; ou

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

2002-08-01 Thread Nishant_Awasthi
mcat Users List' com> cc: (bcc: Nishant Awasthi) Subject: RE: DB2 and servlet ??? Help !!! 08/01/2002

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

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

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

2002-08-01 Thread Turner, John
OTECTED] [mailto:[EMAIL 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 cta

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

2002-08-01 Thread Wagoner, Mark
AIL 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 po

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

2002-08-01 Thread Nishant_Awasthi
John"To: 'Tomcat Users List' com> cc: (bcc: Nishant Awasthi)

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

2002-08-01 Thread Turner, John
ut something to the browser 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

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 addi

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 questio

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: For additional commands: Troubles with the list:

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 t

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.

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 . Note: I was a