Results 1 to 7 of 7
Thread: Beginner Java assignment
- 01-24-2012, 03:45 AM #1
Member
- Join Date
- Jan 2012
- Posts
- 4
- Rep Power
- 0
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.
- 01-24-2012, 05:00 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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)
- 01-24-2012, 05:19 AM #3
Member
- Join Date
- Jan 2012
- Posts
- 4
- Rep Power
- 0
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.
- 01-24-2012, 07:44 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 01-24-2012, 08:32 AM #5
Member
- Join Date
- Aug 2011
- Location
- INDIA
- Posts
- 64
- Rep Power
- 0
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.gif)
- 01-24-2012, 10:42 AM #6
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.
- 01-24-2012, 08:22 PM #7
Member
- Join Date
- Jan 2012
- Posts
- 4
- Rep Power
- 0
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
-
Java Grade 11 Beginner Help
By dharav in forum New To JavaReplies: 3Last Post: 12-18-2011, 05:01 PM -
Beginner in Java - need some help
By ea09530 in forum Advanced JavaReplies: 4Last Post: 04-05-2010, 11:47 PM -
java beginner
By devstarter in forum New To JavaReplies: 4Last Post: 03-03-2010, 08:39 AM -
Java Beginner needs help!!
By Polyy in forum New To JavaReplies: 4Last Post: 11-23-2008, 02:11 AM -
beginner to Java
By notwist in forum New To JavaReplies: 15Last Post: 04-18-2008, 09:41 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks