Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Urgent - File Upload  RSS feed

Vrunda Joshi
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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!