Setting a value in request to <html:hidden> in struts

Discussion in 'Java' started by Chanchal, Oct 9, 2006.

  1. Chanchal

    Chanchal Guest

    Hi all
    in an action method, i'm setting a string to request as
    request.setAttribute("ACTIVITY_ID", activityId);

    in the jsp page to which the action is forwaded after this action, i
    need to set the value of this into a <html:hidden> tag.

    Can anyone tell me how to do that.
     
    Chanchal, Oct 9, 2006
    #1
    1. Advertising

  2. <html:hidden property="someProperty"
    value="${requestScope.ACTIVITY_ID}"/>

    -cheers,
    Manish
     
    Manish Pandit, Oct 9, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. PJ6
    Replies:
    4
    Views:
    13,866
  2. msa
    Replies:
    2
    Views:
    13,365
  3. Hole
    Replies:
    0
    Views:
    1,082
  4. Rick
    Replies:
    3
    Views:
    8,604
    Alexey Smirnov
    Apr 13, 2010
  5. Jim

    Setting a value to a hidden field

    Jim, Jun 9, 2004, in forum: Javascript
    Replies:
    1
    Views:
    106
Loading...

Share This Page