No action instance for path /detail could be created
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   danny_rebello
Posted On:   Thursday, May 13, 2004 07:26 AM

hi everyone I am getting the above error in the file ProductList.jsp a href="detail.do?index= <%=i%>" my jsp files are located under webappsProductShopjsp my java files are under ProductShopWEB-INFclassescomlogin and ProductShopWEB-INFclassescomproductProductForm.java ProductShopWEB-INFclassescomproductProductDetailAction.java type="com.login.LoginForm"/> type="com.product.ProductForm"/> type="com.login.LoginAction" name="lo   More>>

hi everyone


I am getting the above error in the file ProductList.jsp


a href="detail.do?index= <%=i%>"


my jsp files are located under

webappsProductShopjsp


my java files are under
ProductShopWEB-INFclassescomlogin
and
ProductShopWEB-INFclassescomproductProductForm.java


ProductShopWEB-INFclassescomproductProductDetailAction.java










type="com.login.LoginForm"/>

type="com.product.ProductForm"/>












type="com.login.LoginAction"
name="loginForm"
input="/jsp/login.jsp"
scope="request">








type="com.product.ProductDetailAction"
name="productForm"
validate="false"
scope="request">





can anyone help me on this


thanks for any suggesstions


danny

   <<Less

Re: No action instance for path /detail could be created

Posted By:   sheetal_bhandari  
Posted On:   Thursday, May 13, 2004 01:15 PM

do as follows in ur jsp page:

<% String context = request.getContextPath();%>

a href="<%=context%>/detail.do?index=<%=i%>"


It should work.

-Sheetal
About | Sitemap | Contact