Christophe, I don't see that anyone replied to your question. I'd like to
raise it again...as much because I'm very curious about running Struts under
JRun. So, other than this problem, is it working for you? Have others used
it. Are there any challenges? Are the benefits all they seem to be?

If you're not familiar with Struts, there's a decent article on it this
month in the Java Dev Journal
(http://www.sys-con.com/java/article.cfm?id=1198). It offers lots of
interesting additional features for JSP/servlet development that solve
common challenges of web app development. It may be most well-known as a
"framework", or a mechanism to manage how one calls upon JSP templates,
servlets, and beans in a more well-organized manner. But there are also
mechanisms to abstract all manner of functionality, almost to a degree
similar to CF: there are custom tags to prepopulate forms with data, to
improve form validation and error handling, to iterate over a collection,
and lots more. Do check out the article if you're not familiar with it.

The only thing is that the article doesn't discuss implementing it with any
particular servlet engine. Many may presume that it only works with TomCat
(since both Struts and TomCat are apache projects), but on more careful
reading the author just refers to "the servlet engine" generically, leaving
the implication that it may work with in. Thus, my original question: is
anyone using it with JRun. Then there's Christophe's problem below about a
particular aspect of managing the web.xml file.

Any takers?

/charlie

-----Original Message-----
From: christophe.marchand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 12:52 PM
To: JRun-Talk
Subject: Struts, JRun and <init-param> in web.xml


Hi all,

I use Struts with JRun 3.1.
It appears that Struts isn't able to read <init-param> from web.xml. In
fact, getServletConfig().getInitParameter() always returns null.

Any idea ?

Thanks a lot


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to