How are you submitting the jsp page to itself? The
request.getAttributeNames( ) should return an Enumeration according to the
2.2 version of the Servlet Spec. So that means
allaire.jrun.util.FlatHashKeyEnumerator implements Enumeration. You
should see if request.getAttributeNames( ).hasMoreElements returns true.
If this call returns true then you have attributes that were submitted to
the page. I am betting that some how the page is not getting submitted
correctly.
As for the stuff after the @ symbol, this should probably change
everytime, because this is the address in memory that the object resides.
So every request a new object is being created in memory, thus the
different address.
If you would like to paste your jsp in an email and shoot it this way, I
would be happy to take a look.
Adam
John Minadeo
<jminadeo@NFO To: JRun-Talk
<[EMAIL PROTECTED]>
RCE.com> cc:
Subject: request.getAttribute()
11/15/00
03:48 PM
Please
respond to
jrun-talk
Hey there all,
I'm having an odd problem... I have a jsp page that submits to itself for
processing. I check the request.getAttribute("submit") != null and then if
not I compare the value against the value I'm looking for to start
processing instead of just displaying the form fields.
The problem is, submit always null, actually, all my form fields are null.
When I do a request.getAttributeNames() I get 1 no matter how many form
fields I have. It is :
allaire.jrun.util.FlatHashKeyEnumerator@313c11ce
although everything after the @ symbol changes with each request... Am I
missing something?
Thanks for your help!!
--
John Minadeo
[EMAIL PROTECTED]
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.