Re: request.setAttribute() fails to set attribute - help



phillip.s.powell@xxxxxxxxx wrote:
If there is a request.setParameter() method, the API doesn't indicate
that, else I would have used it for sure :(
[snip]

No, he is suggesting that you use getAttribute() methods to access things that you have set using setAttribute() methods.


As you say there are no setParameter() methods. If you want to use those then I guess you have to create a new request containing the original parameters, and those that you want to add.



James .



Relevant Pages

  • Re: how can i retrieve the name of form when one of the element name in this form is name
    ... you are willing to reach form elements and when you are using ... getAttribute then the engine understands that you want to reach element ... They way we are suggesting to our clients is: ... // Otherwise it will break out on any normal browser: ...
    (comp.lang.javascript)
  • Re: aio_read/write versus O_NONBLOCK
    ... Are you suggesting it should say that the file is not ... request blocks, the kernel then has a sufficient hint to queue a request; ... What you really want is AIO semantics, ... fake it in ugly and unsatisfying ways with non-blocking semantics. ...
    (comp.unix.programmer)
  • Re: What is the maximum number of device names supported by Solaris 9 and/or 10?
    ... I'm just suggesting that it's probably comfortably larger as well, even for big machines, as I assume the Solaris engineers knw what they're doing. ... So unless someone is inventing lots of pseudo devices of some kind it is not likely to be an issue. ... hence the request for more detail :-) ...
    (comp.unix.solaris)