I was previously unfamiliar with the purpose of the <html:html> tag.  Now that I have done a bit of research it sounds pretty useful [and very simple to use].  I don't know how much leeway you can have with changing tags, but I would suggest if you encounter a <html:html/> tag, replace it with <html:html> and replace the </html> with </html:html> so that the created document has all matching tags.  It seems to me that the more proper way to code the page is using the matching pair of tags anyway.
 
For the #3 item, I think you should use the web.xml as the source of the URI pattern [if not in the 1.0 release, then eventually] rather than an either or of the two common patterns.  I have been playing with the idea of using something other than "do".  Struts seems to support this, so Camino probably should too.
 
I wondered if there were plans to make Camino open source in the future.  I personally cannot provide help at this time, but I think there may be others that are as interested in furthering Camino as well.
 
Nathan Anderson
-----Original Message-----
From: John Yu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 2:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems using Camino to learn Struts

Nathan,

It is a good idea to use Ted's examples as a benchmark. We will start to do it.

Regarding #1 and #2, I've sent an email to Ted to ask him for some clarification.
Regarding #3, it is a Camino's limitation we need to enhance. I'll see if we are able to squeeze it into release 1.0.

regards,
--
John


At 02:36 pm 23-10-2001 -0700, you wrote:

I am using Camino v1.0 beta build 011015, and I've noticed a couple of
issues.  I was trying to create a Camino project for Ted Husted's Artimus
application [http://husted.com/struts/resources.htm#projects].

There were a few issues that came up.
1. Camino doesn't recognize <html:html/> tag as equal to <html>
2. Ted Husted had some coding errors in Menu.jsp [two extra </br> tags and
one extra </table> tag]
3. Camino doesn't read from web.xml what Action mask to apply to URI's.  For
example, Ted uses the "/do/*" convention, where Camino assumes that "*.do"
is used.

Ted's site seems to be the best reference for Struts available, and he is
very good at keeping the MVC pattern in his apps.  IMHO his is the de facto
site on learning Struts.  So I think you should try and fix these two
problems rather quickly, so it people who are learning Struts from the best
source available can use Camino without issue [provided that Ted fixes his
coding errors].  All of the newest projects Ted has create have the same
template that requires <html:html/> and "/do/*".

So what do you think?
[I sent this e-mail to Ted Husted as well so he can update Menu.jsp]

Nathan Anderson

--
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"

Reply via email to