wood burning stoves 2.0*
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
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30146
    
150

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: form submit button is not working
 
Similar Threads
using model 1 Architecture for inserting row into DB...
Servlet
Getting null while trying to get value of Multiple list
loading one servlet from another servlet
AJAX call works in ie6 but not in firefox