Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Urgent - File Upload  RSS feed

Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am doing a file upload routine,it's working fine.but to check if the file exists i am submitting the first jsp(having the input type=file) then in second jsp i am checking the file existence,if true then fwd ing to the uploading servlet,else some error.
in this routine,in both the jsp pages,the form method is post,but till then when it goes to the servlet it says that "the get method not supported".How to solve the problem.?i am using the Jason hunter file upload routine,which requires the method=post.if in my upload servlet i call the post from get,still it does not work.
The problem is quite lengthy,Sorry for that.
Can anybody guide me on these lines.
thanks in advance
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!