I have a JSP page called store.jsp, which simply takes input and writes to a database. I am having difficulty when I hit submit getting a connection to the database. In the web.xml file I have put <context-param> <param-name> javax.servlet.jsp.jstl.sql.dataSource </param-name> <param-value> jdbc:mysql:mydatabase,com.mysql.jdbc.Driver,username,password
</param-value> </context-param> Over all what I am trying to do is useing JSP pages: enter.jsp, store.jsp, search.jsp create a web application to access a mysql database. Thanks
Your right, but for this simple web app I just thought I would use pure JSP. A learning experience. I just figured out my web.xml context param was not configured correctly, works fine now. Thanks once again!
What's brown and sticky? ... a stick. Or a tiny ad.