Parameter « Form « JSP-Servlet Q&A





1. How to retreive the form's parameters of a JSP through a servlet    forums.netbeans.org

Hello, Since a JSP that is located under the WEB-INF directory of my project I would like to insert data into my DB with a source reference (declared with in web.xml .. ) And JSTL sql tags: update dataSource = "... j I try this same method in my index.jsp and it works perfectly: The trick was to put in ...

2. getting parameter names from form    coderanch.com

3. Getting Parameters from form    coderanch.com

4. obtain the form "name parameter"    coderanch.com

8. how to get form parameters data to a servlet?    coderanch.com

Thanks Devaka Cooray ,i'll upload my AddServlet(below). Which is the one having the(Servlet) code for run the application with a created mysql database.but this code compiles successfully, but doesn't add values to the database(I created database correctly,can you help to solve this problem? package src; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; ...