Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Struts
Getting an error in Structs configuration file and web.xml while working with Myeclipse.
sreekanth akkineni
Greenhorn
Posts: 1
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
Getting an error in Structs configuration file in the <structs-config> and web.xml.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config><!-- getting an error here--> <form-beans> <form-bean name="StudentForm" type="edu.form.StudentForm"> </form-bean> </form-beans> <action-mapping> <action name="StudentForm" path="/StudentAction" type="edu.actions.StudentAction" scope="request" input="/student.jsp" validate="true"> <forward name="SUCCESS" path="/WEB-INF/jsp/success.jsp" /> </action> </action-mapping> <message-resources parameter="edu.config.applicationresorces" /> </struts-config>
also in web.xml
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <!-- <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> --> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>student.jsp</welcome-file> </welcome-file-list> <taglib><!-- here am getting an error--> <taglib-uri>/struts-html</taglib-uri> <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location> </taglib> </web-app>
please help me
thanks
sreekanth
Ankit Garg
Sheriff
Posts: 9708
43
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Sreekanth, welcome to JavaRanch.
Sreekanth its really hard to help you without knowing what is the actual error you are getting. In addition to that can you tell us the location of your
struts
configuration and the name of the struts configuration file...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
|
SCWCD Links
Are you okay? You look a little big. Maybe this tiny ad will help:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Parsing error processing resource path /WEB-INF/struts-config.xml
a question about struts....please help
Getting error while upgrading my running application from jboss-4.2.1.GA to jboss-6.0.0.Final.
error comes while running the struts application please see the source code for detail
error while creating struts application
More...