Do you make a return after the sendRedirect?
...
response.sendRedirect("/checkout2.jsp");
return;
...
Otherwise, the output of checkout2.jsp is added (and not a 'new' output).
Hint: Call sendRedirect before you make any output!!!
-Ursprüngliche Nachricht-
Von: jim [mailto:[EMAIL
Hi,
"Craig R. McClanahan" wrote:
You don't ... and you should NOT ... call destroy() on your servlet instance.
Yes I understand that. I just meant to invoke the detroy method indirectly
when launcing the shutdown tomcat script.
Tomcat calls it for you when it is shut down normally. Failure
hi,
have you checked if your TOMCAT_HOME ends with
\jakarta-tomcat
not
\tomcat
?
matthias
-Ursprüngliche Nachricht-
Von: David Harris [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 30. Oktober 2000 07:15
An: '[EMAIL PROTECTED]'
Betreff: RE: Win98 Tomcat 3.1 - Starts to launch but
I'm updating jakarta to 4.0 and i noticed
that some scripts (and more?) has disapeared,
which can be quiet crtitical since I had modified
some ...
So is catalina sh script the old tomcat.sh?
Any more noticeable diffs?
Thanx,
--mike
Hi!
I recently setup my Tomcat to run integrated with Apache. Everything
worked fine, except that any jsp-page that contained a
response.sendRedirect stopped redirecting. I don't get any response
at all. Any clues?
Thanks!
/Martin Holmgren
Check out the latest in z.com programming, produced
Instead of redirecting, try forwarding like
this:
getServletConfig().getServletContext().getRequestDispatcher("/jsp/forwardto.jsp").forward(request,
response);
Leon
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 30, 2000
Hello everybody!
I have a problem when trying to POST forms to ASP pages, it seems
that the posted information gets lost. As far as I understand, IIS first
tries to redirect requests to Tomcat and, if it's not handled, IIS takes
care of it. So, I guess the information is being
Hi,
I was installing Tomcat and Apache for
testing. Most of functions were working fine.
But there was a problem when I want to
upload a file. A form tag was setting in a jsp file as
following
form enctype="multipart/form-data"
action="/servlet/UploadDepartmentImage" method=POST
when I
And ... when is this servlet preloaded: is it when you start the
server ?
The line load-on-startup1/load-on-startup
tells Tomcat to pre-load this servlet first (1) when Tomcat starts.
If yes, does this mean that if you have 10 web-apps, each of which
has one
preloaded servlet, Tomcat will
hello,
download the source distribution of tomcat 3.2 beta 6. I am sure you would
find subdirs under /src...
-Giri
-Original Message-
From: Da Eriksson Brothers [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 5:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat Apache
No I
This weekend Tomcat stopped running. It can be started but throws errors
in the mod_jk.log. Then Apache will fail to start with no errors. If
I comment out the Include tomcat line in the httpd.conf file, Apache
runs fine. The lines in the mod_jk.log file are:
[jk_ajp12_worker.c (201)]: In
Servus Wyn,
first thanx for your answer.
-Original Message-
I'm sure the problem is with the URL used to access the servlet of
WebAppB.
I don't think so, because of the following behaviour:
Our WebServerDirStructure looks like this
/websites/WebAppA
/websites/WebAppA/WEB-INF
I run the SOAP GetQuote sample against Tomcat, and got
the following error messages on the Tomcat screen:
(Mon Oct 30 09:24:59 EST 2000) Processing SOAP
request...
java.lang.NullPointerException
at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.
java, Compiled Code)
hello,
apache and tomcat talk to each other using the ajp protocoll
on a port, normally 8007.
apache needs to have a plugin properly configured and running for this to work.
there appears to be both mod_jserv and mod_jk you can use for this, where mod_jk is
never.
i use mod_jserv.
read the
yeah, I have returns, why does this do this, there is no documentation in the
JSP spec saying i have to do returns after a redirect. Is this a bug in tomcat?
On Mon, 30 Oct 2000, you wrote:
Do you make a return after the sendRedirect?
...
rresponse.sendRedirect("/checkout2.jsp");
return;
You might just try Webtrends...
-Original Message-
From: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 05:00
To: '[EMAIL PROTECTED]'
Subject: RE: Logger
Hi Craig,
I need a logger to collect data on tomcat contexts usage. I want to know how
many
hey,
1) Try changing the default apj12 worker definition section of
workers.properties file as follows:
worker.ajp12.host=your serverip(instead of the default localhost!) see if
it works.
2) Make sure you have Included tomcat.conf at the end of httpd.conf if you
are using mod_Jserv / Include
Hi,
I have a question to configure Apache to work with Tomcat instead of JServ.
The Apache Sever
works with Tomcat but I cannot find a solution for the servlet mapping. For
JServ "/servlets/"
maps the servlet repository. How must I configure Tomcat to use this
Repository?
regards
Thomas
Hi folks.
I've got a servlet (actually a couple) that are doing some XML parsing
(Mainly SAX, some DOM).
The only problem I seem to be having is that when if I have a XML file
that looks like this:
?xml version="1.0" encoding="UTF-8"?
!DOCTYPE taglist SYSTEM "taglist.dtd"
Tomcat
To unsubscribe from this list
mailto:[EMAIL PROTECTED]
To stop subscription for an alternate account
(e.g. [EMAIL PROTECTED]) send an eMail to
[EMAIL PROTECTED]
Before posting any questions ---
+ We welcome open discussion of Tomcat issues at both
I can't get tomcat 3.1 to run under freebsd
3.4-RELEASE FreeBSD 3.4
Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit)
Here's the message I get When I try to connect
Error reading request Resource temporarily unavailable: Resource temporarily una
vailable
It seems to run fine
"C. Jason Benedict" wrote:
i have cut the binary code out of this one
sinboda wrote:
[Image]
The original message made my Netscape running
under RedHat 6.1 linux crash. I had to remove the
message by other means before I could run netscape
again. Don't know what that means.
martin
Does anyone know if/where I can get mod_jserv.so for sparc?
Get the jserv src code from java.apache.org and statically link it into your
apache instance. (makefiles are included so usually this is a triial task
;-).
J
PS (To Mike...) What is that lsof command you mentioned? I have never
If you download with Netscape it can save it as text and that will leave it garbled.
Download with Lynx or some other browser and you won't have that problem.
Rick
[EMAIL PROTECTED] wrote:
Speaking of mod_jk, where can I find the source and instructions to compile
it?
Apache complains that
in the tomcat source bundle...
---
to unsubscribe: [EMAIL PROTECTED]
for more info: http://jakarta.apache.org/getinvolved/mail.html
On Mon, 30 Oct 2000, Ranko Bijelonic wrote:
Speaking of mod_jk, where can I find the source and instructions to compile
it?
Apache complains that the one I
H-
I have been through the archive and found references to this problem but
haven't found any solutions. Or at least any that give examples on the
solution.
Being a newbie to tomcat (and linux to a degree) I was wondering if
anyone could help me out with a Tomcat problem?
Here's what I have so
Sterling wrote:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
Add "$JAVA_HOME/lib/tools.jar" to your classpath. Adding just
"$JAVA_HOME/lib" is not sufficient, because that only looks for unpacked
classes -- not classes that are resident in JAR files in the named
directory.
Craig
Hi All,
I would like to limit number of live sessions to say x number.
Is there a way where I can configure in Tomcat or in apache.
Can I set the number of live sessions from Tomcat from a JSP or Servlet, if
so could any let me know.
Thanks
--Anand
Thanks guys, dowloaded, compiled, and working (kind of)
-Original Message-
From: Jagannathan, Giri (c) [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 2:02 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [tomcat-user] issues with mod_jk (consuming 100% of cpu)
U got to download the
Hi all,
Here is a snippet of jsp code that I am having trouble in compiling jsp
pages:
jsp:usebean id="traverser" scope="session"
class="com.ss8networks.smp.sms.provisioning.jsp.Service800NumberBean" /
% QuestionnaireTreeModel model = traverser.getModel();
if (model != null){
im not sure where to get help on this one but here goes...perhaps someone
here has had this problem:
i am developing swing applets on a freebsd machine running tomcat 3.1. i
write two hello world type applets that used swing. on my client machine
(redhat 7, netscape 4.75) i installed the java
now things are working againodd...very oddi think maybe my jdk/jre
install is not clean.
hr
H-
I've been poking around the docs and archives for this list and from
what I see there isn't a simple way to make this happen.
Set up another directory that will execute JSP files without having to
go through examples. (And from what I've seen this directory cannot be
inside the httpd/htdocs
I'm fairly new to
Tomcat and I have a configuration question.
I want to register a
number of individual servlets without grouping them under a web application as
follows:
path =
domain/servlet1 will invoke servlet1
path =
domain/servlet2 will invoke servlet2
.
.
.
It seems that
Haberman-san wrote:
I can't get tomcat 3.1 to run under freebsd
3.4-RELEASE FreeBSD 3.4
Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit)
I have not problem running the native FreeBSD port of 1.2.2
on FreeBSD 4.1-RELEASE.
Have a look at
I agree with you, there's no clarity about that issue, so I tried to put
together some of the references in the different available documents:
From the User Guide, defining the RELOADABLE parameter of the context tag
in server.html:
"When developing a servlet it is very convenient to have
Hi Again,
Everything is fine now. I had to use version 3.2 beta 6 for everything.
Cound not mix them up.
Regarfds,
Jonah
-Original Message-
From: Hovnan Jonah Alexanian [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 2:39 PM
To: [EMAIL PROTECTED]
Subject: RE:
"Craig R. McClanahan" wrote:
For the purposes of starting up Tomcat 4.0, this is correct -- use
catalina.sh or catalina.bat instead of tomcat.sh / tomcat.bat.
Any more noticeable diffs?
Quite a few. One of the primary reasons that Tomcat 4.0 is still
"pre-alpha" is (incomplete or
Hi,
Maybe this is a file permissions or paths problem...
Check what user tomcat runs as when started from inittab.
Is this the same user you use when you "log in to linux" to
start tomcat? If not, does this user have access permissions
to the WEB-INF/classes directory, the web.xml file, etc?
39 matches
Mail list logo