File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes redirect with jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "redirect with jsp" Watch "redirect with jsp" New topic
Author

redirect with jsp

khurrum abdullah
Greenhorn

Joined: Oct 31, 2000
Posts: 6
I have inluded (action) top.jsp and left.jsp files in my main.jsp. top and left are also built dynamically. top and left have images. so when i reduce the number of images in top and left then the redirect in main seems to work. otherwise redirect doesnt show any page when executed.
i dont know what is the problem. if some one know then give me a detailed reply.
Paul Wetzel
Ranch Hand

Joined: Nov 02, 1999
Posts: 107
It may be that top and left are filling up the output buffer, which is being flushed before you redirect in your main is reached. Are you getting any errors in you web server (illegel state or socket write exception)? Try setting the buffersize larger response.setBufferSize() to something like 32000. Have you looked at the page source for the blank page you do receive> does it offer any clues? A little more detailed info on your part would help in solving this : error mesg, etc.
best of luck
paul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: redirect with jsp