Yup, you are right John, that fixed that problem and showed me a bunch of
errors in my .JSP's.  It turns out I tried making something easy and I ended
up breaking tag conformance.  So now that I fixed that I see a couple of
things that Camino marks as a warning, that I hope you can clarify why.

I have an "index.jsp" that Ted Husted created that gets a user into the
action mappings as soon as possible.  The entire JSP is quoted here:

<%
/**
 * Redirect default requests to Welcome action.
 */
%>
<%@ page language="java" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<logic:forward name="welcome" />

As you can see there is no need for the "struts-html" tags so they are not
declared.  But Camino gives me the following warning regarding this file:

"Unable to identify the prefix for Struts HTML Taglib. Declaration not found
in either JSP or web.xml.  Assuming 'html:*' is the prefix."

In this case the Struts HTML Taglib is not used so why is Camino concerned
with the prefix?

Also the DOCTYPE statement is missing from the web.xml file [But I see that
the struts-config.xml does now include the doctype, good job :)]

Nathan

-----Original Message-----
From: John Yu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 10:32 PM
To: [EMAIL PROTECTED]
Subject: RE: struts-config.xml parse error


Nathan,

There is a mistake in your struts-config.xml. According to the DTD, the
<form-beans> element should appear before the <global-forwards> element.

I guess the reason why Struts 1.0 does not complain is because its Digester
is pretty forgiving even when the elements are in wrong orders.
--
John

At 01:28 pm 10-01-2002 -0800, you wrote:
>Here it is...  It is kinda long, but very repetitious.  Let me know if you
>see something I missed.  FYI, this does run as expected on my Tomcat 4
>installation.
>
>Nathan
>
>-----Original Message-----
>From: John Yu [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, January 09, 2002 6:04 PM
>To: [EMAIL PROTECTED]
>Subject: Re: struts-config.xml parse error
>
>
>Nathan,
>
>Could you send me your struts-config.xml file?
>--
>John
>
>At 04:43 pm 09-01-2002 -0800, you wrote:
> >I just launched Camino v1.0 for the first time and tried to create a
>project
> >for the web application I'm making.  I got is all set up and clicked
> >"finish" and I got the following error:
> >
> >Failed to parse Struts config 'F:\yada\yada\struts-config.xml'.
> >   com.jxml.quick.QPE - unrecognized tag: form-beans
> >Parsing Error - Failed to parse Struts config
> >'F:\yada\yada\struts-config.xml'.
> >
> >Last I checked <form-beans> is a required tag according to the
> >"struts-config_1_0.dtd".  What's going on?
> >
> >Nathan Anderson
> >
> >===
> >To subscribe/unsubscribe, visit
> >http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user
>
>--
>John Yu                       Scioworks Technologies
>e: [EMAIL PROTECTED]         w: +(65) 873 5989
>w: http://www.scioworks.com   m: +(65) 9782 9610
>
>Scioworks Camino - "Rapid WebApp Assembly for Struts"
>
>===
>To subscribe/unsubscribe, visit
>http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user

--
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Rapid WebApp Assembly for Struts"

===
To subscribe/unsubscribe, visit
http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user

===
To subscribe/unsubscribe, visit 
http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user

Reply via email to