Re: strange response.getAttribute problem

2003-01-23 Thread Erik Price
Ron Day wrote: also its request.getAttribute, not response.getAttribute. Sorry, typo ... ;) Erik -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: strange response.getAttribute problem

2003-01-23 Thread Ron Day
also its request.getAttribute, not response.getAttribute. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:16 PM To: Tomcat Users List Subject: strange response.getAttribute problem In my index.jsp file, I have the following snippet of

Re: strange response.getAttribute problem

2003-01-23 Thread Erik Price
Bill Lunnon wrote: Try request.getParameter() I must have been mixed up -- I could have sworn that they were getAttribute()! Thanks Bill. also you should test for null on the parameter (it will probably cause a NullPointerException down the line) Yes, it returns the string "null" which my

RE: strange response.getAttribute problem

2003-01-23 Thread Ron Day
getAttribute returns 'Object'. You need to cast it to 'String' Ron -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:16 PM To: Tomcat Users List Subject: strange response.getAttribute problem In my index.jsp file,

RE: strange response.getAttribute problem

2003-01-23 Thread Bill Lunnon
response.getAttribute problem In my index.jsp file, I have the following snippet of code: " /> I'm trying to capture the value of the "dest" URL parameter. I tried setting it as an attribute in the response object that redirects to index.jsp, and that didn't work. Bu

strange response.getAttribute problem

2003-01-23 Thread Erik Price
In my index.jsp file, I have the following snippet of code: " /> I'm trying to capture the value of the "dest" URL parameter. I tried setting it as an attribute in the response object that redirects to index.jsp, and that didn't work. But I thought for sure that if I hardcoded it into the UR