Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Help needed in understanding redirect option for downloading data.

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

In my struts based application, we have requirement where

point 1. User selects a name of an employee (click a link) where all his peers and managers name will be displayed in a table on a new page.
point 2. On that new page, we have another link "download details"
point 3. By clicking the link, user will be taken to another page which contains all peer and manager employee information.
point 4. On this page, users can download by clicking "download" link as we provide users to select what information of the employee to download like name, empID, department and so on.

Now, when users selects point 1. then we run a query which gets all the information about employee, peers and managers
when user clicks on link "download details" i.e. point 3. then we run another query by passing the employee, peers and managers information selected in the table.
when user clicks on link "download" point 4. then we run another query which get all the information about employee, peers and managers from the list.

The question is

During point 3. i.e. user clicking on link "download details", can we redirect the request to another server which uses same database?
For eg: The original URL will be https://testserver.com to https://dataserver.com to process the download i.e. point 4..

Thanks in advance

Regards,
Chinnu




reply
    Bookmark Topic Watch Topic
  • New Topic