check out dispatch actions..
you can have multiple execute methods with dispatch action ...
Your Action class extends DispatchAction instead of action (check the
docs)
public final ActionForward submit(
ActionMapping mapping,
I recently saw the term Dog Food and found it amusing. I might not be
using it correctly in this context ( I just might be eating some dog food
with my prior email :-) ) . What I was trying to get across is that just
because there are other languages/technologies that allow programmers to
build
half a dog...
On Friday, July 11, 2003, at 07:58 PM, Mark Lowe wrote:
whats got 2 legs and bleeds a lot?
On Friday, July 11, 2003, at 07:43 PM, Bailey, Shane C. wrote:
What do you call a fish with two knees?
A two knee fish! (Tunafish!)
-Original Message-
From: Mark Galbreath
Hi thanks for the reply,
Any information or sample code on how to use those?.
Thanks
Saman Ghodsian
CTO
Middle Earth Technologies Ltd.
www.metca.com
Cell (604)-839-7791
Vancouver, BC
Canada
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Friday, July
I think I see where you are goingtry setting the form action instead:
SCRIPT language=JavaScript
function submitForm(form) {
document.frm.action=lookup.do; // --Change this to not be hard-coded
form.submit();
return true;
}
/SCRIPT
form name=frm action=? method=GET
input type=hidden
Saman Ghodsian wrote:
Hi thanks for the reply,
Any information or sample code on how to use those?.
Maybe not those tags particularly, but example of XDoclet use at
http://xpetstore.sf.net/
Erik
-
To unsubscribe,
Hello, list,
We haven't get the *simplest* answer to the second question:
What do you call a dead deer without eyes?
If no *correct* answer, I will publish it in an hour. Obviously
putting it on dinner table is not the best practice :-)
Jing
- Original Message -
From: Mark Lowe [EMAIL
I have a value object which has a invoice date (String). I have two getMethods in my
value object
private String invoiceDate;
public String getInvoiceDate() {
return invoiceDate;
}
public String getDisplayInvoiceDate() {
return DateUtils.formatDate(invoiceDate);
}
Note that my
Couldn't agree with you more... an' sorry for the snide line, i think
i've got a little irritated over yesterdays efforts on this thread..
I just cant see why the JSTL standard seems to be a product of
pandering to PHP hackers (There are some nicely written PHP apps)..
Worse still folks who
Mark,
As Glenn pointed out that there are different scales of applications, just
like PHP hacking might be more suited, JSTL might be more suited. With some
custom persistence tags to handle your business logic, you could easily
write a whole application with JSTL. Though, I wouldn't recommend
Hi all,
I´m having some trouble with exception handling in my custom tags.
Is there a practical way to handle them, just like we do in struts actions?
Do I have to programaticaly catch everything and forward to the error page?
Thanks in advance,
Marco Garbelini
I wrote a sample app that might be just what you're looking for:
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
HTH,
Matt
-Original Message-
From: Saman Ghodsian [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject: Xdoclet
Hi everyone,
On 07/11/2003 03:31:10 PM Jing Zhou wrote:
Hello, list,
We haven't get the *simplest* answer to the second question:
What do you call a dead deer without eyes?
If no *correct* answer, I will publish it in an hour.
Only in an hour? Hmm, what's the rush? ;-)
Obviously putting it on
Thanks guys. The bottom line is that we do have the ability not to use the
features that we find objectionable. I am just surprised that the very fine
folks who conceived and built the struts framework would (appear to) favor
such features. Perhaps they could build one struts framework for people
I was running some tests with my Tomcat server and moved it to a place on
the network where it was unable to access the internet. Tomcat started
fine, but Struts threw an I/O exception on struts-config.xml, even though
the file was there and was fine. I think that this I/O exception is due to
Hi,
I just started using struts. And like you, I thought creating all the extra
Action mappings and Action objects would add extra complexity. So I created
an enhancement request asking that a new method be added to the ActionForm
object which would be called when the ActionForm is created.
--- Davidson, Glenn [EMAIL PROTECTED] wrote:
I recently saw the term Dog Food and found it amusing. I might not be
using it correctly in this context ( I just might be eating some dog
food
with my prior email :-) ) . What I was trying to get across is that just
because there are other
Hi All,
It better not be A dead deer :-).
Have a great weekend,
Greg
Hello, list,
We haven't get the *simplest* answer to the second question:
What do you call a dead deer without eyes?
If no *correct* answer, I will publish it in an hour.
Only in an hour? Hmm, what's the rush? ;-)
No idea.
;-)
And when it also has no legs...
Quoting Susan Bradeen [EMAIL PROTECTED]:
On 07/11/2003 03:31:10 PM Jing Zhou wrote:
Hello, list,
We haven't get the *simplest* answer to the second question:
What do you call a dead deer without eyes?
If no *correct* answer, I will
Davidson, Glenn wrote:
As an aside, Dog Food has a specific tech meaning? If it is not to much
trouble what exactly does it mean in techie
http://www.catb.org/~esr/jargon/html/D/dogfood.html
Erik
-
To unsubscribe, e-mail:
David,
Thanks David, I do stand corrected. I must have misread some of the earlier
emails, so the offensive tags are part of the JSTL. Since it the JSTL is
coming from Sun it is not surprising that is includes some garbage. I still
saw some fine folks arguing in favor of these features. What about
Thanks!
I am chowing down now :-) !
Glenn
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 4:12 PM
To: Struts Users Mailing List
Subject: Re: Using JSTL tags instead of Struts tags
Davidson, Glenn wrote:
As an aside, Dog Food has a
The new version of IBM's Websphere Studio Application Developer, version 5,
has full struts integration. The fact that struts is built right into the
program gives it a lot of support.
Now if only WSAD would stop complaining about tiles definitions!
- Keith
-Original Message-
From:
Hi,
I am having a small issue with a Mac (of which I know nothing). When
uploading a file on Linux or on Windows all of the data arrives
correctly. However with files larger then 500K or so on a Mac, not all
of the data arrives (say 506 when 512 should have arrived).
I did some
Alright, try the following *best* practice with any kids:
What do you call a deer without eyes?
No eye deer (No idea :-)
Great! You get it right. Then what do you call a dead deer without eyes?
Still no eye dear (Still no idea :-)
You get it right again!
Jing
- Original Message -
--- Davidson, Glenn [EMAIL PROTECTED] wrote:
David,
Thanks David, I do stand corrected. I must have misread some of the
earlier
emails, so the offensive tags are part of the JSTL. Since it the JSTL is
coming from Sun it is not surprising that is includes some garbage. I
still
saw some fine
On Friday 11 July 2003 16:34, Jing Zhou wrote:
Alright, try the following *best* practice with any kids:
What do you call a deer without eyes?
No eye deer (No idea :-)
Great! You get it right. Then what do you call a dead deer without eyes?
Still no eye dear (Still no idea :-)
That's lame,
Justin F. Knotzke wrote:
Hi,
I am having a small issue with a Mac (of which I know nothing). When
uploading a file on Linux or on Windows all of the data arrives
correctly. However with files larger then 500K or so on a Mac, not all
of the data arrives (say 506 when 512 should have
quote who=Erik Price date=[030711 16:41]/
Sorta OT, innit?
I suppose and I apologize but the system is written using struts.. I
swear! ;)
But, to answer your question, yeah Macs typically have two parts to
every file, a resource fork, and a data fork. When you move the file to
a
Could formatDate() be throwing an exception? Put it in a try block and
give it a go.
Does property=invoiceDate work?
The page should not care how the getXXX() is implemented.
-Original Message-
From: Swaminathan Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 1:37 PM
You are feeding formatDate() 'kibbles' but no bits ;-)
-Original Message-
From: Joe Zendle
Sent: Friday, July 11, 2003 2:54 PM
To: Struts Users Mailing List
Subject: RE: Newbie: Using property attribute in bean:write
Could formatDate() be throwing an exception? Put it in a try block and
I like it... a lot.
But I can't endorse it on behalf of my employer.
Maybe Craig is feeling more adventurous? :)
Seriously, one way you can look at this problem is by contrasting Struts
with other web development frameworks (of which there are plenty). I'm
assuming that you've already
Is logic:iterate the only struts/jstl tag that can access a standard java
collections elements?
I want to get the 1st element which is a bean, but I have no getter or
setter methods to extract this bean, so I guess the bean[x] syntax falls
flat there. logic:iterator however doesn't need this
Hi,
I have this question about action forwarding. I have two actions. Action
A will forward to action B. In Action A I want to dynamically create an
ActionForm that will be forwarded to Action B. How can I do that ?
Thanks
David
Just remember that you can tune a piano but you can't tune a fish!
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 3:00 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] What do you call a deer without eyes?
On Friday 11 July 2003
On Fri, 11 Jul 2003, Davidson, Glenn wrote:
Date: Fri, 11 Jul 2003 15:59:31 -0400
From: Davidson, Glenn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Using JSTL tags instead of Struts tags
Thanks
Hi,
I have the same issue after upgraded to Struts 1.1 final version. Is there a way to
stop the warning message?
I tried the common-logging.jar came with Struts 1.1 RC1. It does not have the warning
message.
Any idea?
Thanks,
Chiming
- Original Message -
From: Riaan
test
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hey,
I am using tiles in a simple hfcs template. I also made a
init.jsp which imports all the libraries and initalized all the
variables I need. I found that I have to include that init.jsp
in all four jsps that made up the template in order for
everything to work properly. Is there a better
It's my understanding that ActionErrors builds a property/message
list based on the Apppiation.Properties file found in the classpath.
Is there anyway to change that behavior so that it can read of a file
that application specifies?
Also, ActionErrors handles the displaying of the error
Hi Anurag,
Sounds like that when you reset the parameters are being resent, so the
action 'add' action is being called again.
Struts has a way of dealing with this situation with a token stored in
the submit form, here is a link to an earlier thread:
http://www.mail-archive.com/[EMAIL
Hi Yan,
For your properties file, there is an entry in struts-config that you can
make. Here is an example:
!-- == Message Resources Definitions == --
message-resources parameter=your.package.tree.application
null=false/
For this example,
I feel a little embarrased asking this question... it seems so simple...
I'm having a problem when the Validator framework actually finds a
validation error. My form contains a dynamically created drop-down. For
correct data, the form works just fine.
When the user submits bad data, however,
So I guess the following is going to be true in struts 2.0?
It doesn't sound right to me. Java still support deprecated methods from years
ago. Besides, when we look at the struts tag lib API reference, there is no
warning about these tags being deprecated.
In struts.tld header:
On Fri, 11 Jul 2003, Yansheng Lin wrote:
Date: Fri, 11 Jul 2003 16:24:30 -0600
From: Yansheng Lin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Using JSTL tags instead of Struts tags
So I guess the
Its better that this is posted to the list as well, after all its a
good question and hopefully an adequate answer.
script language=javascript type=text/javascript
!--
function lookup(form) {
form.elements['action'].value = lookup;
form.submit();
}
//--
/script
html:form
opps my action in struts config is wrong... But you should still have
the right idea..
On Saturday, July 12, 2003, at 12:45 AM, Mark Lowe wrote:
Its better that this is posted to the list as well, after all its a
good question and hopefully an adequate answer.
script language=javascript
Hey guys, just wanted to check if anyone had a problem
with tiles after upgrading to rc2. All I get is a
blank page now where tiles used, regular sections work
without a problem after changing perform() to
execute()
Sincerely,
Fedor
__
Do you Yahoo!?
SBC Yahoo!
http://bs.brokensaints.com/website-low.htm
--
Vic Cekvenich,
Struts Instructor,
1-800-917-JAVA
Advanced a href =baseBeans.comStruts Training/a and project recovery in North
East.
Open Source a href =baseBeans.comContent Management/a basicPortal sofware
Best practicea href =baseBeans.comStruts
Ok, thats interesting. I had to specify a full path
now to the tiles for them to be imported correctly so
if before I had something like:
tiles:insert page=/layouts/Layout.jsp flush=true
tiles:put name=header value=header.jsp /
tiles:put name=menu value=menu.jsp /
now I have to do:
Hi all,
I need to subclass RequestProcessor to implement role based action authorization. I
guess I should subclass org.apache.tiles.TilesRequestProcessor instead of
org.apache.struts.action.RequestProcessor since I'm using tiles. Am I right?
Thanks!
You are correct.
Ed Yu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
I need to subclass RequestProcessor to implement role based action
authorization. I guess I should subclass
org.apache.tiles.TilesRequestProcessor instead of
org.apache.struts.action.RequestProcessor
My experience with IBM consultants is that they will recommend and help you
with developing in Struts, but not directly support Struts.
I was told in an IBM WSAD training course that WSAD 5 makes heavy use of
struts built into the tool itself for such things as the Universal Test
Client and it's
101 - 153 of 153 matches
Mail list logo