This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Am having trouble seeing some dynamic content (generated by JSTL 1.1) when I deploy my war file on WinXP.
I have two development machines (G4 PowerBook running OS X Tiger and WinXP).
Have the latest JDK 1.5_06, Tomcat 5.5.9, and Eclipse 3.2 with MyEclipseIDE, on both machines.
I develop on OS X and deploy on WinXP and Linux.
Trying to dissect my problem let me tell you what I did, step by step in Eclipse:
Created a new web project, at the wizard dialog, I chose "Install JSTL 1.1" libraries.
Now, my web project had references to standard.jar and jstl.jar, on the build path, (which it stated that it would install in WEB-INF/lib, and which it rightfully did).
My entire web site (is purely static) except for getNews.jsp (which contains JSTL code).
When I run the web app within MyEclipse using hot deploy with Tomcat 5.5.9 on OS X Tiger, I can see the page perfectly.
When I place the war file (generated by MyEclipse's deployment tool and / or Export->J2EE Project->WAR file) inside my WinXP's Tomcat 5.5.9/webapps directory, everything works except for the getNews.jsp page (containing the JSTL code).
It throws the following exceptions:
The code for getNews.jsp:
I don't understand why this page works under OS X but not WinXP. I also placed all the tlds inside a directory called tlds under WEB-INF: WEB-INF/tld.
I even wrote an Ant build script to manually war my project and it still didn't work!
The code for my Ant build script:
Any help, feedback, and suggestions will be most appreciated!