Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Jsp Data Grid

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

11 comments so far (post your own) View All Comments Latest 10 Comments:

I want to retrieve all record from database page by page but in this examplle in count attribute u hav written 11 which gives only three pages

Posted by Roshan on Wednesday, 10.27.10 @ 17:29pm | #100516

I used the datagrid code but this gives only 11 record , i want to show all records stored in database. what should i give in count attribute of paging tag.

Posted by Roshan on Tuesday, 10.26.10 @ 10:31am | #100484

Sir

i modified the above code of my own but it didn't work it gives exception as

org.apache.jasper.JasperException: XML document structures must start and end within the same entity.

so please help me in this regard
Thanks.

Posted by Prince on Wednesday, 08.25.10 @ 01:54am | #99136

The above code shows the following error...

According to TLD or attribute directive in tag file, attribute test does not accept any expressions

Pls reply how to rectify

Posted by Fathima on Wednesday, 06.9.10 @ 11:14am | #97459

<%@ taglib uri="http://jakarta.apache.org/taglibs/datagrid-1.0"
prefix="ui" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
----------- If No internet connection , the ui tag c tag and fmt tag is working or not... if not means how to run without internet connection.

Posted by Nagarajan T on Wednesday, 02.10.10 @ 12:04pm | #94721

how to edit particular row in this datagrid

Posted by hari on Tuesday, 12.29.09 @ 20:05pm | #93679

I have 2 probleam

1

<paging size="4" count="11" custom="true" nextUrlVar="next"
previousUrlVar="previous" pagesVar="pages"/>
<order imgAsc="up.gif" imgDesc="down.gif"/>


in count of pageing
i want to count all record from database such as employee.size();

if fix number : page number of under page is wrong

2 i want to show picture for dec or asc link now i copy picture to root project but it not show

sorry my language is weaken

thank you verry

soda.spring@windowslive.com

Posted by soda on Thursday, 10.8.09 @ 23:45pm | #91570

hello i get the following error when running the above code. plz help

org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/taglibs/datagrid-1.0 cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:317)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:430)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:499)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1558)
org.apache.jasper.compiler.Parser.parse(Parser.java:130)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:176)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

Posted by priya on Thursday, 10.8.09 @ 16:12pm | #91552

Great example !! It is working fine alone but but when attempted to run with other project in different webapps directory shows following error message, what is missing... ...please help
/data_grid.jsp(122,0) According to TLD or attribute directive in tag file, attribute items does not accept any expressions

Posted by Avijit Dutta on Tuesday, 06.23.09 @ 17:11pm | #88743

I m using this code with minor code modifications. But, its displaying not more than 3 pages however large the result set is. In other words its not displaying all the records. How to make it work to display all the records?

Posted by Red Hunt on Tuesday, 01.6.09 @ 03:17am | #83512

i am verry much found of java,jsp and servlet programming

i am very happy by getting datagrid sourcecode

thanks

Posted by Ashok on Tuesday, 10.7.08 @ 10:59am | #80936

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.