aspose file tools*
The moose likes JSP and the fly likes Jsp and Hrefs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Jsp and Hrefs" Watch "Jsp and Hrefs" New topic
Author

Jsp and Hrefs

shanthini raman
Greenhorn

Joined: Aug 19, 2008
Posts: 2
Hi,
I have a jsp page whic is used to write current details and history details so far.But Now the history is becoming large for some resources it that case so I need to apply a new requirement on top of it.As I need to have a href link for jsp which has to write history details only if they required or resources wish to see their history details.so that I can to improve the performance time of the details page byretrieving only current details and kept the History details as History Link.
Can you please give me some IDea How can I modify the existing page to the expecting page.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

Welcome to CodeRanch!

I'm not sure what you mean by "only if they are required". In a nutshell though, you have a link to another URL. Which calls a servlet to get the history and then a JSP to display the history.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Wayan Saryada
Ranch Hand

Joined: Feb 05, 2004
Posts: 105

First, you can limit the information of the history details using paging mechanism. Only display some data and allow user the see the next or previous items. Another way is to divide the page into two JSP pages. One for the details which then have a link to another JSP page that display the history. You'll also need to implement the paging here as well.


Website: Learn Java by Examples
 
Consider Paul's rocket mass heater.
 
subject: Jsp and Hrefs