Accessing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Apurva Sri
    New Member
    • Feb 2012
    • 1

    Accessing

    I have a dynamic variable iCounter which is the count of no. of rows on one jsp page declared as <% int iCounter %>
    Suppose, the no. of rows are 5, so the iCounter value will be set to 5. Now, i want to access this variable latest value into some other jsp which can be paased to a function.

    I am unable to do it. Please help me with the code. Many Thanks in advance !
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Submit the value with the form that submits to the next JSP and access it as a request variable from the request scope.

    P.S Consider using JSF/facelets instead of JSPs these days.

    Comment

    Working...