File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts app exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts app exception" Watch "struts app exception" New topic
Author

struts app exception

Nicky narayan
Greenhorn

Joined: Jul 01, 2009
Posts: 27

am new to Struts framework. I am getting an exception while running login.jsp(stuts) file in the eclipe.
The login page is :

<%@ page language="java"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<div style="color:red">
<html:errors />
</div>
<html:form action="/Login" >
User Name : <html:text name="LoginForm" property="userName" /> <br>
Password : <html:password name="LoginForm" property="password" /> <br>
<html:submit value="Login" />
</html:form>
</body>
</html>

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.struts.util.RequestUtils.getActionErrors(Ljavax/servlet/jsp/PageContext;Ljava/lang/String;)Lorg/apache/struts/action/ActionErrors;
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


please help me.

Nicky
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please UseCodeTags. What version of Struts are you using?
Nicky narayan
Greenhorn

Joined: Jul 01, 2009
Posts: 27

I am using struts 2.1.6 in eclipse 3.4
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Then why are you using Struts 1 tags?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts app exception
 
Similar Threads
stucts application exception
can't find this error .i got this error in strut
when iam running my struts application following error comes please help me
please help me error comes on my struts application see the source code for details
Doubt in dynavalidatorform