www.webdeveloper.com
Results 1 to 2 of 2

Thread: <jsp:param> with ActionFrom

  1. #1
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    2

    Question <jsp:param> with ActionFrom

    Hi,

    I'm trying to include another jsp page (with parameters) in another jsp. I need to dynamically gerenate the param values using struts ActionForm. I've tried the following:

    1)
    <jsp:include page="opp_display.jsp" flush="true">
    <jsparam name="tab2" value="<bean:write name='ReportForm' property='biDisplay'/>" />
    </jsp:include>

    2)

    <jsp:include page="opp_display.jsp" flush="true">
    <jsparam name="tab2" value="<bean:write name='ReportForm' property='biDisplay'/>" />
    </jsp:include>


    Any help will be much appreciated!!

    wc2004

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Try using the expression syntax for the value, e.g.
    Code:
     <jsp:param name="tab2" value="<%= ReportForm.getBiDisplay() %>" />

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles