Anyone know of a non-scriplet way to do what this jsp snippet is doing?
<% String editPage = (String) pageContext.getAttribute("editPage"); %>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
My personal plan will be to do two things as soon as JavaServer Faces goes final.
* Migrate my existing Struts based apps to using JavaServer Faces
component tags, instead of Struts HTML tags, to take advantage
of their additional functionality. Fortunately, this can be
done with basically ze
I'm thinking of extending the DispatchAction supplied in the Struts
download for my app by overriding the execute() method as described
below, any negative/positive feedback on this one?
public abstract class FormBasedDispatchAction extends DispatchAction {
/**
* This class assumes that a
snip
Maybe you are referring to the LookupDispatchAction
Yes, LookupDispatchAction. Sorry.
The way I originally extended LDA, each Action contained a hard coded
mapping of submit button values-> method names. (obviously a "bad
thing" :-) Wendi's idea, if I'm getting it right, sounds pretty
Wendy Smoak wrote:
Jeff wrote
Just store the mappings between submit buttons and methods in the
ApplicationResources.properties file along with everything else, and
then extend LDA in such a way that it looks in there to figure out which
method to invoke.
LDA already does that, you don
Bueno Carlos M wrote:
just had to stick the zip file inside my tom cat. I do have a cat,
but she's
female. Will that make a difference, or does struts only run on male
cats?
Does it matter if they are neutered? Does each client need to have a male
cat or just the server?
Ever since they came ou
David Graham wrote:
It's actually a small bug in the Tiles insert tag. In tiles-defs.xml
I define these definitions:
The first definition defines an optional attribute called
"secureLeftNav". The second definition extends the first and defines
a jsp for that attribute.
When hitting
be null and it is
*
* @author #
*/
public class NullObjectException extends Exception {
// Doesn't have to do anything
}
Note how neatly this disables nested exception handling!!! Pretty nice eh??
Jeff Caddel
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]&g
. All rights reserved.
* This exception is used if the object must not be null and it is
*
* @author #
*/
public class NullObjectException extends Exception {
// Doesn't have to do anything
}
Note how neatly this disables nested exception handling!!!
Pretty nice eh??
Any reasons for one of these approaches being better/worse than the other?
URL url =
Thread.currentThread().getContextClassLoader().getResource("/WEB-INF/test.xml");
InputStream input = url.openStream();
Digester digester = new Digester();
digester.parse(input);
URL url =
Thread.currentThread(
Any reasons for one of these approaches being better/worse than the other?
URL url =
Thread.currentThread().getContextClassLoader().getResource("/WEB-INF/test.xml");
InputStream input = url.openStream();
Digester digester = new Digester();
digester.parse(input);
URL url =
Thread.currentThread(
Apologies for the duplicate msg. I got a somewhat cryptic reply that
the orginal had bounced, presumably because it had "xxx" in the xml
doctype area.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Why does no one use Jakarta's own OJB for persistence?
Tons of people do!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ahhh. Ok. So something inside InputSource retains a reference to the
base uri which keeps the parser happy. Makes perfect sense.
We use xml includes a lot for our internal config files so knowing about
this is a big time saver.
Using the second form, with an InputSource, lets Struts say "t
On a side note related to contracting/consulting, do ya'll generally
attempt to get the "numbers" on the table when you deal with 3rd party
recruiting companies? Are you usually aware of what the recruiting
company is charging the firm you are working for? Do you feel (like I
do) that you hav
I use the java API Verisign provides:
http://www.verisign.com/products/payflow/pro/PayFlowPro.pdf
Their API is functional tho not exactly elegant. I ended up putting a
"payment services" layer in between our application code and the
Verisign API calls mostly so I wouldn't be tied to Verisign any
I'm kinda partial to the 2-5 years required experience with Oracle 9i.
They are looking for a version of Winston Churchill who gained access to
the Oracle 9i binaries back in April of '98.
A time traveling Winston Churchill...
One thing offends me the most is
Excellent communication skills
After going thru Cedric's doc
(http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf) on
Advanced Tiles Features I came up with something that's a slight
derivative of the example on page 15, right under where it says,
"Example of a controller inserted as an URL:". That example shows ho
Given this xml snippet from struts-config:
and this JSTL snippet: (it prints out the "firstName" of a user bean
stored in the HashMap under the key "mapEntry1")
What do I put under the "property" attribute below to cause the
framework to update the "firstName" attribute of the bean st
Does anybody know of a web application with functionality similar to
that of the Struts Console 2.1 James Holmes wrote? Basically a web
interface for managing the various struts xml config files similar to
the way the "admin" webapp manages the Tomcat server.xml file. TIA!!!
--
To unsubscri
20 matches
Mail list logo