Scope of JSP Objects

The availability of a JSP object for use from a particular place of the application is defined as the scope of that JSP object. Every object created in a JSP page will have a scope. Object scope in JSP is segregated into four parts and they are page, request, session and application.

This JSP tutorial was added on 10/06/2008.

Comments on "Scope of JSP Objects" Tutorial:

  1. Muralidhar says:

    Hi,Your explanation about scope of jsp objects is very good.It is very helpful to me.I found the clear information about the jsp objects scope.

    Thanks….Keep Posting similar articles.

  2. Anonymous says:

    expalain in detail

  3. Nishit Shah says:

    Excellent!

  4. ANAND says:

    Your explanation about the JSP scope objects is really good.
    But if i’m not going to use <jsp:useBean tag in the form then what will be scope of the jsp page.Is it page or else any other scope from the remaining.

  5. sushma says:

    its true…………..

  6. sushma says:

    jsp:tags in detail??????/

  7. Anonymous says:

    thank for good explanation;
    shohag

  8. ramesh says:

    very nice explanation…

    thank you Joe

  9. Jyotshna Pardhia says:

    exellent explanation….
    its really a useful article…
    thnks..

  10. sam says:

    exellent explanation….

  11. nik says:

    it is not a good example……

  12. SHOWNISHA says:

    Hi,

    Scope of JSP Objects are

    1.request
    2.responce
    3.application
    4.session
    5.out
    6.config
    7.pagecontet
    8.page
    9.exception

  13. SHOWNISHA says:

    Hi,

    I read your article easy to understand for freshers and usefulll…

    do the needful thro out your life

  14. Sunitha PV says:

    Hi SHOWNISHA,

    The list you had given above are JSP implicit objects. You are mistaken that with the scope of JSP object.

  15. Janese says:

    Stellar work there eveoynre. I’ll keep on reading.

  16. rajasekhar says:

    TO Shownisha: Hi, 9 objects which you had listed out were not scope of the JSP objects, they are implicit objects. What joe mentioned those 4 are scopes

  17. Hiren Raiyani says:

    thanks,

  18. syamsunder says:

    could u pls send example for each scope objects in jsp

  19. Krishna Mohan says:

    good one.

  20. NARASIMHA says:

    I LIKE JAVA VERY VERY MUCH,I ALSO JAVA SE 6 CERTIFIED PROFESSIONAL(OCJP 6). GIVE NEXT STEP FOR MY BRIGHT FUTURE…

  21. hari says:

    good

  22. prabhu says:

    please send me the java books which is useful

  23. Saumya says:

    not too satisfying…add life to it with a few examples…layout is nice.

  24. Anonymous says:

    please provide the examples for each,it will be easy to understand the new people

  25. Anonymous says:

    hi I want scopesof jsp with examples
    thanku

  26. ckj says:

    thanku sir ji

  27. vipin says:

    How container differentiate between servlet and jsp………?

  28. pravin says:

    Your notes are really very easy to understand.

  29. Shripad says:

    hello Joe,

    Very nice and simple explanation of everything. I understood the scope of jsp objects but still can you give me live example for these scope? So it will help me more to remember.

    Thank you.

  30. adesh says:

    good tutorial

  31. Narpath says:

    Hi joe,

    Please provide How will we handle the error code like 500 internal server error in application level ?

    Thanks in advance.

  32. Ram says:

    Simple and clear
    Thanks a lot

  33. Anonymous says:

    These are implicit objects

  34. purshireddy says:

    Thank u very much for sharing information. …

  35. Anonymous says:

    its really very gud for understanding thank u very much for sharing info

  36. milon says:

    Very nice explanation if have an example it will be beter than now. thanaks

  37. Anonymous says:

    clearly understood.

  38. Anonymous says:

    good

  39. Anonymous says:

    Thanks….example needed

Comments are closed for this "Scope of JSP Objects" tutorial.