Hello, we have <form name="" action="" target=""> Is it possible to set / change the value of target attribute in my service method of the servlet, so that i can control when to open the output in a new window. I have a situtation where i have to decide(whether to open a new window or display the result in same window) after retrieving request parameters. I am confused, plz help thanks
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
servlet processing happens server-side, after the form has been submitted. The target has already been remembered by the browser, and the response the servlet sends back will appear either in the same window or a different one. This is up to the browser, and there is nothing your servlet can do about it.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com