please help me ........when i create connection sql with jsp and use javascript for validation control..but when i click submit button there has work only one thing either insert data into database or javascript(when i remove <form action=""...>)
i want to do work both ..

No idea what you're really talking about, but this seems more of a JavaScript/HTML question (i.e. how to write it properly) than a JSP question (since the actual action seems to work, according to your statement, but that you cannot get the HTML/JavaScript the way you want it).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.