Results 1 to 2 of 2
Thread: Attributes vs Parameters
- 01-17-2012, 06:55 PM #1
Member
- Join Date
- Jan 2012
- Posts
- 55
- Rep Power
- 0
Attributes vs Parameters
Hi all,
Can anyone kindly tell me the clear difference between Attributes and Parameter with regards to the servlets? And also can any one provide me with some idea of how the attributes are used practically? Is attributes related to getting form related values like from text field, or check box or radio button or a page where when we select one value certain fields of the form changes depending on that value?
Thank you and Regards,
- 01-18-2012, 11:46 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: Attributes vs Parameters
Attributes and parameters are pretty much defined in the ServletRequest API.
You've got them backwards...parameters come from the form. Attributes are added on the server, generally to hold data that is to be forwarded to another servlet or JSP.
Similar Threads
-
How to change controls attributes
By varesa in forum SWT / JFaceReplies: 3Last Post: 06-23-2011, 06:41 PM -
how to pass parameters from a method to another which accepts to parameters?possible?
By amrmb09 in forum Advanced JavaReplies: 5Last Post: 11-21-2010, 02:08 PM -
Parsing XML attributes
By javanewbie2020 in forum XMLReplies: 1Last Post: 11-02-2010, 12:39 PM -
Get CSS Attributes using Java
By justinmifsud in forum Advanced JavaReplies: 0Last Post: 09-20-2010, 04:11 PM -
Methods and Attributes Layout
By Bascotie in forum New To JavaReplies: 2Last Post: 01-16-2009, 12:53 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks