This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Dynamic URL in struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic URL in struts 2" Watch "Dynamic URL in struts 2" New topic
Author

Dynamic URL in struts 2

Prateek Jauhari
Greenhorn

Joined: Mar 07, 2011
Posts: 26

I have to generate dynamic url on a jsp from the value fetched from the Database.

I am trying to fetch user from the database. Now I have to list all the user name over a jsp page designed using struts 2. Now each user name have the hyperlink.
As I select a hypelink, edit page has to be displayed having the information of the user I have selected.

Is there possible way to this...
Please help

Thanks in advance

Regards
Prateek
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

You just need to see samples of CRUD applications with Struts 2. This is very easy to implement. You can read articles or a book to learn how to do such things...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic URL in struts 2
 
Similar Threads
Dynamic defining fields in Strtuts-config.
Toggling of a table
Suggestion on templated page
Struts2: Server side response.....
Using struts-html tld and using html:link