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 Paging

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

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

hi..
iam using this code in my application but had a problem in pageContext.setAttribute("tCount", tcount);

error---
The method setAttribute(String, Object, int) in the type JspContext is not applicable for the arguments (String, int)

Posted by sachin on Tuesday, 02.2.10 @ 16:43pm | #94526

Hi, I am also getting the same error.
does it necessary to add something in web.xml?

Posted by Azeem on Friday, 01.15.10 @ 11:49am | #94050

Hi,
I am trying to run the example to paging in jsp.but getting error at line --<ui:dataGrid items="${empList}" var="employee" name="datagrid1" cellPadding="0" cellSpacing="0" styleClass="datagrid" >-- asking that items can't contains expression.I am not able to resolve it..plz help

Posted by Irfan on Thursday, 01.7.10 @ 16:40pm | #93863

your nice sample is not working
with tomcat 6.0.20.
The navigation links( Previous 1 2 3 Next) could not be displayed..

Any help???

Andy

Posted by Andy on Wednesday, 07.15.09 @ 01:46am | #89321

navigation links (Previous 1 2 3 ... Next) could not be displayed while trying your sample on tomcat 6.0.20. Any help..plz??

Posted by Andy on Tuesday, 07.14.09 @ 17:34pm | #89311

Halo..i try using above code..
but when it display data in datagrid,it will have strange"\" value at datagrid...

For example, for Username which suppose to be display as"john" will be display as"\john"..

anybody encounter same problem with me?i can't solve it...

Posted by Ng on Tuesday, 06.9.09 @ 19:23pm | #88368

Thank u very much.

Posted by Hitesh N Patel on Wednesday, 05.27.09 @ 10:51am | #88055

Thanks guys. The following files are required: 'commons-math-1.0-dev.jar, taglibs-datagrid.jar, mysql-connector-java-3.1.6-bin.jar and jstl.jar'. Please where do I get the above files from? Assist me. Thanks

Posted by Emmanuel on Wednesday, 05.13.09 @ 07:25am | #87651

Hi

Why we got following error when running this examples ?


Exception

public method setScroll(String) and setScroll(Object) not found in org.apache.taglibs.datagrid.Datagrid class

Why this exception ?

What we had to do to get the JSP run ?

We used Blazix webserver and not Tomcat Webserver

We hope to get your answer to my email:

tran_lang@hotmail.com

soon.

Thanks

Best regards

Tran

Posted by Tran on Thursday, 04.23.09 @ 13:33pm | #87068

datagrid api from Jakarta is deprecated can is still use it now.

Posted by siva on Saturday, 04.4.09 @ 16:53pm | #86504

Sachin, I am not sure if you figured this out already or not but use the following taglib.

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

Posted by ahsan on Tuesday, 03.3.09 @ 18:55pm | #85448

Hi,

leider funktioniert es nicht:
<ui:dataGrid items="${empList}" ....

Bei diesem Stmt. steigt das Geschehen aus, wegen nicht
erlaubter Expressions

Bye
L.T

Posted by Teichmann on Tuesday, 02.24.09 @ 06:43am | #85161

j'ai essaye le code mais j'ai trouve une Exception : org.apache.jasper.JasperException: According to TLD or attribute directive in tag file, attribute items does not accept any expressions

Posted by younes on Tuesday, 02.24.09 @ 05:57am | #85160

org.apache.jasper.JasperException: According to TLD or attribute directive in tag file, attribute items does not accept any expressions

I got this error when i run the program please help me how to rectify it

Posted by selva on Friday, 01.23.09 @ 05:21am | #84098

When i run this program the following error is showing
org.apache.jasper.JasperException: According to TLD or attribute directive in tag file, attribute items does not accept any expressions


please sent the way to clear this error

Posted by prakash on Friday, 01.23.09 @ 05:19am | #84097

The code is not running in jsp it showing page cannot displayed i used all the jar files which is in the example program

Posted by selvaprakash on Friday, 01.23.09 @ 05:14am | #84096

org.apache.jasper.JasperException: According to TLD or attribute directive in tag file, attribute items does not accept any expressions

Posted by M.Alagar Raja on Sunday, 01.11.09 @ 23:49pm | #83723

errors which are displayed in jsp file even if we are included a taglib file:

we r facing problem at this line :--
<ui:dataGrid items="${empList}" var="employee" name="datagrid1" cellPadding="0"
cellSpacing="0" styleClass="datagrid" >

According to TLD or taglib expression can not be taken

Posted by mahendra on Friday, 01.2.09 @ 00:58am | #83402

hi, Above given code is a nice example of datagrid in JSP.
I have one doubt. As if mone of my row value is null then i want to hide that column.
For example,in above case if employee.country is null then I want tohide that country column.
Could you tell me how to do that?
Thanks in advance

Posted by mac on Tuesday, 12.30.08 @ 07:58am | #83312

I'm having problem with the commons-math-1.0-dev.jar and taglibs-datagrid.jar I can't find them. Where do you download the file please help me

Posted by Siyabonga on Thursday, 12.18.08 @ 10:01am | #82930

I have two textbox one for ID and Other for Name and when i input ID in first box at that time search record in database if there are present the corresponding Name automatically come in the next Text box............otherwise ask me to create new User id and record.

plz someone help me out...........

Posted by azhar on Wednesday, 10.8.08 @ 00:25am | #80954

org.apache.jasper.JasperException: According to TLD or attribute directive in tag file, attribute items does not accept any expressions

Posted by Sachin on Tuesday, 09.30.08 @ 18:46pm | #80800

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.