Thanks for replying. I have set the classpath for servlet-api.jar and it is also present in the path. now i have a new problem i am trying the example of validator framework. i am using struts1.3 .the link for the example is
http://www.javascriptdownload.net/site/page.asp?dsy_id=554 when i try to run this example it gives the error
!-------------------------------------------------------------------------!
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in
JSP: /forms/order-form.jsp:36
33: <html:text property="email"/><BR>
34: <html:submit value="Order Now!"/>
35: </html:form>
36: <html:javascript formName="orderFormBean"/>
37: </CENTER>
38: </BODY></HTML>
39:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: ValidatorResources not found in application scope under key "org.apache.commons.validator.VALIDATOR_RESOURCES"
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.forms.order_002dform_jsp._jspService(order_002dform_jsp.java:142)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
!----------------------------------------------------------------------!
Thanks in advance