It's been a while since I posted. Been busy. We've been using
struts/tiles for quite a while now. Currently we're using version 1.1.
Everything works great and the more we convert to struts, the more we
like it. We have one issue though that I just can't seem to find a good
solution for.
Thanks Eric , for your feedback .
I am aware of the fact that container takes care of duplicating the Session
across the cluster .
But then if I have 10 servers , it would be an big overhead as the server
has to make 10 copies of Session object.
Typically, although I could be miles from the truth
We have anthill. We can watch the ant wars being performed ;-)
On Tue, 2003-03-18 at 12:16, Emilio Suarez wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> You should use:
>
> ant war
>
> ;-)
>
> > -Original Message-
> > From: Ray Madigan [mailto:[EM
DTDS
They are used to validate xml files at deploy time. Without them you
could 1) turn off the validation (not recommended) 2) The validator
would reference the dtds off the web site if they are not found in the
jar. (Probably not good either).
TLDS
You can either put tlds in /WEB-INF/*.tld an
We have a couple different approaches. But one is to create some custom
validator Fields that can be plugged in to the validator. Then all
errors, buisiness or otherwise, are done by the DynaValidatorForm.
Makes our actions simpler.
-Dennis
On Fri, 2003-03-14 at 14:47, Dan Allen wrote:
> *This
sslext does not function as expected with modules.
Specifically, when operating withing a module (ie: subappfoo), the
does not find the ModuleConfig for
the subapplication. Instead, it finds the ModuleConfig for the root
module.
The reason the example applications in sslext works correctly with
A bug report for James and all who may be affected.
In Struts-Console 3.3, when generating my tiles-defs.xml file. I had
the following xml output:
note how there is a path="" as well as an extends attribute of the
definition. Desired behavior is to extend a definition but not have a
path for
Because it doesn't matter what the name of your bean is. Stuts always
sets it as an attribute in your selected scope. The name of that
attribute happens to be org.apache.struts.taglib.html.BEAN.
if you were to call getClass() on that bean, you would see your class.
I think that is right but mi
Use an image instead of a form button??
ie:
-Dennis
On Wed, 2003-02-26 at 11:48, Chen, Gin wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Hi James,
> I did use links before. But they want to see buttons instead of href
> links.
> D*mn users. ;P
> -Ti
http://www.datemate.com
On Wed, 2003-02-26 at 08:42, James Prance wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> The list on the Apache website, half the links dont work...
> does anyone know of some websites out there on the old 'interweb' that are
> current
There is a bug. "page" property on DynaValidatorForm (Or DynaActionForm
for all I know) isn't set when then form is submitted. Don't know if
this is a filed issue.. haven't checked. I had to make my own formbean
to have a multi page form.
Another issue you need to be aware of:
If you have check
we use sslext with no problems.
check sf.net/projects/sslext
It is a struts plug in for managing ssl.
-Dennis
On Tue, 2003-02-18 at 10:24, Greg Hess wrote:
> Hi,
>
> I would like to incorporate tiles into my application but I require
> HTTP/HTTPS switching. Has anyone implemented this ability
We migrated from using <%@include ... to tiles last year.
Development for is on an order of magnitude easier for our graphics
designer. Instead of ugly header.jsp/footer.jsp type logic, you have
template.jsp with body.jsp/sidebar.jsp stuff like that. No need from
broken html in include files any
Integer)enum.nextElement();
> System.out.println("TEST: " + test);
> if (test.intValue() < 1 ||
> test.intValue() > 65535){
> System.out.printl
;
> So I am missing the type and initial fields. Can anybody help me see the
> light? I need a checkbox to control whether or not 3 addiotional text
> fields are required.
>
> Thanks,
>
> Jeremy Weber
> [EMAIL PROTECTED]
>
> --
> 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]>
>
> --
> 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]>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
Dennis Muhlestein <[EMAIL PROTECTED]>
ZServe Corporation
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
m, the reset method is called before
> > the validate method. I am using struts 1.0.2.
> >
> > Any insight?
> >
> > -Jeremy
> >
> >
> >
> >
> > --
> > 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]>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
Dennis Muhlestein <[EMAIL PROTECTED]>
ZServe Corporation
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
from mine to see
> if you get any bites.
>
> Good luck
>
> john
>
> -Original Message-
> From: Dennis Muhlestein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 5:18 PM
> To: Struts Users Mailing List
> Subject: Re: DynaValidatorForm and mu
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
Dennis Muhlestein <[EMAIL PROTECTED]>
ZServe Corporation
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Did you figure anything out with this problem? I have the exact same
problem. I'd like to make a multipage form with DynaValidatorForm
instead of extending ValidatorForm
Thanks
--
Dennis Muhlestein <[EMAIL PROTECTED]>
ZServe Corporation
On Tue, 2003-01-21 at 12:44, [EMAIL PROTE
SecurePlugIn would have a property for this which could
> be accessed by the secure tags, but I don't see one.
>
>
> robert
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
D
ok, I found the messagesPresent tag in the logic tags. I still have a
problem though:
What if I need the logic to display for two specific properties:
It would be nice if I could do something like this:
Some Logic
Here
Any Suggestions?
Thanks
Dennis
On Tue, 2002-12-03 at 14:22, Dennis
In addition to displaying errors by a specific field, i'd like to
display some additional information.
ie:
<% if errors.size( "someField" ) > 0 { %>
Some Additional Info ..
<% } %>
Problem is, I can't see a way to do that with any of the logic tags
because there is no property that
Get a nightly. Rename it 1.1 Final. If anyone asks questions... Lie.
On Tue, 2002-11-05 at 12:24, Xuefeng Wang wrote:
> Hi, all,
> I'm using Struts 1.1B1 to develop our product, I want to know when Struts
> 1.1 final will be release.
>
> thanks,
>
> James
>
>
>
>
>
> _
or_1_0.dtd";>
>
> This is the official DOCTYPE for Validator config
> files as of last week.
>
> -james
> http://www.jamesholmes.com/struts/
>
>
> --- Dennis Muhlestein <[EMAIL PROTECTED]> wrote:
> > Seems there is no validator 1.0 dtd on
> > jakart
Nevermind my last post..
I listed it as struts, but I just found out it is in commons.. ah ha..
Thanks James.
On Wed, 2002-10-30 at 11:50, James Holmes wrote:
> Struts Console version 3.0 is now available.
>
> http://www.jamesholmes.com/struts/
>
> Download Now:
> http://www.jamesholmes.com/st
Seems there is no validator 1.0 dtd on jakarta.apache.org/struts/dtds/..
I can't open my validation.xml file because it uses the 1.1 dtd so I
tried the 1.0 to see how that would work, but I got 404 error.
Can you just put a dtd somewhere?
Thanks
Dennis
BTW it's true, James is Arnie.
On Wed, 200
Thanks for the comments. Seems to make more sense not to have
any ordering functionality in the html:options tag anyway.
On Wed, 2002-10-30 at 10:40, Dennis Muhlestein wrote:
> I have a hashtable with key/value that get displayed by an html:options
> tag.
>
> Works ok, but they
I have a hashtable with key/value that get displayed by an html:options
tag.
Works ok, but they are ordered in reverse order of the id. That isn't
any performance problem, but it looks a little strange to the user.
For instance, what if you wanted the options in alphabetical order? In
my case
I haven't followed the issues being fixed too much. I just know that we
updated to 20021022 and now I don't have billions(exaggeration) of tiles
print statements in my log files. It's in production now and as far as
I know functions the same as 1.1b2 did.
-Dennis
On Wed, 2002-10-23 at 11:23, [E
to comment on that, or you can just try it anyway. (That's what I usually
>do).
> >
> > Simon
> >
> >
> >>-Original Message-
> >>From: Dennis Muhlestein [mailto:dennis@;zserve.com]
> >>Sent: Wednesday, October 23, 2002 9:24 AM
> >>To: Strut
, Inc. (608) 935-4526
>
>
> >-Original Message-
> >From: Dennis Muhlestein [mailto:dennis@;zserve.com]
> >Sent: Wednesday, October 23, 2002 9:11 AM
> >To: [EMAIL PROTECTED]
> >Subject: Struts Nightly Build
> >
> &
I'm about to change our production environment to use the struts nightly
build instead of 1.1b2 because of the non commons-logging in the tiles
package with 1.1b2.
Does anyone know of any issues to be aware of? Seems to work ok in dev
environment.
TIA
-Dennis
--
To unsubscribe, e-mail:
I was so excited when I added a commons-logging.properties file in my
classpath and told struts to use log4j as the logger. I was even more
excited when I added a logger property that told struts to log only the
ERROR level instead of DEBUG so that I had much less output.
Only problem is, tiles d
Use a PreparedStatement instead of Statement to do the insert if you
can. It'll do the escaping for you.
-Dennis
On Tue, 2002-10-22 at 08:07, Robert Misior wrote:
> Hello,
>
> I'm looking for a good approach of storing HTML in mysql database (field
> type is text). Currently I'm converting a
Thanks for letting me know that. I found a problem elsewhere and now it
works.
On Fri, 2002-10-18 at 08:53, Adam Sherman wrote:
> Dennis Muhlestein wrote:
> > In the tiles documentation, under the put attribute, it says the type
> > can be "definition". Does this only
Morning All,
In the tiles documentation, under the put attribute, it says the type
can be "definition". Does this only apply to the tag library usage of
put, or can I use this in the xml file like this:
(Thanks to James for Providing pretty output with struts-console!)
Notice the third definitio
Thanks, That's exactly what I needed.
And, BTW, when is struts 1.1 releasing :-)
He he just kidding.
On Thu, 2002-10-17 at 12:13, Joe Germuska wrote:
> At 10:56 AM -0600 2002/10/17, Dennis Muhlestein wrote:
> >I like the global exception handler in struts 1.1b2.
> >
&g
I like the global exception handler in struts 1.1b2.
I have a question I haven't found in the docs. (Maybe I haven't looked
hard enough if someone can point the way).
If Struts forwards to the global exception page, is there a request or
other attribute that contains a throwable object? Like if
I thought I'd upgrade my tomcat to 4.1.12 from 4.0.x.
I'm using struts 1.1b2, j2skd1.4.1, various linux distributions.
I only had issue. I have one page that conditionally includes another
page. With tomcat 4.0.x I've never had a problem. When I upgraded, the
compiler could not compile that p
Why not just use a queue.
Make one out of a java.util.Vector or something. You can use wait and
notify to tell the consumer thread something has been placed in the
queue.
-Dennis
On Wed, 2002-10-09 at 08:45, Morycz, Felicia V wrote:
> I'm writing a service that runs continually and produces obj
We use apache in from of tomcat. Because there is no index.do, we would
get a directory listing (if that was turned on but it isn't because
well...).
Anyway, I added index.do to the list of files for apache to
automatically pull up and then just made a dummy file called index.do
tomcat gets the
I have two mappings for the actions servlet. The reason is:
one mapping goes through a filter for login/session management. The
other is public.
Mapping Extensions are dm=public-no filter, do=logged in-filtered
My problem is:
I specify
in my jsp page but when the tag outputs the html it
AFAIK If you configure tiles with an xml file, the
ActionComponentServlet is in charge of reading that configuration and
forwarding to the correct definitions.
If you just use a jsp page to tell which template/tiles to use, the
action servlet isn't used.
-Dennis
On Mon, 2002-06-24 at 14:26, Ri
A while ago, there was reference to passing request parameters to a
tiles page with the put tag. This allowed the included jsp to do a
little logic to appropriately select a menu item or something.
Can you do the same thing when configuring tiles with the
tiles-config.xml? There doesn't seem to
A while ago, there was reference to passing request parameters to a
tiles page with the put tag. This allowed the included jsp to do a
little logic to appropriately select a menu item or something.
Can you do the same thing when configuring tiles with the
tiles-config.xml? There doesn't seem to
Well, After extensivly searching the mail archive,
I found that I needed to include a controller in
my struts-config.
Even if you user ActionComponentServlet, it still does the
basic ActionServlet processing unless you change the controller too.
On Fri, 2002-06-21 at 14:47, Dennis
Same here 4.0.3 tomcat
my defs file:
http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>
This is being loaded ok. This is a very strange error.
Thanks for you help
-Dennis
On Fri, 2002-06-21 at 15:09, [EMAIL PROTECTED] wrote:
>
> I am
Still a no-go.
Fixing the servlet parameters to be tiles specific helped load the
servlet. I turned the debug level up and verified the my servlet was
being loaded.
The following from my catalina.out
Component Definitions debug level = 2
factory loaded : {indexPage={name=indexPage,
path=/globa
I am trying to test out tiles. I change my web.xml file to use the
tiles ActionComponent servlet and restarted tomcat but the exception
printed below appears to still be using the struts ActionServlet.
I've restarted tomcat multiple times and tried changing the names of the
servlet-class more th
t; versions.
>
> -james
> [EMAIL PROTECTED]
> http://www.jamesholmes.com/struts/
>
>
> --- Dennis Muhlestein <[EMAIL PROTECTED]> wrote:
> > I turned debugging up in tomcat just for the heck of
> > it. (ROOT Context
> > debug="3") Tomcat pri
I turned debugging up in tomcat just for the heck of it. (ROOT Context
debug="3") Tomcat printed a whole bunch of xml errors when I reload my
app. The app worked correctly anyway (Go figure)
My xml validator validates my 1.1 xml ok. If if change the dtd to point
to the 1.0 version instead and
This actually was a browser issue. (Mozilla 1.0) I restarted Mozilla
and it worked.
I have no idea how the browser could have anything to do with struts
though. Somehow, the old form was cached.
Got me.
On Thu, 2002-06-20 at 11:09, Dennis Muhlestein wrote:
> So I decide to take
So I decide to take the plunge, try out 1.1b1 and see what it
can do.
I have a form that has no properties, just a placeholder while I develop
my app. I changed it to be org.apache.struts.action.DynaActionForm
instead. Still no properties.
After restarting tomcat and trying to access the Ac
I created a filter as advised by Greg. It works wonderfully.
You could protect requests for any resource with Filters.
See suns j2ee web tutorial for a filter example.
On Wed, 2002-06-12 at 13:19, Dennis Muhlestein wrote:
> Using Struts 1.0.2
>
> Some of my pages have ActionForms.
&g
intercept that or would I have to modify
struts?
Thanks
Dennis
On Wed, 2002-06-12 at 13:32, Adam Hardy wrote:
> I extended the Action class to do that. I have one Action class that
> does that and so on, and all my other Action classes extend it.
>
> Adam
>
> Dennis Muhlestei
Using Struts 1.0.2
Some of my pages have ActionForms.
Some only have Action Classes that do something.
Some have nothing but an action mapping in the config xml file.
Most of my pages however require a user to be logged in.
Before I used Struts, I put session management in a common servlet.
T
56 matches
Mail list logo