Results 1 to 2 of 2
  1. #1
    java4amanda is offline Member
    Join Date
    Jan 2012
    Rep Power

    Default 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,

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default 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

  1. How to change controls attributes
    By varesa in forum SWT / JFace
    Replies: 3
    Last Post: 06-23-2011, 06:41 PM
  2. Replies: 5
    Last Post: 11-21-2010, 02:08 PM
  3. Parsing XML attributes
    By javanewbie2020 in forum XML
    Replies: 1
    Last Post: 11-02-2010, 12:39 PM
  4. Get CSS Attributes using Java
    By justinmifsud in forum Advanced Java
    Replies: 0
    Last Post: 09-20-2010, 04:11 PM
  5. Methods and Attributes Layout
    By Bascotie in forum New To Java
    Replies: 2
    Last Post: 01-16-2009, 12:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts