How do i repost post data, so that i can generate a print preview of a page, by applying a different style sheet. GET is not an option as the data can exceed url length limit.
Here is the premise, FORMPAGE posts data to RESULTSPAGE, RESULTSPAGE has a print preview button which reloads the RESULTSPAGE page and applies the print style sheet, so that the user can see the preview in the browser before printing. Currently I was Passing the form data via GET *(resultspage.php?value=print&data=data)*, however this won't do for larger amounts of data.
The manual option is to collect all the post data and pass the data through hidden form fields or perhaps use CURL, although I cant seem to visualize how that will work.
JSP has a Request Dispatcher, i guess