cancel
Showing results for 
Search instead for 
Did you mean: 

How to call one JSP from another JSP

Former Member
0 Kudos

Hi,

I am trying to redirect to a jsp from another JSP. When I use HttpServletResponse.sendRedirect(componentRequest.getPrivateResourcePath()+"/pagelet/newPage.jsp"); I get Page cannot be dispayed error.

I might probably have to use IResource. Not sure how to redirect to another JSP using IResource.

Any ideas??

Any help is highly appreciated.

Thanks

Lakshmi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Does the target of the redirect display when you call it directly?

Is the redirect really the last thing you need to do in that jsp?

Once the client get the redirect it is gone, does it have everything it needs to make the next jsp run properly?

Nick