Hi, I have just configured Eclipse 3.4 with tomcat in windows vista.
The environemt is running JDK1.6 and JRE 1.5, but I have selected
jdk1.6 for the enviornemt.
When I press the Start Tomcat menu in the Eclispe menu bar, it thrown
the following exception in the Eclispe console:
10/08/2008
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| I am a real beginner at Java and Tomcat, and not so good at it.
| But maybe that causes my explanation below to be useful.
Don't forget to override getDateHeader and getIntHeader in your wrapper
class. Also, don't
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| I am a real beginner at Java and Tomcat, and not so good at it.
| But maybe that causes my explanation below to be useful.
Don't forget to override getDateHeader and getIntHeader in your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| After making that filter, I thought that it would have been more
| elegant to check if the header requested by getHeader() was one I
| added, return it in that case, and otherwise just call the
| getHeader() method of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
Jonathan Mast wrote:
| | This is really the only way to do it. The other option is to create a
| | new request object and stuff your own parameters into it (or, better
| | yet, wrap the original request and add your parameters only to the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
Jonathan Mast wrote:
| I can't figure out how to use the pageContext.forward() method like it's
| equivalent script element:
Do you mean that you want to add parameters to a forwarded URL without
using JSP?
| How do I pass the name-value
| This is really the only way to do it. The other option is to create a
| new request object and stuff your own parameters into it (or, better
| yet, wrap the original request and add your parameters only to the
wrapper).
How would I do this? This is basically what Jakarta Commons HTTPClient
Hi Jonathan,
About ServletRequest and ServletResponse Interfaces not having a
setParameter(name, value) method...depending on your situation, you may
not need to do that. Are you forwarding to another URI within your web
app? If so, you could use request/session.setAttribute( String name,
I suggest you look at ServletRequest.setAttribute()
In programming Servlets - you can work with parameters which are the fun
little things which come off the query string or via the POST body.
These items should be thought readonly - and only set/sent from the
HttpClient (aka - the web