server programing

prabhat kumar

prabhat kumar

@prabhat-kumar-KhhWSv Oct 25, 2024
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
<snipped>

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • prakash.athani

    prakash.athani

    @prakashathani-RsvHp8 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>
  • gauravtiwari89

    gauravtiwari89

    @gauravtiwari89-9BeL7I 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.
  • prabhat kumar

    prabhat kumar

    @prabhat-kumar-KhhWSv Dec 18, 2008

    hey thanks to both of u.