This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic URL in struts 2" Watch "Dynamic URL in struts 2" New topic

Dynamic URL in struts 2

Prateek Jauhari

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

Ankit Garg

Joined: Aug 03, 2008
Posts: 9435

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:
subject: Dynamic URL in struts 2
jQuery in Action, 3rd edition