Hi,
We've been getting these error messages lately in the logs of our
application which is running on BEA WLS 6.1. The application is OK and
there's no problem but we're getting these in the logs from time to
time:
eshrap01-m eshrap01-m
<>
<> <101020> <[WebAppServletContext(705159,iip,/
Hi,
Does the validator support max file size for an uploaded file? I have
found various threads covering how to specify the max file size and how
to check if it is exceeded but this all seems to be server-side and
outside of the validator mechanism
e.g.
http://www.mail-archive.com/user@struts.a
I have the impression taht LazyValidatorForm was a little different
and allowed us to use it in conjunction with a regular ActionForm, so
I had my AdminForm, ChatForm, etc. subclasses of LazyValidatorForm. I
am thinking of a different solution, including maybe a subclass of
that does what I need.
JkMount is what I was talking about.
Looks like there is now a JkAutoAlias you can use to auto-map all
applications, if you want them mapped in whole. To do them in part (have
Tomcat serve dynamic content and Apache serve static content), it looks like
you'll still want JkMount and JkUnmount.
Actually guys, I think the main configuration file for mod_jk is called
either workers.properties or workers2.properties. What is in httpd.conf
should be one or two simple load module statements. The real configuration
is usually located in the Apache (not Tomcat) web server's conf or conf.d
dire
From: "Dakota Jack" <[EMAIL PROTECTED]>
If I use the code and LazyValidatorForm, then I get no HTML because
it bails because of LazyValidatorForm.
You really need to post the exact error messages.
This isn't going to be a drop-in solution. Just as in moving from
ActionForm to DynaActionForm, you
You get a 404 because the default port for HTTP traffic is 80, and
Apache knows nothing about your web application. That's why you have
to specify a port - Tomcat, which is running on the port you specify,
does know about the web app.
You've got to setup a mapping in your Apache config (httpd.con
Hi,
My server is running Apache HTTP server with Tomcat. My web.xml file is
configured to support *.do files and all my struts apps works directly
on Tomcat i.e. using 8080 port.
But If I request for *.do files through Apache i.e. without giving port
number, then I get 404 file not found.
Apache
There is a Catch-22 on this, Wendy. If I don't use the code you see
and not LazyValidatorForm, I get no HTML because it bails because
there is a property without a getter on the form. If I use the code
and LazyValidatorForm, then I get no HTML because it bails because of
LazyValidatorForm.
More
Maybe we are approaching this from the wrong direction...what is the
problem you are trying to solve?
On Sun, 23 Jan 2005 17:09:45 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
> Actions are, effectively, singletons. There is a single instance
> created, no matter how many mappings use it. This
From: "Dakota Jack" <[EMAIL PROTECTED]>
So, I need something like LazyValidatorForm, but that is not working
for me. Are we on all fours concerning the problem?
I think so. I'd like to see the HTML generated from your most recent post
and know whether those 'normal' properties that are still in
On Sun, 23 Jan 2005 17:56:51 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Dakota Jack" <[EMAIL PROTECTED]>
>
> > I want to stress that my ONLY problem is that I want to use a dynamic
> > variable in
> > size='1'>
>
> Does that even work and generate HTML?
That is right. Thanks. A
Struts Shale has no impact on Struts Classic or Jericho.
As mentioned elsewhere, we are not governed by the economics of scarcity.
Likewise, we are not governed by the economics of market share. There are
several very active projects with thriving communities with a much smaller
market share th
I guess asking what the vote is does give good reason for this. I
like you so much Vic that it would be hard to fault you. But, I am
surprised that a mere question about the vote could engender this sort
of thing. Interesting. I am really interested in JERICHO. What
SHALE does is not important
The vote was unanimous. They usually are. Otherwise, we would decide to do
something else :)
No one knows what direction Struts will take, because no one person makes that
decision.
The people who make that decision are the people who *volunteer* the time and
energy to create code and document
From: "Dakota Jack" <[EMAIL PROTECTED]>
I want to stress that my ONLY problem is that I want to use a dynamic
variable in
size='1'>
Does that even work and generate HTML? Tags within tags have never been
allowed, unless you're talking about something like a inside a
plain-old-HTML tag.
Try St
On Sun, 23 Jan 2005 17:21:08 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> What do you mean by 'farming' the values? IIRC this all started when you
> didn't want to pre-define property names. Could it be that a Mapped
> property in a normal ActionForm would do what you want? Do you really nee
Yes, it's typical. The same thing happened with Scripting.
All technical decisions regarding code are made on the dev list, and always
will be.
We sometimes choose to make non-technical decisions on the PMC list.
-Ted.
On Sun, 23 Jan 2005 13:13:15 -0800, Dakota Jack wrote:
> At the risk of bei
I hope you think this is funny Jack, sometimes I amuse myself:
I think the shortest answer is that anyone un-happy (with multiple
projects?) can: A. fork any friendly license like ASF and refactor under
the terms of license, maintain the source code or see if they can
develop a user community, B
From: "Dakota Jack" <[EMAIL PROTECTED]>
The second one probably does have something to do with how I am
"farming" the values. Prior to using LazyValidatorForm, I have some
values in the form as related to and some not. E.g. I
have a combination of for example and
.
This really shouldn't matter
Thanks for the answer. My question is how the community was taken
into account and whether the details of the voting is secret or open?
Are the votes public or is the issue raised publicly? Or is the
community taken into account privately? I am just trying to get a
feeling for what the directio
It was not an answer to your question, Eddie. My answer to your
question was in a different post. Maybe you got the two confused?
Maybe I have? My reply to your post included code which you could try
to test your theory. This is an answer to Carl, I think. The answer
was to:
">
> -Origin
>> I then have a number of menu options that should only be made
>> visible to users with certain roles;
>
> Try Struts menu.
I have looked at the Struts Menu ( http://struts-menu.sourceforge.net/
) and I think I'll probably give it a go!
Does anyone else here have any experience using the Struts
A few things, Wendy. I think you are on the right track. I had two
difficulties.
I solved one with the -*- and the @ as a stop gap solution. I
customarily use the property value of the html image button to pass
the method with myMethod.method. This will not work with
LazyValidatorForm. So, I
Heck, I only get frisky with perceived slights. ;-) I think
something is wrong with this Eddie. Try the following two classes and
interface and you will fidn that if you (1) compile all three, then
change the Xs in the constants to Ys and recompile only the TestClass,
you will get all Ys in all
From: "Dakota Jack" <[EMAIL PROTECTED]>
I think there is some way that LazyValidatorForm is wedded to the
struts framework that I don't understand. I will have to check it
out. For the moment, I cannot use it with my Actions. Is there some
special way we are suppposed to get the values from the
On Sun, 23 Jan 2005 16:06:42 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
> Not to start another holy war, but perhaps you all could help me
> either solidify or dispell something I learned ...
>
> I've always been of the impression that mentioning a value for a
> startic final member is poor for
Actions are, effectively, singletons. There is a single instance
created, no matter how many mappings use it. This means actions have
to be thread-safe, and suggests that the best place to configure
things would be in the mapping itself, or some other way (resource
bundle, propeties file, singlet
My question was a lot lower-level than your answer. In fact, I don't
see how your answer is applicable to the question I posed.
On Sun, 23 Jan 2005 14:47:47 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> The design question is whether you can live with any and all uses of
> the interface constan
The design question is whether you can live with any and all uses of
the interface constant. Once you expose it to the public, that is
not your choice.
If you are just coding for yourself and don't care about proper
design, do anything you like. So, if you are going to use constant
interfaces d
The PMC makes such decisions, but takes the community into account
when making the decision.
--
Eddie Bush
On Sun, 23 Jan 2005 13:13:15 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> At the risk of being flamed, might I ask if this debate, vote,
> whatever was public or limited to the PMC? And
Not to start another holy war, but perhaps you all could help me
either solidify or dispell something I learned ...
I've always been of the impression that mentioning a value for a
startic final member is poor form, and that this should always be done
in a static intializer, thus:
public class Fo
Well, it gets odder. I have discovered that when I submit to ChatAction with
things work fine but that when I submit to the same ChatAction with
I think there is some way that LazyValidatorForm is wedded to the
struts framework that I don't understand. I will have to check
Hello,
I've only just started using struts, so I need some input on
how to approach struts designs...
I need to set a couple of configurable variables in each Action
class in my struts application. For plugins the set-property tag
is used to set variables in the plugin directly, and I understan
OK..
So if you must use the constant interface WayOne would get my vote.
db
-Original Message-
From: Carl Smith [mailto:[EMAIL PROTECTED]
Sent: 23 January 2005 21:18
To: Struts Users Mailing List
Subject: RE: [OT] Re: constants interface
Thanks all for the hot discussion. However, the
The first way. I think we all agreed with that answer before we veered
off into debate :) The second, as I recall, was universally said to not
be a terribly good idea.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Carl Smith wrote:
Thanks
Thanks all for the hot discussion. However, the discussion has gone too far off
my original question. I suggest not to discuss whether or not we should have an
interface just for constants, instead
I have decieded to use the constant interface (no matter it is good or not, I
beleive it will n
On Sun, 23 Jan 2005 18:39:50 +, Tim Christopher
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am designing a web application using Struts, which will run using
> Tomcat. The system will have upwards of 1000 users, with each user
> having any number of around 10 possible roles.
>
> I'm currently thi
At the risk of being flamed, might I ask if this debate, vote,
whatever was public or limited to the PMC? And, might I ask if this
was sub rosa (so to speak), is that typical? I do not mean to suggest
anything but merely to gather information about the processes, since
these processes impact my u
On Sun, 23 Jan 2005 12:55:56 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> It is clear, however, that
> something that works with Struts 1.1 does not work with Struts 1.2.6.
I should have said "something that works without LazyValidatorForm
does not work with LazyValidatorForm and that somethi
The Apache Struts team is pleased to announce the adoption of its latest
subproject, Struts Shale, a JSF-based framework. The Shale codebase was
initiated by Craig McClanahan in the Struts sandbox, and development
traffic regarding Shale has steadily increased. As the product is heading
towards
Thanks for the responses: they are all helpful. I meant
"documentation", Kwok. Sorry! You are right! I have the image tag
in a form, James. I am now convinced the problem is not the tag, but
somehow the Action class used with some of the image tags. This is
because all of the image tags work
Tim Christopher wrote:
Hi,
I am designing a web application using Struts, which will run using
Tomcat. The system will have upwards of 1000 users, with each user
having any number of around 10 possible roles.
I'm currently thinking of using JDBCRealm within the Tomcat
Sounds good
xml file
to set t
From: "Dakota Jack" <[EMAIL PROTECTED]>
And, so, I need to get the API for the taglib for Struts
1.2.6. Where is that?
Assuming you downloaded struts-1.2.6.zip (or .tar.gz) from
http://struts.apache.org/download.cgi
there is a 'struts-documentation.war' file included which has the docs for
ex
Hi,
I am designing a web application using Struts, which will run using
Tomcat. The system will have upwards of 1000 users, with each user
having any number of around 10 possible roles.
I'm currently thinking of using JDBCRealm within the Tomcat xml file
to set the roles for each of the users, t
Wow.. I'm off line for a day .. and WWIII breaks out..
My reference to Joshua Bloch seems to have gotten the list a bit steamed
up.. any chance that peace might break out some time soon?
db
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: 23 January 2005 15:08
To:
Hi
Check out this link:
http://www.raibledesigns.com/page/rd/20030226
thks
Isteyaque
On Sat, 22 Jan 2005 00:51:53 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote:
> Use "validWhen" and you conditional can be
>
> (*this* == password) to evaluate whether password2 is equal to password always
> (
Hello Jack, list,
Ok, maybe I shouldn't write things like "No, as usual, you miss my point.",
but actually this is true, which is I assume more my fault, as I fail to
explain my thoughts understandable, then yours. It just always happens with
you, Jack :-)
So I beg my pardon for the rude tone of
Hello Jack, list,
Ok, maybe I shouldn't write things like "No, as usual, you miss my point.",
but actually this is true, which is I assume more my fault, as I fail to
explain my thoughts understandable, then yours. It just always happens with
you, Jack :-)
So I beg my pardon for the rude tone of
I'm interested in getting attributes from the requested page(body) into the
navigation tile. This attribute will not be available in the request but in
the requested page instead. I'm using XML type definitions and a
TilesController to dynamically select the body, so web programmers can add
new
html:image produces an image () that submits a form.
If you are not using a form (html:form), then why do you need an image
input?
Perhaps what you are looking for is html:img, which simply renders an image
on the page (nothing to do with a form).
--
James Mitchell
Software Engineer / Open So
service to use it (I introduced a new
optional config file for your application that defines Web Service
mappings).
If you want to try this stuff out, download the 20050123 (or later)
nightly builds of the framework (struts-shale) and the use cases
example app (struts-shale-usecases) from:
I&
I have used Axis w/ Struts My opinion is that Axis is very poor and
complex SOAP.
Also, there are better SoA protocols.
The news here is Chain. That is the power.
.V
Will Stranathan wrote:
Not to show how terribly behind the times I am, but isn't that
precisely one of the things Axis does?
Do you really need the api for that? Well if you do you can browse the
documentation for that.
I'd like to know what you actually used in the tag before
you got the error.
Dakota Jack wrote:
I am getting the following error:
java.lang.IllegalArgumentException: No bean specified
org.apach
On Sat, 22 Jan 2005 13:43:25 -0800, Dakota Jack wrote:
> To summarize Joshua Bloch,
And Anders Hejlsberg agreed [http://c2.com/cgi/wiki?AndersHejlsberg].
In C#, constants are not permitted to be members of an interface.
-Ted.
---
I am getting the following error:
java.lang.IllegalArgumentException: No bean specified
org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:751)
org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:937)
org.apach
I have discovered that LazyValidatorForm is incompatible with using a
dot separated name to pass on information about which submit method is
used. E.g. property='webmasterHostsOptions.method' in
will get the following exception:
org.apache.commons.beanutils.NestedNullException: Null property v
57 matches
Mail list logo