|
-
How the Forums Work (Posts, ID #, etc)
I am wondering if anyone could give me a brief overview of how the forums work -- esp. when someone creates a new thread.
How exactly does the JSP know to link to that thread? Is it generating a unique ID from the database or using it's own custom code? How does it point to that thread? (I'm SO *FRUSTRATED*. I've tried to figure this one out for about a MONTH.)
I've started to create a help desk, where it takes form data and posts it to the database. (That issue solved.) The database assigns it a unique ID -- primary key. I'm having trouble displaying the problem record for that ticket ID. (I'm new to Java and really been pulling my hair over this one for about a month.)
Let me go into some more detail:
I have these form objects:
- Name
- Technical Summary
- Severity
- Problem
This is a standard html form page. The standard html page posts to a JSP page, where the JSP page uses a prepared statement to insert the form data into the database. The query page, (query.jsp) has a table, which only shows TicketID, Name, Technical Summary, and Severity. Obviously, the TicketID is an int and generated by the DB, as 1, 2, 3, 4, and so on...
So if someone created an issue it'd be assigned a unique ticket id. Note that from the query page, it DOES not show the problem. I WANT there to be a link to get the problem record in that row.
If anyone could help me out with this one, that would be great.
Similar Threads
-
By Anjana Jonathan in forum Careers
Replies: 5
Last Post: 07-03-2006, 03:15 AM
-
By ASPSmith Training in forum dotnet.announcements
Replies: 0
Last Post: 06-14-2002, 07:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks