Skip to Content

response.sendRedirect - possible from EP 6.0 SP2 JSP-Pages?

We have a set of pages we're trying to port from a Tomcat site over to our EP 6.0 SP2 instance. It's especially the following page we just can't get to work (and which works like a charm with the Tomcat container):












// do something ...





The JSP Compiler crashes with the following exception: cannot resolve symbol

symbol : method sendRedirect (java.lang.String)

location: class com.sapportals.portal.prt.servlets_jsp.server.jsp.response.JSPResponse



1 error

at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compileExternal(

at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compile(

at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2004 at 09:35 AM

    It's because in the portal, the response object is not the normal response used in J2EE but it is a com.sapportals.portal.prt.component.IPortalComponentResponse object. On this object there is no sendRedirect method but there is a method to access the "normal" response object by doing :


    Try this.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.