Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Java Web

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java Web

    Hi everyone,

    I am Sundararajan.I am having lot of confusions in advance java.
    I am new to advance java.I am in learning stage of advance java.
    I am creating a small application.I have a jsp font page.i have a jdbc connection code.I have a sample table in my database.i want to retrieve datas from the database and display them in the view page.

    My questions are:

    Where do i have to write jdbc code?
    How can i display the retrieved data in the display page?
    Please guide me.

    Thanks in advance,
    Sundar


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Java Web

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    There are several tutorials on the 'net that guide you through these early steps at database and JSP programming. I recommend you search for, find, and work through those, returning when you have questions about that study. When you do, please post your code (correctly, per the above link), any errors you're getting, and specific questions that you have.

    Good luck!

  3. #3
    Junior Member
    Join Date
    Aug 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java Web

    I researched a lot .My jdbc code is working perfectly i can able to retrieve data from database.
    Only thing i want to know is where to write jdbc code and how to store those data and display those in the display page.
    Is it right to write jdbc code in the servlet service method?if so how can i access those data from jsp page to display.

    Please help me!!!!

  4. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Java Web

    Thread moved.

Similar Threads

  1. Replies: 1
    Last Post: August 4th, 2014, 05:47 PM
  2. Implementation of web data into non-web Java Application
    By MikeJones in forum What's Wrong With My Code?
    Replies: 0
    Last Post: August 4th, 2014, 05:43 PM
  3. Replies: 0
    Last Post: July 24th, 2013, 07:17 AM
  4. Java Web application Standards for web 2.0
    By srautpyaa in forum Java Theory & Questions
    Replies: 0
    Last Post: May 27th, 2013, 07:46 AM
  5. Java web client - > .NET web service
    By codeJ in forum Web Frameworks
    Replies: 0
    Last Post: July 8th, 2010, 04:34 AM