Prashant Singh wrote:
I have been able to display the all the products on a jsp. Now I need
to click on one product and execute the action class and and display
all the suppliers supplying the product.

I have not been able to execute the action class as I am not able to
populate the productID or the productName from the front end jsp. Basically I am trying to reach the action class from href link which
I am able to do but I am not populating the productId and
productName.

I did  read the docs but did not get any answers.

Please Help.

Are the links rendering properly? Are you actually iterating over anything? In the code you're iterating over "productName", which to me sounds like a single entity.

Looking at your code I'm suspicious--what is this supposed to do?

 public String doList()
 {
  suppliers=getSupplierName();
  productName=getProductName();
  productId=getProductId();
  return "populate";
 }

You're calling a local method to set a local value with itself.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to