tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Palermo" <le...@zedak.com>
Subject Re: 3.1 Installation Problems etc.
Date Wed, 18 Oct 2000 15:31:56 GMT
In response to your forwarding problem, try this instead of a redirect:

getServletConfig().getServletContext().getRequestDispatcher("/relative-path/
thejsp.jsp").forward(request, response);

When I say relative-path, I mean if your application is located at /myapp in
your web server, and your jsps are in the /myapp/jsps directory the previous
line would read:

getServletConfig().getServletContext().getRequestDispatcher("/jsps/thejsp.js
p").forward(request, response);

Hope this helps!

Leon
----- Original Message -----
From: "Stanley, Jim" <Jim.Stanley@Jacobs.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, October 18, 2000 11:04 AM
Subject: 3.1 Installation Problems etc.


> Hello,
>
> I'm a new subscriber to the list, working with a client that's doing some
> programming for us.  We've been a JRun shop, so we're getting used to
> Tomcat.
>
> We're having installation problems with the latest version 3.1: trying to
> start tomcat gives a "HttpConnectionHandler not found" error message.  I
> went through the archives and there was something about using JDK1.2.2
> instead of 1.2 - but we're already using 1.2.2 and getting this problem as
> well.  I've checked classpaths 'till I'm blue in the face and nothing
seems
> to help.  This is on NT4, SP6;  we are testing the app on both this
platform
> and AIX.
>
> The current 3.2 beta also seems to have problems:  a most mysterious error
> about a missing method that ends with "V" *after* the parentheses keeps
> popping up.  Any suggestions?
>
> Version 3.0 seems to work well enough;  we've discovered another problem
> with cookies and 3.1 running under AIX.  Someone documented a bug whereby
> cookies are not getting written after a sendRedirect() call - but I've
> searched the code and found no such calls (also jsp "forward" calls, per
> browsing the archive) and we still have the problem, though it doesn't
occur
> under 3.0.  They do directly manipulate the address;  would that produce
the
> same effect?
>
> Thanks for any help you can render on this one.  We're deep in Deployment
> Hell and could use a life preserver!
>
> Jim Stanley
> Jacobs Engineering
> Pasadena CA
>


Mime
View raw message