Hi,
I want to list all the files in a directory.
How do I start this?
I assume I have to make an action:
actionpath=/List
type=app.ListAction
name=evaluatieForm
forward name=successpath=/pages/ListFiles.jsp/
/action
The action then creates
Brij Naald wrote:
Hi,
I want to list all the files in a directory.
How do I start this?
I assume I have to make an action:
actionpath=/List
type=app.ListAction
name=evaluatieForm
forward name=successpath=/pages/ListFiles.jsp/
/action
The
Thanks for your answer. If the approach i'm trying now doesn't work, I
certainly going to try that one. But it almost works. The action gets
called, and it puts the right names in the request.
What I want to do now is to put in the JSP-page links to a page (viewfile)
which shows the file in
Brij Naald wrote:
Hi,
I want to list all the files in a directory.
How do I start this?
I assume I have to make an action:
actionpath=/List
type=app.ListAction
name=evaluatieForm
forward name=successpath=/pages/ListFiles.jsp/
/action
The
From: Wendy Smoak [EMAIL PROTECTED]
From: aris [EMAIL PROTECTED]
Use String (and occasionally Boolean) for form fields and things will
work
the way you need them to.
I don't understand your answer... If I need an Integer field for my
ActionForm derived class why I've to use a
From: Derek Broughton [EMAIL PROTECTED]
On Thursday 09 December 2004 14:28, Wendy Smoak wrote:
From: aris [EMAIL PROTECTED]
Use String (and occasionally Boolean) for form fields and things
will
work
the way you need them to.
I don't understand your answer... If I need an
Hi,
I am extending the above class and all submissions when the user clicks the
relevant button work OK, but if the user presses enter (CR) on the keyboard
to submit the form the following exception is thrown:
StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
Martin
Sorry perhaps I did not explain the issue well enough...
The problem is that there is no code (at least not in the .jsp) to fill in
'sometarget'.. I do not know what the target should be until after I evaluate
the submitted ActionForm.
Others have suggested that I use javascript in a
Hi Jack
Yes I agree, the Action can easily determine which of several pages to present
back to the user - my problem is that I need to present it back to a specific
named target page - maybe even a new one - and not back to the original page
used to submit the form.
What I can't figure out is
Hi Joe
I am beginning to think you are right - care to offer some sample javascript??
db
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 09 December 2004 21:19
To: David Bolsover; [EMAIL PROTECTED]
Subject: Re: Conditional forward to target page on form submittal
Hi,
This is now fixed. It was because I didn't have a 'default' method
specified in the form tag. I.e.,
html:form action=modifyOutgoingMessage?method=save
Regards,
andy
_
It's fast, it's easy and it's free. Get MSN Messenger
Hi,
I was wondering if the release of Commons Chain 1.0
will enable a Best Available release of Struts with
struts-chain? If not, how stable is the COR stuff in
Struts?
Thanks,
Julian
__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on
The way to do this is to create a link to an action that reads the bytes
in from the file and writes the bytes out to the ServletResponse's
OutputStream (unless the files are all, for example, text or HTML files
that you can place directly within the server's public document root).
So you are
I am having a hard time figuring out which files struts is talking
about in these errors that happen during startup. Everything runs
fine. Here are a few stack trace snippets. I get multiples of these
three.
[App=LS][Dec-10 09:41:16:648] org.apache.commons.digester.Digester
(ERROR) - Parse Error
Looks like your tiles configuration file may be hosed
or your DTD and configuration file are out of sync.
robert
-Original Message-
From: David McReynolds [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 9:50 AM
To: Struts User List
Subject:
At 6:28 AM -0800 12/10/04, Julian wrote:
Hi,
I was wondering if the release of Commons Chain 1.0
will enable a Best Available release of Struts with
struts-chain? If not, how stable is the COR stuff in
Struts?
The struts-chain was working just fine against pre-1.0 releases of
Struts Chain. If
Afaik Struts v1.3 will have request processor based on Chain.
Future versions may have Action be chain - like.
.V
Julian wrote:
Hi,
I was wondering if the release of Commons Chain 1.0
will enable a Best Available release of Struts with
struts-chain? If not, how stable is the COR stuff in
Struts?
I would suggest not doing it like that, define a hidden property instead,
otherwise one day when you decide to debug your page and add method=get to
the form tag (attribute, not parameter) you'd be surprised that it doesn't
work.
html:form action=modifyOutgoingMessage
nested:hidden
I would think so, but you'd have to call Validator yourself. Take a
look at how the ValidatorForm#validate() calls it, and base your
nested.validate() code on that. After the call, append the errors
from your main form and those in your nested form.
On Fri, 10 Dec 2004 10:41:36 +1100, Ben
Since this is at issue, I would suggest that you not use
LookupDispatchAction at all. It is clever but too convoluted. There
are better solutions. See http://www.michaelmcgrady.com/button/ and
http://www.michaelmcgrady.com/button/jsp/button_talk.jsp . As always,
I recommend DispatchUtil in the
I'm really looking forward to this. Big jump forward, I think.
Jack
On Fri, 10 Dec 2004 08:54:30 -0600, Joe Germuska [EMAIL PROTECTED] wrote:
At 6:28 AM -0800 12/10/04, Julian wrote:
Hi,
I was wondering if the release of Commons Chain 1.0
will enable a Best Available release of Struts
Where does it say Common Chain is now released at V1.0
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
-Original Message-
From: Julian [mailto:[EMAIL PROTECTED]
Sent: 10 December 2004 14:29
http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801
- Original Message -
From: Pilgrim, Peter [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, December 10, 2004 4:34 PM
Subject: RE: Common Chain 1.0 and Struts Chain
Where does it say Common
Also in jakarta news
http://jakarta.apache.org/site/news/news-2004-2ndHalf.html
and its listed in the Releases section on the Commons Chain site:
http://jakarta.apache.org/commons/chain/
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801
- Original Message -
From: Pilgrim, Peter [EMAIL PROTECTED]
Where does it say Common Chain is now released at V1.0
--
Peter
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Also in jakarta news
http://jakarta.apache.org/site/news/news-2004-2ndHalf.html
and its listed in the Releases section on the Commons Chain site:
http://jakarta.apache.org/commons/chain/
====
Cheers
-Original Message-
From: aris [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 11:23 AM
To: Struts Users Mailing List
Subject: Re: Problem with validation (?)
From: Wendy Smoak [EMAIL PROTECTED]
From: aris [EMAIL PROTECTED]
SNIP
I use the debugger for my Java
I hope this is appropriate for Friday postings.But the Struts 1.2.4 upgrade
has kicked me hard, now that I am done, I can focus on my favorite past time...
House Music!
Just wanted to request that anyone in the SF Bay Area, willing to donate just a
couple of minutes of your time, to Vote
been-away-awhile-but-now-back! /
Starting a major rewrite of one of our client facing webapps, along with a
significant change to the underlying production system that feeds the
webapp. One of the changes is that I know have the option of receiving
well-formed XML documents instead of big, ugly
Sorry for the deviation, but is there an easy way to find out what exactly
is causing
org.apache.jasper.compiler.ParseException: End of content reached while more
parsing required: tag nesting error?
error on a jsp? Maybe run it through some tool which points out the
problematic tag?
Thanks!
-Original Message-
From: Nagiel, Shahak (Mission Systems) [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 11:33 AM
To: [EMAIL PROTECTED]
Subject: More generic cookie question
We have a customized login/authentication scheme in our site,
using an extended Struts
That was it exactly,
Thanks,
Jim
From: David G. Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: RE: Controller Form not forwarding to Action
Date: Thu, 9 Dec 2004 17:52:16 -0500
Jim,
Since the ActionForm is working but you're getting no data
Martin,
I was using an old example which is referenced extensively in
documentation.
Ths solution was to chage perform to execute in the ActionForward
method in the LoginAction example.
Thanks,
Jim
From: Laconia Data Systems [EMAIL PROTECTED]
Reply-To: Laconia Data Systems [EMAIL PROTECTED]
Here's an informal description of what that ruleset is about.
Informally, we want to be able to parse things like:
foo
...
bar
...
catalog name=xyz
chain name=abc
command .../
command .../
/chain
/catalog
...
/bar
...
Hi all!
When our organization was making the decision between .NET and J2EE, we
were really struck by how powerful MS's idea of web forms were. The
ability to drag/drop web controls onto a page is very attractive, simply
because our developers were hired to develop; not generate HTML (as I'm
Sorry for the deviation, but is there an easy way to find out
what exactly is causing
org.apache.jasper.compiler.ParseException: End of content
reached while more parsing required: tag nesting error? error
on a jsp? Maybe run it through some tool which points out the
problematic tag?
Since JSP is XML, why not load it up in an XML editor. It should
complain and show you where the problem is.
Apte, Dhanashree (Noblestar) wrote:
Sorry for the deviation, but is there an easy way to find out what exactly
is causing
org.apache.jasper.compiler.ParseException: End of content
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic
Sent: Friday, December 10, 2004 12:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Opinions on Struts Layout
Brantley Hobbs wrote:
Hi all!
When our organization was making the decision between .NET
and J2EE,
On Fri, 10 Dec 2004 09:30:49 -0800, Craig McClanahan [EMAIL PROTECTED] wrote:
* I want to be able to define alias elements for commands that are used
a lot, so I don't have to specify the FQCN on every one of them. For
example,
the following element (from the unit tests):
define
On Friday 10 December 2004 14:03, Brantley Hobbs wrote:
Well, I ran across Struts Layout
(http://struts.application-servers.com/index.html). Perhaps I've been
living under a rock for a while, but it was something that I'd never
heard of before, and it seems to offer exactly what we longed
If you look at the Struts dev an user lists, Brantley, you will find
quite a bit on this too.
Jack
On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs [EMAIL PROTECTED] wrote:
Hi all!
When our organization was making the decision between .NET and J2EE, we
were really struck by how powerful
Look under struts-layout. The results of googling for struts-layout
are somewhat surprising and you might want to do that too. Naming is
so important. Why Struts Layout went with struts-layout is a mystery
to me. Wrong side of the brain problem, I guess.
Jack
On Fri, 10 Dec 2004 12:41:50
Thanks for the tip about the spelling. I did some googling, but didn't
really see too much information about struts-layout as compared to some
of the other technologies, which is really what I'm after.
Also, does anyone know of a way to search the lists? Every time I use
the search page
It already does. It's the third option on http://struts.apache.org/mail.html
H
On Fri, 10 Dec 2004 15:53:19 -0500, Brantley Hobbs [EMAIL PROTECTED] wrote:
Ahhh...
Perhaps the link for the list archives on the struts project page should
point to this URL!
Thanks!
B.
Try the search key struts-layout at his archive:
http://marc.theaimsgroup.com/?l=struts-user
I just performed that search and numerous results
show up for that word.
Regards,
David
-Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:49 PM
Ahhh...
Perhaps the link for the list archives on the struts project page should
point to this URL!
Thanks!
B.
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:52 PM
To: Struts Users Mailing List
Subject: RE: Opinions on
Yeah, but there's a link in the navigation menu right on the main page
at http://struts.apache.org that points to that other unsearchable
archive. To get to the link that you're talking about required at least
three page views. I can't be the only person who would opt to take the
path of least
Oh, you mean THAT link.
Yeah, maybe it can. Or at least to the section that points to the
list of available archives.
I once started on the main struts page and tried to find the page that
explained how to contribute patches, and got thoroughly lost. Sure I
know how to find a lot more stuff
Oooh, oooh (makes Horshack sound)
So the stupidest thing they did was what?
a) Make you WRITE that? (kidding)
b) Upgraded you with illiterate computer technicians like the ones who wrote
that paragraph?
The stupidest thing they ever did to me was, when I asked for more to do,
gave me NOTHING so
so what's the stupidest thing a company has ever done to YOU?
Read the last paragraph on this page:
http://www.techdoctors.com/custom.htm
- Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Does the company want to do defense contracting? Bush was re-elected.
This will speed up, I think. The old shallow analysis of Well, I am
innocent of everything and I don't mind it answer will become the
word of the day soon, I predict.
There might be a business reason to do this.
Jack
On
Probably when my CEO tried for week to get me to stay at the company instead
of taking another opportunity. I spent about 2 hours a day for week in his
office as he explained why I should stay, comparing the opportunities, my
future, my pay, benefits, etc.
After additional research and a lot of
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 2:56 PM
To: Struts Users Mailing List
Subject: RE: [OT - Friday]Corporate Stupidity
Oooh, oooh (makes Horshack sound)
So the stupidest thing they did was what?
a) Make you
So the stupidest thing they did was what?
a) Make you WRITE that? (kidding)
Well, I don't work for that company anymore, but yeah, writing the site
was basically wasteful.
b) Upgraded you with illiterate computer technicians like
the ones who wrote that paragraph?
Hah!
What makes you
Hah!
What makes you think a computer technician
wrote that? No, in fact, this was a classic
top-down approach to petty minutia.
I've worked with far to many computer professionals who were unable to put
even the most simple of thoughts into a well written paragraph. Then again,
I'm one of
Been there ...Done that
End of content means you have mismatched StartOfJava,EndofJava tags here is
an example
htmlheadTitleThis is your title/head
body
%
import java.io.*;
form name=MyForm submit=PerlCode.pl/
/body
/html
WOOPS forgot ending tag%
Martin-
- Original Message -
From:
Is there a constant key for
org.apache.struts.taglib.bean.LocalStrings? Thanks.
Jack
--
You can't wake a person who is pretending to be asleep.
~Native Proverb~
Each man is good in His sight. It is not necessary for eagles to be crows.
~Hunkesni (Sitting Bull), Hunkpapa Sioux~
Incredible!
Jack
On Fri, 10 Dec 2004 15:10:06 -0700, Jim Barrows [EMAIL PROTECTED] wrote:
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 2:56 PM
To: Struts Users Mailing List
Subject: RE: [OT - Friday]Corporate
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:03 PM
To: Struts Users Mailing List
Subject: Re: [OT - Friday]Corporate Stupidity
Does the company want to do defense contracting? Bush was re-elected.
This will speed up, I
I have to count myself as personally very lucky. I have actually
never had a company do anything really objectionable to me. I have
had very good luck, and remain a friend and even a close friend to the
people I have worked for in IT and in other areas.
I hope you did not suffer over this, Jim
Thanks, I am doing just that.
Just a quick question, how do I use the property name as the error key
in the validate() method?
I have this but it uses the form name as the key, not the name of the
property currently validating.
public ActionErrors validate(ActionMapping mapping,
with the new struts 1.2.4 upgrade, I started to change all the arg0 ... to
arg position=0... but find that my custom validators are not being found.
1. Is there a doc on upgrading the validator?
2. Anyone ever heard of this happening?
Here is my form validator:
==
I have a bean object in the jsp page. How can i use the logic:iterate tag to
producing the result?
Pramod wrote:
I have a bean object in the jsp page. How can i use the logic:iterate tag to producing the result?
If the bean has a Collection say collection , you can do
logic:iterate id = element name = bean property = collection
!-- here you can refer to each element in collection using
In the struts-config.xml, you still leave things as /appEntryPoint, and
the same holds true for custom tags e.g.
html:form action=/appEntryPoint/html:form
html:link action=/appEntryPoint/html:link
The struts controller and the taglibs will take /appEntryPoint, find
matching actions, and
Hello
I will be in the area of Leicester Square for 6:30PM I think. I will be in
the pub The Trafalgar? which is next door to the Odean Leicester
Square and to left of the Capital Radio.
If you arrive early you can meet me there before going to the restaurant.
--
Peter Pilgrim
Operations/IT
Joe,
Thanks a lot. I will plan on implementing the chain
after a bit more due dilligence. btw, I agree on
making a seperate jar for the set of commands which
provide legacy support. Thanks.
-Julian
--- Joe Germuska [EMAIL PROTECTED] wrote:
At 6:28 AM -0800 12/10/04, Julian wrote:
Hi,
I
Brantley Hobbs wrote:
Hi all!
When our organization was making the decision between .NET and J2EE, we
were really struck by how powerful MS's idea of web forms were. The
ability to drag/drop web controls onto a page is very attractive, simply
because our developers were hired to develop; not
Derek,
If you made a list of bullet points for the parts of struts layout you like
most, perhaps we listmembers could point you in the direction of native
Struts parts or equivalent add-ons.
Regards,
David
-Original Message-
From: Derek Broughton [mailto:[EMAIL PROTECTED]
Sent: Friday,
69 matches
Mail list logo