Meaningless Drivel is fun!
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 REST with Spring (video course) this week in the Spring 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: 9452

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
It's not a secret anymore!