my dog learned polymorphism*
The moose likes Struts and the fly likes passing parameter to a struts app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "passing parameter to a struts app" Watch "passing parameter to a struts app" New topic
Author

passing parameter to a struts app

Manon Baratt
Ranch Hand

Joined: Jan 30, 2006
Posts: 58
Hi,

I have a non-struts web app. I want to have a link in one of the pages that on clicking, it redirects to my struts app. Would something like this do it?
my link

Do I retrieve the id in myaction class via the session/request object?
Thanks
Manon Baratt
Ranch Hand

Joined: Jan 30, 2006
Posts: 58
Correction, the link should be:

Krishna Madhava
Greenhorn

Joined: Sep 21, 2007
Posts: 11
Hi,

you can call the action class through the action attribute of the html form..
I think you can call from html anchor tag using the action attribute also
If you post your code means it will be easy to tell exactly..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing parameter to a struts app
 
Similar Threads
Struts 2: Custom display of error messages
ActionForward provides jsessionid
display Struts content using JBoss Portal
ActionForward inserts jsessionid
Renaming the path in struts/spring app