-Original Message-
From: Daniel Steinberg
Sent: Tuesday, July 17, 2001 10:32 AM
To: '[EMAIL PROTECTED]'
Subject: Nested properties in action forms
The Struts documentation states that Action Forms can contain nested
properties. When is a nested bean
WebLogic includes a JAXP 1.0 implementation in its weblogic.jar file. The
startup script puts weblogic.jar in the CLASSPATH ahead of anything in your
WEB-INF/lib directory. So you will need to modify the startup script to put
a JAXP 1.1 implementation ahead of weblogic.jar.
-Original
Picking up these classes and jars for free is part of the Servlet 2.3 spec
(which has still not been officially released). Tomcat 4.0 supports this
spec, as does WebLogic 6.1. Many Servlet 2.2-compliant web servers (such as
Tomcat 3.2.1 and WebLogic 5.1) create Servlet 2.3-like directory
JSP's are designed to display textual data only. The out object is a
PrintWriter, which deals only with character data. For binary data, such as
images, you need to use a ServletOutputStream instead. A recent JDC
Newsletter presented an example in which getOutputStream() was called from
within
I would like to put my authorization logic in a servlet filter. If
authorization fails, I would like to display an error page by forwarding to
a JSP. I would like to look up this JSP name just as I would while
performing a Struts action.
Unfortunately, the forward mappings (ActionForwards)
I guess I can answer my own question. I do not need override
ActionServlet.initOther() to attach the ActionForwards object to the servlet
context, because Struts does it already as Action.FORWARDS_KEY.
-Original Message-
From: Daniel Steinberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
The Struts User's Guide suggests that business logic be encapsulated in
beans. Business logic modules are generally stateless, so one would
generally implement them as static utility classes (with only static
methods) or singletons (with private constructors and static factory
methods), neither
I would presume that your code will not even compile. The correct method
name is getServletContext().
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 9:57 AM
To: Struts Users Mailing List
Subject: Getting a ServletContext
Hey guys/gals =)
8 matches
Mail list logo