function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

how to redirect to jsp

how can i use jsppage  in my iis server 

i have a pages created on asp but i need need to call few jsppage in that so how ca i do that



Daniel ThomsonDaniel Thomson
I'm not sure if you just want to redirect to an ASP page from a JSP page, in which case, you should use response.sendRedirect() eg <% ... response.sendRedirect(""); %> Remember though that this must be executed before any output is sent to the. Also note that whatever parameters sent to your jsp page will be sent to your asp page. Once you have redirected to an ASP page, control is now turned over to the ASP page and there is no way to return to your original JSP page. On the other hand, if you calling an ASP page to retrieve non html outputs (eg xml) so that you can parse it in your JSP page, consider opening a url connection to that ASP page. Retrieve the output back from the asp page and then parse the output for your own purpose. Look at for an example of the how you would do that except you want to embed the code in a JSP scriptlet and set the url to your asp in the URL object.