Results 1 to 8 of 8
- 01-25-2012, 07:48 PM #1
Member
- Join Date
- Jan 2012
- Posts
- 3
- Rep Power
- 0
New to jsp programming with html/tomcat(need help).
Hello,
I need help to complete a task, well the idea is to develop a help desk that will allow a user to make requests for information and then for example I reply back to that request, sort of like a forum. It also has to show the current status of user requests for any questions that have been posed by the user. For example, showing the date and time from when the user has submitted a request. Followed by the status for example pending if the question has not been answered and "answered" if the question has been answered.
I have looked at some tutorials, but most of those only tell me how to create a form which takes a users input for example, registration form and those details are then posted back to the user. But in my case, I will have to take details from the user but then post them back of what I have replied with.
Can someone please help. Any ways/ideas on how I can start this.
Thanks.:)
- 01-25-2012, 08:52 PM #2
Re: New to jsp programming with html/tomcat(need help).
Don't double post. The thread you started in the Servlets forum has been deleted.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 01-25-2012, 09:00 PM #3
Member
- Join Date
- Jan 2010
- Posts
- 19
- Rep Power
- 0
Re: New to jsp programming with html/tomcat(need help).
Well, you can use forms to submit data(request) to the database.
And query data according to your need. For example you need to show requests where the status == "answered"
- 01-25-2012, 09:16 PM #4
Member
- Join Date
- Jan 2012
- Posts
- 3
- Rep Power
- 0
Re: New to jsp programming with html/tomcat(need help).
so first of all generate a html page in which asks the user to submit any information they would like to have answered and then also create a separate JSP page which manages it. but I am still confused on how to reply back to the users request. Will I have to create an additional JSP page, what will I have to do?. Thanks.
- 01-26-2012, 09:35 AM #5
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: New to jsp programming with html/tomcat(need help).
Write down the individual elements (stories, use-cases, whatever you want to call them).
So, Ask Question, View Questions, Answer Question (note these are off the top of my head and may not be suitable).
Then pick one and model it.
Don't attempt to do all this in one go.
- 01-29-2012, 12:10 AM #6
Member
- Join Date
- Jan 2012
- Posts
- 12
- Rep Power
- 0
Re: New to jsp programming with html/tomcat(need help).
nikhilsharma,
"I am still confused on how to reply back to the users request"
Your JSP page calls another JSP that is the template for the reply, by naming that other JSP in the first one's HTML <form ACTION="Reply.jsp">.
If you want greater programatic control, use servlets; JSPs get compiled into servlets. If you want more sophisticated UI tools, use Java Server Faces. If your data is more complex than flat files and needs to be kept even if someone trips over the power cord to the webserver, use a database.
Howard Hyde, author, 'Java Web Database Application Development' (JavaWebDB.com).
- 01-30-2012, 11:23 PM #7
Member
- Join Date
- Jan 2012
- Posts
- 3
- Rep Power
- 0
Re: New to jsp programming with html/tomcat(need help).
Hello,
thanks for all your replies. As I am quite new to JSP programming I am not too sure on what some of you guys have posted. I would like to get started on this by doing small bits at a time. Could you please help me in how I can get started with this as once I have started to code, hopefully everything will fall in and will make sense. Thanks.
- 01-31-2012, 12:18 AM #8
Member
- Join Date
- Jan 2012
- Posts
- 12
- Rep Power
- 0
Re: New to jsp programming with html/tomcat(need help).
NikhilSharma,
Click this link to see a detailed elaboration of JSP programming, small bits at a time: A Trivial JSP Application
Hope this helps.
-Howard
Similar Threads
-
Exception in tomcat 6.0.Unable to launch the tomcat properly even in the eclipse
By medoju srinivas in forum Advanced JavaReplies: 0Last Post: 10-20-2011, 10:10 AM -
Programming RFID (base on http://docs.sun.com/source/819-4684/RFID-intro.html)
By rey1024 in forum Advanced JavaReplies: 1Last Post: 08-25-2010, 10:07 AM -
How can I include a html file in html textarea?
By surya_dks in forum New To JavaReplies: 2Last Post: 10-04-2008, 07:20 AM -
Tomcat In Eclipse - Sysdeo Tomcat Plug-in
By JavaForums in forum EclipseReplies: 1Last Post: 02-13-2008, 10:33 AM -
tomcat xml
By Ed in forum XMLReplies: 2Last Post: 07-04-2007, 05:39 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks