aspose file tools
The moose likes Struts and the fly likes struts app exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "struts app exception" Watch "struts app exception" New topic
Author

struts app exception

Nicky narayan
Greenhorn

Joined: Jul 01, 2009
Posts: 24

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: 24

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: struts app exception
 
Similar Threads
please help me error comes on my struts application see the source code for details
can't find this error .i got this error in strut
stucts application exception
when iam running my struts application following error comes please help me
Doubt in dynavalidatorform