Here is whole list of them in any language you need.
http://en.wikipedia.org/wiki/Captcha#Java
Bryan LaPlante
-- Original Message ---
From: Frank W. Zammetti [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Cc: struts-user@jakarta.apache.org
Sent: Mon, 24
Is Actionform a value Object in Struts.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Not really. People do use it that way, but it is really meant to be a
buffer for the input to a form. We need a place to store values so
that we can validate the input. After the input is validated, it is
usually transfered to a value object and that object is passed to the
business layer.
Niall Pemberton wrote:
On 4/22/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
snip
Here is what I think someone would find by examining the archive.
Whenever certain pointed questions are posed, one of two things happens:
(1) The person being posed the question simply walks away from the
In my web application.I have struts tiles layout which include
header,body,footer.
In my hader.jsp i have a
[EMAIL PROTECTED] file=test.inc%
In test.inc file i have variable
strUserLoginID.
How to make variable value available to all jsp's in Tiles Layout ?
exactly, thanks !
On 4/25/06, Niall Pemberton [EMAIL PROTECTED] wrote:
On 4/24/06, Lixin Chu [EMAIL PROTECTED] wrote:
just upgraded from 1.2.8 to 1.2.9. I did not add
set-property property=cancellable value=true/
in struts-config.xml and still use html:cancel as per normal in jsp
Dakota Jack wrote:
Busschots, you and Newton are really the worst on this list. You never have
code or ideas, only c-r--a---p.
No, I just help people when I can and learn from people when relevant
topics come up. Have a look back at the archives, you'll see me helping
people with
In my web application i have 2 roles.
For each role there should be different header and footer.
How to implement this in struts tiles ?
I am using struts 1.2.8
-
Raghu
-
To
It would be better to continue the thread on dev@struts.apache.org,
but there's no reason to take the discussion off list.
-Ted.
On 4/24/06, John B. Walker [EMAIL PROTECTED] wrote:
Thanks Ted! I will dust off my old sourceforge.net account and take this
conversation off the user group with
Niall,
If you see my earlier reply to my question, I included the source code of
my validateTwoField(..) method. I include it here again for your perusal. I
do instantiate the ActionErrors object and add an ActionMessage as you see.
public static boolean validateTwoFields(Object bean,
Busschots, your refer to me as Jack. Get it? Incredible! I have checked
your history.
On 4/25/06, Bart Busschots [EMAIL PROTECTED] wrote:
Dakota Jack wrote:
Busschots, you and Newton are really the worst on this list. You never
have
code or ideas, only c-r--a---p.
No, I just help
Hi,
I have to write a parser in java which takes an DDL file as input and put
the tables and the fileds in an arraylist seperatly.
Please advise me how to proceed.
Thanks in advance.
Shiva
We would all appreciate it if you would prefix all your posts
correctly. Whenever you (Dakota Jack) post a message, you need to put
[spam] at the beginning.
Thank you and have nice day.
K.
On 4/25/06, Dakota Jack [EMAIL PROTECTED] wrote:
Busschots, your refer to me as Jack. Get it?
Looking at tiles dtd you find that you have a role attribute on definition
element.
Another way of controlling what appears is using the role attribute on
tiles:put tag.
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 25 de Abril de 2006 11:44
To:
Why form is being validate when request token is invalid?
How can I disable form validation when token is invalid?
I have large form (scope session) with very complicated validation which
relies on session attribute, when user try save form after session
timeout, form is being validate which
You have to put that variable in more general scope, e.g, put as a request
attribute.
-Original Message-
From: Lixin Chu [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 25 de Abril de 2006 10:36
To: Struts Users Mailing List
Subject: Re: Struts 1.2.9 does not throw InvalidCancelException
Hi Niall,
Up on further search, I found questions like mine in various forums. The
problem is I guess I am not adding the errors in the validation method
correctly. Also, the I added the following line in my method.
---
errors = new ActionErrors();
I did this
Everyone,
I found the problem in my code. I was using ActionErrors in my custom
validation method instead of ActionMessages. I found again that the
mistakes done on obvious pieces are difficult to track down.
Do I need to close this discussion?
Thanks all,
Kiran
Craig McClanahan wrote:
On 4/24/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
I look forward to feedback. Thanks for listening!
Without commenting on the merit of the proposal itself, or the reasoning
presented as its justification, it is important to note that we (the Struts
community)
Ted Husted wrote:
Ummm, it's a longstanding tradition that we don't tolerate personal
attacks. I would consider it a personal courtesy if people would not
engage in personal insults, even on my behalf.
Ted, it's good that you are against people engaging in personal attacks.
However, I would
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 4/24/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
* Rationale
One of the issues that a number of people seem to have with the way
Struts has progressed is the seeming inability (or difficulty at least)
of getting new blood
Does DynaValidatorForm have to be explicitly instantiated in an action?
Thanks.
- Asad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 4/25/06, Asad Habib [EMAIL PROTECTED] wrote:
Does DynaValidatorForm have to be explicitly instantiated in an action?
No this is one of the things that Struts does for you. All you should
need to do is define it, along with the properties you want in the
struts-config.xml:
Hi.
How can I specify a mask with letters, underscores and numbers with only 8
charaters in total?
Something like this? var-value[a-zA-Z0-9]{8}$/var-value
Thanks!
Marisol.
If I have 2 roles
admin and user
definition name=.page.home.page extends=base.definition role=admin
If my Action forward path is .page.home.page for user role
what would be the state of application.
Can I declaratively specify to navigate specific page/tiles definition with
message
Example
Remove the {8} from the Mask and also include the maxlength validation
on that field. Something like this:
field property=field1 depends=mask,maxlength
arg0 key=mykey/
arg1 name=maxlength key=${var:maxlength} resource=false/
var
var-namemaxlength/var-name
I need to be 8 characters, nor more neither less...
-Mensaje original-
De: Kalcevich, Daniel [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 25 de Abril de 2006 11:33 a.m.
Para: Struts Users Mailing List
Asunto: RE: Mask validation
Remove the {8} from the Mask and also include the
Really quickly. Here's a mask I am using. I allows A-Z, a-z and the
special characters, ' , - and [Empty space]
^[a-zA-Z\s'-]+$
I guess you can work off of it.
Harsh.
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 9:30 AM
To:
You could use the minlength validation then as well, and then if you use
Struts HTML Tags, set the maxlength=8 on the text box. That way the
user would be required to entered in at least 8 (as dictated by the
minlength) and no more than 8 (as dictated by the maxlength on the input
box).
Does
If the user enters less than 8 char appears a message...
If he enters more than 8 char appears a message...
I don't want to drive him mad ;)
With the mask validation I want to show only ONE message to the user...
-Mensaje original-
De: Kalcevich, Daniel [mailto:[EMAIL PROTECTED]
I think you can't do that with tiles. Maybe with a controller but not
declaratively :(
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 25 de Abril de 2006 15:29
To: 'João'; 'Struts Users Mailing List'
Subject: RE: Role based Tiles
If I have 2 roles
admin
On Tue, April 25, 2006 1:17 am, Craig McClanahan said:
The latter statement is, as mentioned in my previous response, the way
that
*all* projects at Apache work -- it is not unique to Struts. Any claim
that
all of Apache is broken in this regard is going to be, umm, unlikely to be
agreed
On Tue, April 25, 2006 12:36 am, Craig McClanahan said:
Without commenting on the merit of the proposal itself, or the reasoning
presented as its justification, it is important to note that we (the
Struts
community) do not have free reign to do whatever we want in this regard.
As
part of
On Apr 24, 2006, at 7:57 PM, Michael Jouravlev wrote:
Does using Tiles still makes sense in 2006?
I'm still trying to decide but I'm pretty sure the answer is yes. If
I was working on existing code that relied heavily on Tiles I would
certainly be glad to know that new development is
Dakota Jack wrote:
I am amazed you got it too. Thanks, Newton. I thought you were tight with
Ted no matter what. Nice to see you have a mind of your own.
Well, you've clearly been too stupid to understand the other umpteen
times I've said I'm not that big a fan of Struts. Coming from a
Dakota Jack wrote:
Busschots, your refer to me as Jack. Get it? Incredible! I have checked
your history.
Which isn't your name, so why do you care?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello everybody,
I'm not a specialist using struts, but I did some work with it in last
months.
Now, I'm working on project using the jdk1.4.2 and I'v moved to jdk 1.5 to
have plenty use of aspectj 5 (an AOP tool).
I don't know if there is a compatiblity problem using struts 1.2.8 with
java
I've worked on Strecks with Java 5 and Struts 1.2.7 and 1.2.9 (I skipped
1.2.8), and Java 5 definitely isn't the problem. Your problem sounds
rather strange. Try downloading and building one of the Strecks examples
from source (using Jdk 1.5), and see if it causes the same problem.
Phil
Hello all,
I have a project i'm working on, that has the following view
requirement:
1) have a known filesystem directory into which static html files can be
placed. these html files have a marker somewhere in the body tag that
says !-- dynamcStuffHere --. The marker could be anything, that is
mouna SAHIB wrote:
I don't know if there is a compatiblity problem using struts 1.2.8 with
java 5:
I've been using Java 5 for quite awhile with no issues with Struts 1.1-1.2.
[javac] error: error reading C:\projets\M_LIB\.classpath; error in
opening zip file
Sounds like either your build
Hello,
Do you have aspectj libraries on your path?
Is your classpath setup properly?
R you using Eclipse/RAD?
Hth
marco
-Original Message-
From: Phil Zoio [mailto:[EMAIL PROTECTED]
Sent: 25 April 2006 17:15
To: Struts Users Mailing List
Subject: Re: troubles using java
This was the answer!
^[a-zA-Z0-9_]{8}$
Thanks everybody!
Marisol.
-Mensaje original-
De: Kalcevich, Daniel [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 25 de Abril de 2006 11:33 a.m.
Para: Struts Users Mailing List
Asunto: RE: Mask validation
Remove the {8} from the Mask and also
Dave Newton wrote:
[javac] error: error reading C:\projets\M_LIB\.classpath; error in
opening zip file
Sounds like either your build file is wrong or one of your libraries is
corrupted?
Maybe post the relevant section of your build file.
-Dave
You are using WSAD/Eclipse, correct? In which case your .classpath file
points to all of those nifty things in your project that should be used to
compile your application, including the classes and libraries that are
referenced by the compiler and run-time code.
To me, it sounds like you have a
OK, I have your first example working, and as you said it has gottem me
almost there. However, I have a few things that I am getting caught on for
the second example. First, you mention that the ability to use wildcards in
a set-property element is new to Struts 1.3, however I can't find any
There is a quick note on set-property in the user guide [1], but I agree, it
isn't very clear.
Here is how set-property works, using an ActionMapping as the example:
- set-property property=foo value=bar / will have Struts call
setFoo(bar) on the action mapping at startup, used when you have a
I should note the second set-property usage can be used with any
ActionMapping, not just a custom one, as the ActionMapping class inherits
BaseConfig, which has the properties methods.
Don
On 4/25/06, Don Brown [EMAIL PROTECTED] wrote:
There is a quick note on set-property in the user guide
Hi!
I have textboxes and a drop down list.
The first value is the default value selected in the combo.
I complete the textboxes and select something from the combo (suppose, the
3rd value).
I validate textboxes.
If a validation message is shown... the selection in the combo IS MISSED.
A previous question to this list resulted in many recommendations to use
Spring's JDBCTemplate (among other fine alternatives) to connect to my
database. It looks like an attractive solution for me so I've been
wading through a plethora of material.
There are so many tutorials and a wealth of
Can anybody help me?
THANKS!!
Marisol.
_
De: Marisol Opreni [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 25 de Abril de 2006 03:52 p.m.
Para: 'Struts Users Mailing List'
Asunto: Combo Selection Missed
Hi!
I have textboxes and a drop down list.
The first value is the
How can i use multiple roles in tiles definition?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm trying to use 2 different pattern mappings to the action servlet,
and have one handle protected action and one handle public actions using
security-constraints, the mappings look like this:
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.auth/url-pattern
Thanks a lot Frank.
I will also investigate your option.
Thanks for the feedback.
From: Frank W. Zammetti [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
CC: struts-user@jakarta.apache.org
Subject: Re: [OT]
Hi
I am using struts 1.2.8 and i have a problem with test condition with
validwhen validator.
Eveything works fine except when i try to compare sth with a string
containing values not from iso8859-1 charset .i.e
field property=statementType depends=validwhen page=3
msg
On Tue, 2006-04-25 at 16:52 -0300, Marisol Opreni wrote:
De: Marisol Opreni [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 25 de Abril de 2006 03:52 p.m.
Para: 'Struts Users Mailing List'
Asunto: Combo Selection Missed
Hi!
I have textboxes and a drop down list.
The first
On 4/24/06, Rick Reumann [EMAIL PROTECTED] wrote:
Michael Jouravlev wrote:
So, the question I am asking: what are the real benefits of using
Tiles if I use JSP includes + XHTML/CSS for layout/styling? Can most
of Tiles features be implemented with XHTML/CSS?
I guess some of it comes to a
Michael,
Why would you advocate the overhead of invoking struts
*.do actions inside a JSP? After all, doesn't that
force a complete reinvocation of the request process
for each Struts action you call? For example, your
below template would parse one for the original request,
then (#2) once for
On Apr 25, 2006, at 5:15 PM, Michael Jouravlev wrote:
If it is in the xml file, it is not dynamic anymore, is it?
No it's not.
But if the value is a really dynamic one, say
you read it from a database, then you cannot set it in the definition
file anyway, can you?
No. It would have to
On 4/25/06, Greg Reddin [EMAIL PROTECTED] wrote:
if I have a
composite page out of three JSP files, how would I run their
corresponding setup actions before the page is composed?
Instead of including JSP pages I would include Struts actions (Will it
work with Tiles? I haven't tried it
On 4/25/06, Michael Jouravlev [EMAIL PROTECTED] wrote:
On 4/25/06, Greg Reddin [EMAIL PROTECTED] wrote:
if I have a
composite page out of three JSP files, how would I run their
corresponding setup actions before the page is composed?
Instead of including JSP pages I would include
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote:
According to the APIs, it is actually one Controller per Tile, not one
Controller per page ... doesn't that give you (Michael) the hook you'd need
to grab the dynamic data for each fragment?
I guess it does. But how is this better/different
On 4/25/06, Michael Jouravlev [EMAIL PROTECTED] wrote:
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote:
According to the APIs, it is actually one Controller per Tile, not one
Controller per page ... doesn't that give you (Michael) the hook you'd
need
to grab the dynamic data for each
Marisol,
Why don't you post your FormBean to the mailing list? It should work.
-Richard
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 12:53 PM
To: 'Struts Users Mailing List'
Subject: RV: Combo Selection Missed
Can anybody help me?
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 4/25/06, Michael Jouravlev [EMAIL PROTECTED] wrote:
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote:
According to the APIs, it is actually one Controller per Tile, not one
Controller per page ... doesn't that give you
We've been asking the same question around here. I think there two issue
with tiles:
1. The first is documentation, only after reading Rick Hightower's did I
discover some of the more useful features of tiles. I've found that with
struts that tiles is the weakest kink in terms of documentation
On Apr 25, 2006, at 6:19 PM, Michael Jouravlev wrote:
On 4/25/06, Craig McClanahan [EMAIL PROTECTED] wrote:
According to the APIs, it is actually one Controller per Tile, not
one
Controller per page ... doesn't that give you (Michael) the hook
you'd need
to grab the dynamic data for each
On Apr 25, 2006, at 11:13 PM, Zoran Avtarovski wrote:
I've found that with
struts that tiles is the weakest kink in terms of documentation and
tutorials.
Agreed. There is a ticket open to accept patches to doc[1]. The
ticket description contains an overview of what is needed. I started
The burst in the number of committers has nothing to do with Struts. For
the most part it is Craig bringing in people who had nothing to do with
Struts out of JSF to work on Shale and give him voting power. Has Gary ever
done anything with Struts? And, he is a Struts committer. That is the
All;
I've Goggled, and searched this list, but can't get a workable
solution. I was handed a struts webapp, which is now deployed as ROOT.war
Now I'd like to get rid of the home.do that comes up when the root of
the site is loaded, e.g.: http://www.foo.org/home.do
I've tried an index.jsp
All;
I've Goggled, and searched this list, but can't get a
workable solution. I was handed a struts webapp,
which is now deployed as ROOT.war
Now I'd like to get rid of the home.do that comes
up when the root of the site is loaded,
e.g.: http://www.foo.org/home.do
I've tried an index.jsp
70 matches
Mail list logo