wood burning stoves 2.0
The moose likes Struts and the fly likes Need help, please... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need help, please..." Watch "Need help, please..." New topic

Need help, please...

Varun Narang
Ranch Hand

Joined: Nov 19, 2004
Posts: 30
Hello everyone,
I need a little help regarding my project design.
I am implementing Struts framework.
I have generated a JSP which has dynamic links based on certain values from previous pages. Now, there are few download links on it, which another Action class takes care of(I want it to use the datasource config of struts-config.xml). But now if user click on the download link, I don't want this page to change. I don't want to do the same using servlet because I'd have to configure seperate connection pool for it then(I am using Tomcat 5.9). Can anyone tell me how I can do that. I don't know how to deal with findForward() so as not to change the current page and still use the same datasource configured for struts.

Your computer system is like AC, it's of no use when you open Windows ;)
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
I would suggest that you return null from your execute method. Let me know if that works.

- Brent
[ March 15, 2006: Message edited by: Brent Sterling ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Need help, please...
jQuery in Action, 3rd edition