• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

form submit button is not working

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


cvm.postCv()



OUTPUT is:
I am herenull

Why its not null whereas submit button has name and value. why the form is not submitted?

Thanks in anticipation
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the problem is that you are using a multi part request type. This prevents using getParameter() without any other logic.

A common way to deal with multi part requests is Apache Commons File Upload. This gives you access to the relevant parts.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much
 
Sourabh Bawage
Ranch Hand
Posts: 33
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and i think instead of using escape sequence.... you could also use single quote (')......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic