Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2008
    Posts
    54
    Rep Power
    0

    Default How to pass two parameter in struts-config using dynaActionForm

    There is compiler error when i write in Struts-config file when i m passing two parameters 'cID=1946&priceRangeId=500' like this one,How can i write

    <action path="/DynaShopTest" type="com.angara.testShopCartManish.action.ShopTes t"
    name="testDynaForm" parameter="method" scope="request" validate="true"
    input="/angara/manager/dmx/processes/addToDMX/testShopCart.jsp" >

    <forward name="success1" path="/shop.do?cID=1946&priceRangeId=500"/>
    <forward name="success2" path="/shop.do?cID=1944"/>

  2. #2
    Join Date
    Jun 2008
    Location
    Delhi, India
    Posts
    6
    Rep Power
    0

    Default

    Another way to do pass one parameter with forward tag and put another parameter in request object in action class

  3. #3
    Join Date
    Jun 2008
    Posts
    54
    Rep Power
    0

    Default How to write two parameters in forward tag

    How can i pass one parameter with forward tag and put another parameter in request object in action class

Similar Threads

  1. DynaActionForm, passing Collection to JSP
    By Tokajac in forum Web Frameworks
    Replies: 0
    Last Post: 06-05-2008, 12:51 AM
  2. Using a variable in Struts config, to redirect
    By vijayr in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 05-12-2008, 09:33 PM
  3. question about struts-config.xml
    By christina in forum Web Frameworks
    Replies: 2
    Last Post: 02-15-2008, 11:45 AM
  4. struts-config.xml
    By Heather in forum Web Frameworks
    Replies: 2
    Last Post: 01-17-2008, 12:23 PM
  5. arugment/parameter
    By ravian in forum New To Java
    Replies: 5
    Last Post: 01-04-2008, 10:43 AM

Posting Permissions

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