Jump to content

santhosh kumar

Members
  • Posts

    2
  • Joined

  • Last visited

santhosh kumar's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. ya.. i got that.. i wrote a separate jsp code (the form has the attribute enctype="multipart..") to upload a file and its working.. but when i use the the same coding in my existing code base (which is a form to post a message to a thread in a forum..) it is giving errors.. i belive the error could be in 'action' attribute.. in my code base the form is self submitting.. i am not sure how to make file upload work in aself submitting jsp..
  2. an appilication of ours uses an old forum management system.. if we go to the post message page, we have no option to attach file.. am trying to give attach file provision.. the form for post messages contains similar elements that are seen when you try to post in this w3schools forum.. the problem is for file upload, the form should have "enctype=multipart/form-data".. but my code shows error saying "Posted content type isn't multipart/form-data ".. so when shld or when shldn i use "enctype=multipart/form-data".. ?..can someone clear my doubts..
×
×
  • Create New...