aspose file tools*
The moose likes Struts and the fly likes Struts2 CRUD - Edit - it is not displaying the value in JSP. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 CRUD - Edit - it is not displaying the value in JSP." Watch "Struts2 CRUD - Edit - it is not displaying the value in JSP." New topic
Author

Struts2 CRUD - Edit - it is not displaying the value in JSP.

T Ponraj
Greenhorn

Joined: Nov 07, 2007
Posts: 21
Hi,

I m trying for Edit functionality, I have passed id in to the action and got the value object from DB and I can print the value object in action class. but the values are not getting displayed in JSP.

I want to know my object is present in Value Stack. Can anyone help me, how to confirm this


2. I m passing value as querystring and I have the parameter name as variable(with set and get) in my action class. It is not populating the value. Dont know why? So i have used ServeletRequestAware Interface(with get and set), request object is null. So I used ServerActionContext.getRequest(), I m getting the request object.


Any idea, how to resolve the above two issues.

Regards

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Without seeing any code or configuration it's impossible to help; setting parameters works fine so it's probably something simple to fix.
bhavani evuri
Greenhorn

Joined: Jul 22, 2009
Posts: 8
you'll notice several "CRUD" applications that all deal with the same concept of updating mock Employee information (CRUD refers to the typical application's dealing with create, retrieve, update, and delete actions.) in below link follow learn technology topic


http://infochannel.weebly.com/javaj2ee.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 CRUD - Edit - it is not displaying the value in JSP.
 
Similar Threads
Problem in setting Application scope Object
how to set value of text field
get disabled values from HttpServletRequest parameter
Action Class or Regular Java Class to use?
how to get the value saved in request scope in a servlet into a jsp page