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 JSF and the fly likes Redirection from a servlet doPost method 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 » JSF
Bookmark "Redirection from a servlet doPost method" Watch "Redirection from a servlet doPost method" New topic
Author

Redirection from a servlet doPost method

sonia pandit
Ranch Hand

Joined: Apr 19, 2008
Posts: 137
I have a multipart upload code in my doPost method which looks like this:



I get an error message as so:



If I uncomment the sendRedirect instead I get:

ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[code]

I have two applications, after logging in with a admin login on one application, they are redirected to the multipart update html page of another application.
This html posts to a servlet, I get a blank page when it posts to the servlet. I want it to redirect to the originating jsp where i want to write the file.
Not sure how to do this.

Thanks,

Sonia
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Redirection from a servlet doPost method
 
Similar Threads
How to display all headers of multipart request?
GWT fileuploading error
uploading a log file to data base by using servlet.
File upload issues
Upload servelet issues