aspose file tools*
The moose likes Servlets and the fly likes form submit button is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "form submit button is not working" Watch "form submit button is not working" New topic
Author

form submit button is not working

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732


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

Joined: May 26, 2003
Posts: 30764
    
156

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Thank you very much
Sourabh Bawage
Ranch Hand

Joined: Sep 03, 2013
Posts: 33

and i think instead of using escape sequence.... you could also use single quote (')......


SCJP
 
Don't get me started about those stupid light bulbs.
 
subject: form submit button is not working