Skip to content

Tag: jsp

Insert data when selecting a dropdown option, MySQL, JAVA, JSP

well my english is not so good, but i will try to explain me, I have a question about how to make an INSERT query when selecting an option from my dropdown, I explain myself, I have a section to insert a user on my website, and an option to select a profile enter image description here It should be

Including JSTL implementation jar only

Following this answer, below is a simple JSP demo that includes only JSTL implementation jar(javax.servlet.jsp.jstl-1.2.1.jar), but not JSTL API jar(javax.servlet.jsp.jstl-api-1.2.1.jar), My understanding is, JSTL implementation jar holds both API(mostly Java interfaces) and it’s implementation. This is the reason test.jsp got compiled and executed successfully. Further, same approach would work with servlets using API implementation jar provided by Tomcat container without

An exception occurred processing JSP page, array list

I’m not able to figure out this problem. My error: org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 28 java class: jsp: I’m not sure what I did wrong, but I think that it is something about the definition of the bean. I appreciate every attempt to help! Answer Here’s what I did to get your app running.