RE: [OFF TOPIC] Book recommendations (J2EE, Struts, JUnit, EJB, Weblogic)

2003-08-04 Thread Brendan . Johnston
I think Linus' requirements are wrong. Books on J2EE patterns in general, and "Core J2EE Patterns" in particular, are not worth reading. Change the requirement to books that provide useful patterns for J2EE applications, and you get the answer you want, which is Fowler's "Patterns of Enterprise Ap

[OT] RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Brendan . Johnston
The JSTL authors decided that the value might need calculation to work it out, but that a pattern would not require other tags to determine. Were they right? Maybe, maybe not. If they adopted the approach I suggested, they would just have some extra busy work supporting nesting for everything, bu

RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Brendan . Johnston
It would be nice if this: Parsed the same as: aValue Failing that it would be nice if any tags with attribute also accepted nested tags with the same name and meaning as an alternative. Brendan -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wedn

RE: Problems with Struts 1.1, html-el, and weblogic 6.1

2003-07-30 Thread Brendan . Johnston
I am using WebLogic 6.1 and struts I have not tried html-el. There are a few options for where you can put the libraries: 1. I have them in the lib directory under WEB-INF. 2. Another option is to put them in the classpath in startWebLogic. 3. The priority/treatment of cla

RE: Memory consumption 1.1 b3 vs. 1.1 final

2003-07-29 Thread Brendan . Johnston
Is this an issue because the session is being serialized? Maybe the reference to the struts config needs to be declared transient and be restored if the object is deserialized. Brendan -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 1:2

RE: html:form tag and coupling between ActionForm and Action

2003-07-21 Thread Brendan . Johnston
I don't think Daniel's idea will work. If the action form does not exist then struts wants to instantiate the form. Therefore struts needs to know the type. It might work if you have a session scope form already there. I think of actions as the most dependent class, i.e. nothing should depend o

Dynamic redirect to external URL

2002-11-13 Thread Brendan . Johnston
Is there a way to create a dynamic redirect to an external URL. Something like the way I expected this to work: public class MyAction extends Action { ... ActionForward fwd = new ActionForward("http://www.yahoo.com";, true); fwd.setContextRelative(false); return fwd;