i have added
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib-uri="
/WEB-INF/strut-html.tld" prefix="html"%>
<%@taglib-uri="
/WEB-INF/struts-bean.tld" prefix="bean"%>
in the
jsp file. and i also have added
<taglib>
<taglib-uri>
strut-html.tld</taglib-uri>
<taglib-location>
/WEB-INF/strut-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>
struts-bean.tld</taglib-uri>
<taglib-location>
/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
in web.xml
and i have added the jar file strut.jar in classpath.
my class path C:\Tools\apache-tomcat-5.5\common\lib\servlet-api.jar;C:\Tools\apache-tomcat-5.5\common\lib\jsp-api.jar;
C:\Tools\apache-tomcat-5.5\webapps\test\WEB-INF\lib\struts.jar;
C:\Tools\apache-tomcat-5.5\webapps\test\WEB-INF\lib\struts-el.jar
but in browser it shows error 500
can anybody help me .....thanks in advance
this is my jsp file
customerDetails.jsp <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib-uri="/WEB-INF/strut-html.tld" prefix="html"%>
<%@taglib-uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<html:html>
<head>
<html:base/>
</head>
<body>
<html:errors/>
<html:form action="/submitCustomerForm">
<bean:message key="prompt.customer.firstname"/>:
<html:text property="firstname" size="16" maxlength="16"/>
<BR>
<bean:message key="prompt.customer.lastname"/>:
<html:text property="lastname" size="16" maxlength="16"/>
<BR>
<html:"submit">
<bean:message key="button.Save"/>
</html:Submit>
<html:cancel>
<bean:message key="button.Cancel"/>
</html:cancel>
</html:form>
</body>
</html:html>
[ March 29, 2007: Message edited by: sojan chandy ]