Link to home
Start Free TrialLog in
Avatar of nphnhi
nphnhi

asked on

struts parsing error

Hello,
I'm using struts; but when I want to pass the paramater in tag forward, i got an error.
<action-mappings>
<action
            attribute="aForm"
            input="/form/a.jsp"
            name="aForm"
            path="/a"
            type="aAction">
            <forward name="bb" path="/form/a.jsp?referer=a.do&type=1" />
            <forward name="curve_ppie" path="/form/a.jsp?referer=a.do&type=2" />
        </action>
</action-mappings>

with this one, I got an error like that:
GRAVE: Parsing error processing resource path
org.xml.sax.SAXParseException: The reference to entity "type" must end with the ';' delimiter.

Please show me how to solve this
Thank you very much
ASKER CERTIFIED SOLUTION
Avatar of sompol_kiatkamolchai
sompol_kiatkamolchai
Flag of Thailand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We cannot use & in xml directly. We have to change it to &amp;

Good luck,