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
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
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:
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
, 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
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
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
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
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?
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
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
.
:: -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
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
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
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
//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:
, 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
[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
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
-
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
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:
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
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
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
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
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
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
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
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
)
Subject: RE: DB2 and servlet ??? Help !!!
08/01/2002
01:50 PM
]]
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
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
[EMAIL PROTECTED]
cc: (bcc: Nishant Awasthi)
08/01/2002 02:02Subject: RE: DB2 and servlet ??? Help
!!!
PM
]
com cc: (bcc: Nishant Awasthi)
Subject: RE: DB2 and servlet ??? Help !!!
08/01/2002
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++;
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
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
]
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
: Nishant Awasthi)
Subject: Re: DB2 and servlet ??? Help
!!!
08/01/2002
02:16 PM
: Re: DB2 and servlet ???
Help !!!
Tomcat Users List
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
--- 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.
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]
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
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
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
46 matches
Mail list logo