hi to all,
i m new to struts2,jpa and i retrieved the data from database and i want to show it on my jsp page ,so please help me toprint the data on jsp page.
my action class is:-
We can't speculate on what might be happening without seeing the JSP code. You might also want to check the server log files to make sure there aren't any exceptions.
By the way, please UseCodeTags (like I have added now) when posting code of any length. It's unnecessarily hard to read the code otherwise, making it less likely that people will bother to do so.
there is no problem in action class it is executing fine and displying all system.out.printn messaages in my command prompt and also showing the result jsp page ,i have just a problem to show this user list on my jsp page .
OK. Now where do you think that JSP should output something? And where in the Java code do you think you're instructing it what to pass to the JSP page?
in action class i have mentioned in result tag which jsp has to open ,
the text field i have added just to check jsp page.
and i just want to show this list of user which i have retrieved from database i.e. list of my action class.