Hi Thanx for your reply Following is my struts-config.xml file.. I am only using ActionServlet not using ActionForm
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> <!-- This is the Struts configuration file for the example application, using the proposed new syntax. NOTE: You would only flesh out the details in the "form-bean" declarations if you had a generator tool that used them to create the corresponding Java classes for you. Otherwise, you would need only the "form-bean" element itself, with the corresponding "name" and "type" attributes. --> <struts-config> <!-- ========== Global Forward Definitions ============================== --> <global-forwards> <forward name="logoff" path="/logoff.do"/> <forward name="logon" path="/logon.jsp"/> <forward name="success" path="/mainMenu.jsp"/> </global-forwards> <!-- ========== Action Mapping Definitions ============================== --> <action-mappings> <action path="/testjsp" type="org.apache.struts.webapp.example.TestAction" scope="request" input="/testjsp.jsp"> <forward name="success" path="/testjsp.jsp" /> </action> </action-mappings> </struts-config> Regards, P.RAMESHKUMAR, -----Original Message----- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:11 PM To: Struts Users Mailing List Subject: Re: getting javax.servlet.ServletException... Can you post a copy of your struts-config.xml Cheers Simon ----- Original Message ----- From: "Ramesh_KumarP" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 9:33 AM Subject: getting javax.servlet.ServletException... > > Hi all > I am getting following error when working struts on iplanet webserver 6.0 > Any one can solve the problem ? > > > [25/Mar/2003:13:46:18] warning ( 1848): vs(https-CTP-VI0455)ServletException > thrown in servlet.init; context = /BP, servlet = 'action'; stack tace: > javax.servlet.ServletException: Parsing error processing resource path > /WEB-INF/struts-config.xml > at > org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) > at > org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at > com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn > tity.java:98) > at > com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) > at > com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) > at > com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: > 675) > , root cause: org.xml.sax.SAXParseException: Next character must be ">" > terminating <!DOCTYPE ...> declaration . > at com.sun.xml.parser.Parser.fatal(Parser.java:2817) > at com.sun.xml.parser.Parser.fatal(Parser.java:2811) > at com.sun.xml.parser.Parser.nextChar(Parser.java:2735) > at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1127) > at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) > at com.sun.xml.parser.Parser.parse(Parser.java:284) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) > at org.apache.struts.digester.Digester.parse(Digester.java:755) > at > org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) > at > org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at > com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn > tity.java:98) > at > com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) > at > com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) > at > com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: > 675) > > > > > > Regards, > > P.RAMESHKUMAR, > ************************************************************************** > This email (including any attachments) is intended for the sole use of the > intended recipient/s and may contain material that is CONFIDENTIAL AND > PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or > distribution or forwarding of any or all of the contents in this message is > STRICTLY PROHIBITED. If you are not the intended recipient, please contact > the sender by email and delete all copies; your cooperation in this regard > is appreciated. > ************************************************************************** > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]