Examples from display 1.1 not working correctly.
Configuration used:
Tomcat 4.1
and also tried on Tomcat 5
I dropped the displaytag-examples-1.1.war files to the webapps directory and it got expanded but does not show up in tomcat manager nor does it work with the URL.
I opened tomcat logs for error check and it does not have any errors listed there.
Is anybody else facing this issue ?
The reason i am trying to run the examples is because I want to work with the two tables example and it is not clearly mentioned on the displaytag website. Only code specifying the declaration on tables is given and nothing about manipulating the position of the tables,export link and pagination link.
Can somebody please help me with an example of configuring 2 tables and positioning them with both export link and pagination ?.
Thanks.
Ash
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am posting this for others like me who might have got into problems of running the demo of displaytag.
It did not work for me by just deploying the war file that came with the bundle download. Though the documentation approves that it works.
I did the following to make the examples work:
1) Unjar the war file to a temp directory.
2) Create a new project( DisplayTagDemo) in eclipse or netbeans.
3) Copy all the display tag related libraries in to /WEB-INF/lib folder.
4) Copy the images,img and css folder to your project root. ex:webapp/DisplayTagDemo/ folder.
5) Next copy all the jsp files to the project root. ex:webapp/DisplayTagDemo/
6) Restart the server. ( Tomcat 4.1 or 5.0)
7) Invoke the url. Ex:http://localhost/DisplayTagDemo/examples-twotables.jsp
Modify the displaytag.css under the css folder to give the look and feel to the table as per your preference.
Hope this helps.
Ash.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Examples from display 1.1 not working correctly.
Configuration used:
Tomcat 4.1
and also tried on Tomcat 5
I dropped the displaytag-examples-1.1.war files to the webapps directory and it got expanded but does not show up in tomcat manager nor does it work with the URL.
I opened tomcat logs for error check and it does not have any errors listed there.
Is anybody else facing this issue ?
The reason i am trying to run the examples is because I want to work with the two tables example and it is not clearly mentioned on the displaytag website. Only code specifying the declaration on tables is given and nothing about manipulating the position of the tables,export link and pagination link.
Can somebody please help me with an example of configuring 2 tables and positioning them with both export link and pagination ?.
Thanks.
Ash
I am posting this for others like me who might have got into problems of running the demo of displaytag.
It did not work for me by just deploying the war file that came with the bundle download. Though the documentation approves that it works.
I did the following to make the examples work:
1) Unjar the war file to a temp directory.
2) Create a new project( DisplayTagDemo) in eclipse or netbeans.
3) Copy all the display tag related libraries in to /WEB-INF/lib folder.
4) Copy the images,img and css folder to your project root. ex:webapp/DisplayTagDemo/ folder.
5) Next copy all the jsp files to the project root. ex:webapp/DisplayTagDemo/
6) Restart the server. ( Tomcat 4.1 or 5.0)
7) Invoke the url. Ex:http://localhost/DisplayTagDemo/examples-twotables.jsp
Modify the displaytag.css under the css folder to give the look and feel to the table as per your preference.
Hope this helps.
Ash.