Results 1 to 3 of 3
  1. #1
    Kavit Gamot is offline Member
    Join Date
    Jan 2009
    Location
    India,Gujarat - Ahmedabad
    Posts
    5
    Rep Power
    0

    Post Difference between Session.setAttribute and System.setProperty

    hi all !!!

    I am quite confuse. I want some information about difference of session.setAttribute and System.setProperty.

    where should i use Session?
    give some information with example.

    Thanks....

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    System.setProperty changes the Java environment.

    Session is an object associated with Web application servers.

    Tomcat is a standard Web application server, if that is what you are working on. Check out their documentation, it explains all the concepts.

Similar Threads

  1. what is the difference between jsp and jsf?
    By makpandian in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 12-31-2008, 06:55 PM
  2. Replies: 2
    Last Post: 12-23-2008, 07:35 PM
  3. System.setProperty("http.agent"..) appends Java/1.6
    By wwuster in forum Advanced Java
    Replies: 1
    Last Post: 10-25-2008, 04:20 PM
  4. difference between system.out.println() & out.println()
    By wickedrahul9 in forum Advanced Java
    Replies: 5
    Last Post: 10-19-2008, 12:06 AM
  5. difference
    By nishant in forum New To Java
    Replies: 2
    Last Post: 09-17-2008, 07:04 PM

Posting Permissions

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