Discussions

Web tier: servlets, JSP, Web frameworks: connection in jsp

  1. connection in jsp (2 messages)

    how can i give the connection in jsp.i created the bean for it.is it nessacry to supply parameters in the bean tag in each page or one is enough?can anyone tell me abt the scope in bean tag.im new for jsp i know nothing in it

    Threaded Messages (2)

  2. connection in jsp[ Go to top ]

    hai karthik,

    connection in jsp is similar to what you write in java program. you write the java code in <% %> these tags.

    scope in bean tag are

    <jsp:useBean id="reference name" class="class name"
       scope="page/request/session/application" />
  3. connection in jsp[ Go to top ]

    Hi I have a query regarding the referencing of the class. How do we tell the JSP that the class file resides within a particular jar file?