Results 1 to 7 of 7
  1. #1
    darstar007 is offline Member
    Join Date
    Jan 2012
    Posts
    4
    Rep Power
    0

    Default Beginner Java assignment

    Hi all,

    I am new to Java (not to programming though). I have a class assignment which I have been told is very simple. Here is the description:

    Write a simple application that returns a confirmation web page.

    - Write the program using Java based tools/libraries. You can use Eclipse, JSP, Servlet and tomcat to complete the assignment.
    - Provide all source code, .war and any other documentation which you feel is appropriate
    - You should be able to run the application in Tomcat server.

    1. Use the attached html file (request.htm) to create a data entry page. This page has a simple form with text boxes and a submit button.
    2. The submit button must perform an action - all of the input from the page will be sent to the server.
    3. The server should return a confirmation page. This confirmation page should show the data that user has entered in step 2. This page should show the data in a HTML table.

    Where do I begin???? I have installed Eclipse and Tomcat on my PC. Can anyone point me to a tutorial which would describe how I can tackle this simple project?

    Thank you very much.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default Re: Beginner Java assignment

    You can start from the step 1 in your assignment, where you have to create the UI. Start from the following,

    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)

  3. #3
    darstar007 is offline Member
    Join Date
    Jan 2012
    Posts
    4
    Rep Power
    0

    Default Re: Beginner Java assignment

    Thanks for the reply. I dont see anything related to JSP, Servlet and tomcat and how they interact in the link that you posted. Are there any tutorials specific to this set-up that someone can point me towards.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default Re: Beginner Java assignment

    Sorry about that. Pick the wrong link from my list. Have a look at the following.

    http://www.myeclipseide.com/document...s/webdesigner/

    Anyway going through the previous link, which is related to Swing, helps you a lot to have a better understand on key points.

  5. #5
    vinci123 is offline Member
    Join Date
    Aug 2011
    Location
    INDIA
    Posts
    64
    Rep Power
    0

    Default Re: Beginner Java assignment

    as you mentioned you are new to java ,so i suggest you to go through some good java books and then do start such programs .they are middle level programs while you may need to initiate with some easy level program
    I can and I will

  6. #6
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    5

    Default Re: Beginner Java assignment

    why don't you start with designing your app. simply list the components and specify how the interact. btw: in google you will find a lot of links with: j2ee tomcat tutorial
    Last edited by j2me64; 01-24-2012 at 11:01 AM.

  7. #7
    darstar007 is offline Member
    Join Date
    Jan 2012
    Posts
    4
    Rep Power
    0

    Default Re: Beginner Java assignment

    Thanks to everyone for your replies. On this particular project, I don't have the luxury of much time to start from scratch, unfortunately. I was able to follow the tutorial at:

    Servlet and JSP development with Eclipse WTP

    and get it working. I now need to translate this working example to my project. First question is: what is the html form that we have been given. The servlet or a JSP? It is simply an html page with a form, text boxes, and a submit button.

    Thanks for any insight.

Similar Threads

  1. Java Grade 11 Beginner Help
    By dharav in forum New To Java
    Replies: 3
    Last Post: 12-18-2011, 05:01 PM
  2. Beginner in Java - need some help
    By ea09530 in forum Advanced Java
    Replies: 4
    Last Post: 04-05-2010, 11:47 PM
  3. java beginner
    By devstarter in forum New To Java
    Replies: 4
    Last Post: 03-03-2010, 08:39 AM
  4. Java Beginner needs help!!
    By Polyy in forum New To Java
    Replies: 4
    Last Post: 11-23-2008, 02:11 AM
  5. beginner to Java
    By notwist in forum New To Java
    Replies: 15
    Last Post: 04-18-2008, 09:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •