hi

i noticed something weird...

in my struts-config.xml i had

<action path="/addItem" name="addItemForm"

type="com.qpm.usergen.action.AddItemAction" scope="request"

validate="true" input="/pages/AddItem.jsp">

<forward name="success" path="/pages/AddItem.jsp" />

</action>
and i was getting an error saying that resource not found /pages/AddItem.jsp

so i changed the path in the forward tag to

<forward name="success" path="/AddItem.jsp" />

and it worked fine...
now my question is how come this worked fine when my jsp is
actually in a folder called pages in the root and not in the root...

thanks

--
Urooj Khan

Reply via email to