Welcome to the JavaRanch.
In the future, please UseCodeTags. They preserve your indents and make your code easier to read. I have fixed your post above.
Your exception indicates that you are missing a class:
Struts has many dependencies that need to be packaged with your web app. You could go to the Apache Commons project and download this dependency, but you could run into problems with Struts using an earlier version of the library. The easiest thing to do is look in the Struts distribution you downloaded. There should be an apps directory with some example applications. The "struts-blank" application is intended to be the starting point for a new application. All the struts dependencies can be found in the WEB-INF/lib directory of that WAR file.
lin lat thnx for your response..
i have thes jar file in my web-inf/lib directory..just i dont have struts balnk.jar
now i will add the struts blank.jar and check..i am using struts1.3.
Hi Lin Lat where i will have to put my strust-blank.war ..i have putted it in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps directore but still getting same arror message.
Please help me soon
Joined: Mar 30, 2011
Did your struct application work fine before using displaytag?
If it is working fine before using displaytag, you don't need to add strut blank.war. Just adding 5 jars I mentioned is enough for using display tag. But don't forget to add configure them in project build path too.
If you haven't checked that, please do the following to start a new project.
1. Create a new tomcat project.
2. Extract struct struts-blank-1.3.10.war.
3. Add to the project and override existing files.
5. then add additional 5 jars to WEB-INF/lib and configure to project build path too.
4.Then restart your paging implementation.
There's two things going on here. First you have the class not found exception. That class is in the Apache Commons Lang library (the commons-lang-1.2.jar included with display tag), so you should have that dependency solved. This draws into question your build and deploy cycle. How are you building your app? Are you certain that the code in Tomcat is your latest version?
Next, what's triggering the exception? Surround your action code with a try-catch.