Member • Jul 15, 2008
-
prabhat kumarhello 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
Howdy guest!
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.
Replies
-
Member • Jul 16, 2008
Hey Prabhat,
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>Are you sure? This action cannot be undone. -
Member • Jul 24, 2008
Prabhat,
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.Are you sure? This action cannot be undone. -
Member • Dec 18, 2008
hey thanks to both of u.Are you sure? This action cannot be undone.