cache the jsp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elangobala
    New Member
    • Sep 2007
    • 30

    #1

    cache the jsp

    hi, I want to know how to cache a page in jsp and also how to cache the database connections so that we dont want to establish a connection for each and every page.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by elangobala
    hi, I want to know how to cache a page in jsp and also how to cache the database connections so that we dont want to establish a connection for each and every page.
    Have a look at the Apache Commons Project; and take a close look at the
    DBCP sub-project.

    kind regards,

    Jos

    Comment

    • dmjpro
      Top Contributor
      • Jan 2007
      • 2476

      #3
      Originally posted by elangobala
      hi, I want to know how to cache a page in jsp and also how to cache the database connections so that we dont want to establish a connection for each and every page.
      You can keep your Connection Object in session.
      And why do you want to cache a Jsp page?

      Kind regards,
      Dmjpro.

      Comment

      Working...