This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
 
subject: redirect with jsp
 
Similar Threads
css positioning
closing a page with 3 frames
CSS and image positioning
java class paths
CSS question