hello every one u kindly help me.i m intrested to server programing.i don't know wat is method for running jdbc code. if take any code througe jsp and else show error.i can;t understand where i write the code of java and run.i m programing j2sdk.please reply
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a
member of our community. Consider creating an
account or login.
Are u trying to make jdbc connection in a JSP page? In that case u need a web server such as Tomcat server. U can download tomcat server from this url
<a href="https://tomcat.apache.org/download-60.cgi" target="_blank" rel="nofollow noopener noreferrer">Apache Downloads</a>
The jdbc connections in jsp are made in the same way as in rest of the java, nothing different
Use the "<% ....%>" tags in jsp to write write your jdbc code. But it is generally recommended you code the jdbc connections in the servlet rather than the java server page.