I was originally trawling through the tutorial at http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp which is not a bad intro to the whole idea, but as i have discovered it contains numerous errors, typos and references to deprecated code (eg the process method). By digging around in the example code in the .wars that came with 1.1beta I was able to get some basic login pages up and working.
I heard of struts a year or so ago when I was messing about with cocoon and crudlet projects. So yesterday i decided that there must be a better way of doing web applications - handling standard things like login and regsitration, user roles etc etc. Struts seems to me to come the closest to addressing my concerns neatly. It's damn near to what I had already written, only more complete and cleaner by a mile. I am impressed. a few hours of reading and futzing and now i can scrap a whole package from my new webapp. cheers and thanks dave ps: are there any GUIs with built in support for struts and JSTL and other standard taglibs? At 10:01 AM -0700 27/7/02, Martin Cooper wrote: > > -----Original Message----- >> From: dave sag [mailto:[EMAIL PROTECTED]] >> Sent: Saturday, July 27, 2002 8:31 AM >> To: [EMAIL PROTECTED] >> Subject: what happened to the struts:message tag? >> >> >> Hi people, >> >> I have just installed Struts 1.1 beta for experimentation (running >> with tomcat4 that comes with the java webservices pack) and, having >> never used struts before, have a pretty basic question. >> >> the example code i have been looking thru makes constant reference to >> a <struts:message .../> tag > >I've just done a grep through the Struts code, examples and docs, and cannot >find any references to a <struts:message> tag. However, if you can point me >to these, I'll make sure they are fixed. > >I believe you are looking for the <bean:message> tag. > >> which i have managed to work out has >> somehow been transformed into >> <html:messages ... > >> <bean:write ...> >> </html:message> > >This is a different tag, which provides different functionality. > >> >> to me it seems that one nice neat tag been replaced with a lot of >> unweildy nonsense? now to put properties inline in my jsp i need use >> 3 lines where previously 1 tag would do. >> >> have i missed something obvious? >> >> ie is there something like >> <html:message key="..."/> >> to pull a localised message out of the default resource bundle. > >That would be the <bean:message> tag. > >-- >Martin Cooper > > >> >> cheers >> >> dave >> >> >> -- >> To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- ---------------------------------------------------------- Dave Sag CEO Portable Whole Ltd [EMAIL PROTECTED] http://www.portablewhole.com "Software Development will soon be an Agri-business. Why write it when you can farm it." Latest: http://www.davesag.com/motp It's a whole new world in there. (req netscape or IE 4+) ---------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>