forward « J2EE « JSP-Servlet Q&A





1. Call an external web service from a servlet    stackoverflow.com

I'm developing a servlet that gets a name of a web service and could be forward the request to an external web service, for example: http://www.webservice.com/... I have build a response wrapper ...

2. Why if i have a double while cycle with a getRequestDispatcher("/SampleProvider").forward it fails?    stackoverflow.com

I'm living a really strange bug... Lets imagine a servlet with this code:

    while(true){
        msg=com.getM();
       ...

3. Forward to JSP outside of war    coderanch.com

I have a servlet in a deployed .war file on Sun Java System Web Server 6.1. I have a JSP that is not deployed in any .war file. How do I forward from the servlet to the JSP. I can't figure out how to obtain a context to the jsp pages in the default webapp which are outside of a .war ...

5. Weblogic Not Forwarding to j_security_check    coderanch.com

If you are using any type of authentication, a forwarded request made with the tag, by default, does not require the user to be re-authenticated. You can change this behavior to require authentication of a forwarded request by adding the element to the element of the WebLogic-specific deployment descriptor, weblogic.xml. For example: I hope this ...