File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP pages list view and grid view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP pages list view and grid view" Watch "JSP pages list view and grid view" New topic
Author

JSP pages list view and grid view

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
Hello friends,
I'm looking for an example code for jsp list view and grid view. I have created list view and grid view within the same jsp page. now I need to show list view when the user selects list view button and grid view when the user selects grid view button. Help me to figure out this.
cheers ....:)
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 146

Is List View is a Tree ?


hate Professionalism
Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
No it's just like a data table. you can see a sample here
example
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 146

Gihan Pandigamage wrote:No it's just like a data table. you can see a sample here
example


Thank You.

This doesn't come under Jsp :)
As far as i know i can use Javascript , based on onclick() gives different Action with respect to element (div ) .Based on the URI do business Logic and and display in same JSP page.

or you may use Ajax and JSON .

The Later sounds fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP pages list view and grid view