Dear all, In JSP page we can use request object, what are the differences between request.getAttribute( String name ) and request.getParameter( String name ) ? thanks daniel
Joined: Oct 15, 2002
A parameter is analogous to a CGI name/value pair. An attribute exists only on the server, and is a name/object pair that can be stored in a variety of different scopes. PCS
Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
Joined: Nov 22, 2001
request.set/getAttribute(String name) is used to set/get objects programmatically to allow passing objects back n forth, however request.getParameter(String name) gets parameter on the form invoking this page i.e. <input> tags on <form> in ur html/jsp page