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.
First of all, the run-time class path is determined by the application server that you're using, not by a classpath environment variable. The important thing is to make sure that all the jar files that came with the Struts download are included in the WEB-INF/lib directory. It's not enough just to include the struts.jar file.
Once you've included all the jar files, redeploy and retest. If you still get an error, please look at the log files and show us the specific error along with the first few lines of the stack trace. "Error 500" is a very generic message and tells us nothing about what's going wrong.
still its not working..shows org.apache.jasper.JasperException: /customerDetails.jsp(1,1) Unterminated <%@ taglib tag org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Joined: Feb 15, 2005
The problem is with your taglib declarations. There should be no "-" after the word taglib, and the word is "struts", not "strut". Change:
[ March 30, 2007: Message edited by: Merrill Higginson ]