On Thu, 20 Jan 2005 23:19:39 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
> Leading by example is good, except when you give a poor example. It's
> generally considered POOR ETIQUETTE to post code, stack traces, or
> anything else that adds significant size to a message. Put it on a
> site somew
I get following error while trying to compile Struts 1.2.4 source code.
I am using eclipse and I have included j2ee.jar from J2EE 1.4 version
which I downloaded from java.sun.com
I also tried by copying the jar file that is bundeled with JBoss 4.0.1 but
to no rescue...!!!
Any help...?
Regards
I misses to attach the error...:
here it is: please see the attached mail for details;
Class must implement the inherited abstract method
ServletRequest.getLocalAddr() MultipartRequestWrapper.java
Class must implement the inherited abstract method
ServletRequest.getLocalName() MultipartReq
Since I was not using the MultiPart Form, I deleted this Java file from my
source code keeping the struts.jar in my classpath, I could proceed.
But I still wonder how the Struts 1.2.4 binary version was prepared if it
does not compile with J2EE 1.4 jars.
Regards,
Puneet Agarwal
Tata Consultanc
I never thought I'd be saying this, but I agree with Jack. :)
I would say that starting a new thread along the lines of "Hey, look at
this neat code I wrote" MIGHT be bad etiquette, and even then it's
arguable. But Jack posted code within the context of a discussion that
is specifically about c
Sorry about posting code to the list if that is poor etiquette. I didn't
know of that one. What's the reason for it? My code wasn't too lengthy
and the email can easily be deleted by those that don't care. I just
thought some other newbies (not unlike myself) might find it useful or
thought
Writing own JDBC is not Struts-like and less effective imo.
I am sure some shops write their own MVC so that they don't code to
servlet. I say use Struts, it's got docs.
Back to the 2 choices I mentioned as more effective.
.V
Eddie Bush wrote:
I agree with your premise. However, some shops like
Just include a hidden element with the token name and value. Like:
You'll have to look in the session to get the token value. I *think*
the session key this is under is org.apache.struts.action.TOKEN
(looking at the javadoc for that).
w
On Fri, 21 Jan 2005 09:21:44 +0800
Anthony Hong <[EMAI
On Fri, 21 Jan 2005 08:59:59 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Sorry about posting code to the list if that is poor etiquette. I didn't
> know of that one. What's the reason for it? My code wasn't too lengthy
> and the email can easily be deleted by those that don't care. I
On Thu, 20 Jan 2005 22:47:03 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
> I agree with your premise. However, some shops like to keep things
> elementary -- like to cook their own dog food so they know what it's
> made of.
In my expreience, every shop that has done that has failed entirely to
a
Eddie, Eddie, Eddie, what shall we do with you?
You know the rules. Here, in the Open Source Nation, we cannot tolerate
this sort of thing -- independent thinking, experimentation, competition
among the ranks -- and you know this! Stop it at once!
Here, we only worship Struts, iBatis and Hiberna
On Fri, 21 Jan 2005 08:36:14 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> I never thought I'd be saying this, but I agree with Jack. :)
Heh! Wonders never cease! Heck, even Craig agreed with me once.
Don't be embarrassed! Step right up there and join the majority! LOL
;-)
Jack
-
On Fri, 21 Jan 2005 10:20:33 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> Here, we only worship Struts, iBatis and Hibernate -- the Sacred Frameworks.
Is it friday already?
Dang, it is!
Well, as a iBATIS guy, it is good to be in the big three mentioned there. :-D
Larry
--
On Fri, 21 Jan 2005 08:49:17 -0700, Larry Meadors
<[EMAIL PROTECTED]> wrote:
> On Fri, 21 Jan 2005 10:20:33 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> > Here, we only worship Struts, iBatis and Hibernate -- the Sacred Frameworks.
>
> Is it friday already?
>
> Dang, it is!
>
How could you no
What I find particularly annoying about this problem is references to
local Struts Configuration files work correctly, which in turn load the
Tiles Definitions.
/WEB-INF/struts-config.xml
/WEB-INF/tiles-defs.xml
/WEB-INF/dtd/(all here)
An example of my Struts Config definition, that works correc
Hey all -
As of today I will no longer be a full time Struts user, and will be
unsubscribing from the list. I have gotten a new job where I won't be
doing any programming, and therefore have no further need for Struts.
I just wanted to say thank you all for the support you have given since
I j
On Fri, 21 Jan 2005 09:53:39 -0600, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> On Fri, 21 Jan 2005 08:49:17 -0700, Larry Meadors
> <[EMAIL PROTECTED]> wrote:
> > On Fri, 21 Jan 2005 10:20:33 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> > > Here, we only worship Struts, iBatis and Hibernate -- the
On Fri, 21 Jan 2005 10:39:17 -0600, Matt Bathje <[EMAIL PROTECTED]> wrote:
> Hey all -
>
> As of today I will no longer be a full time Struts user, and will be
> unsubscribing from the list. I have gotten a new job where I won't be
> doing any programming, and therefore have no further need for S
Jim Barrows wrote:
On Fri, 21 Jan 2005 10:39:17 -0600, Matt Bathje <[EMAIL PROTECTED]> wrote:
Hey all -
As of today I will no longer be a full time Struts user, and will be
unsubscribing from the list. I have gotten a new job where I won't be
doing any programming, and therefore have no further ne
Yes, in fact just after I sent it, I suddenly remembered those times.
heck, i've been on projects where we'd go two to three weeks of every
day being in the office, banging out code.
The only thing that'd tell you it was a weekend was the fact that
there were no bosses around.
hey Matt, aren't you
Hubert Rabago wrote:
Yes, in fact just after I sent it, I suddenly remembered those times.
heck, i've been on projects where we'd go two to three weeks of every
day being in the office, banging out code.
The only thing that'd tell you it was a weekend was the fact that
there were no bosses around.
This is the literal public ID which must be used:
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
Yours do not include the version number. If the ID above is used,
the Digester instance used by Tiles will retrieve the DTD from the
classpath location
"/org/apache/struts/resource
On Fri, 21 Jan 2005 10:43:50 -0600, Matt Bathje <[EMAIL PROTECTED]> wrote:
> Jim Barrows wrote:
> > On Fri, 21 Jan 2005 10:39:17 -0600, Matt Bathje <[EMAIL PROTECTED]> wrote:
> >
> >>Hey all -
> >>
> >>As of today I will no longer be a full time Struts user, and will be
> >>unsubscribing from the l
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
Yours do not include the version number. If the ID above is used, the
In this case, the URL specified for the DTD should be completely ignored.
Fantastic. Thanks Joe. The following works.
Lukas
---
On Fri, 21 Jan 2005 07:29:05 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
>
> On Fri, 21 Jan 2005 08:36:14 -0500, Frank W. Zammetti
> <[EMAIL PROTECTED]> wrote:
> > I never thought I'd be saying this, but I agree with Jack. :)
>
>
> Heh! Wonders never cease! Heck, even Craig agreed with me on
On Fri, 21 Jan 2005 10:53:50 -0600, Matt Bathje <[EMAIL PROTECTED]> wrote:
> Hubert Rabago wrote:
> > Yes, in fact just after I sent it, I suddenly remembered those times.
> > heck, i've been on projects where we'd go two to three weeks of every
> > day being in the office, banging out code.
> > Th
So long. I wish you the best in your endeavors.
Erik
Matt Bathje wrote:
Hey all -
As of today I will no longer be a full time Struts user, and will be
unsubscribing from the list. I have gotten a new job where I won't be
doing any programming, and therefore have no further need for Struts.
I ju
Jim Barrows wrote:
On Fri, 21 Jan 2005 08:59:59 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Sorry about posting code to the list if that is poor etiquette. I didn't
know of that one. What's the reason for it? My code wasn't too lengthy
and the email can easily be deleted by those that
On Fri, 21 Jan 2005 09:03:33 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> While posting code and stack traces where you're having a problem is
> part of the purpose of a user list, posting code examples is not
> really the main point of why were here. This particular posting was
> on to
Thank you Lukas, Thank you Joe, thanks to the others who tried to help.
It works now. I just couldnt figure out that you still use the PUBLIC
keyword with Local SYSTEM references.
- Original Message -
From: "Lukas Bradley" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 21, 2005 9:02 AM
S
At 10:29 AM -0800 1/21/05, Tim wrote:
Thank you Lukas, Thank you Joe, thanks to the others who tried to help.
It works now. I just couldnt figure out that you still use the
PUBLIC keyword with Local SYSTEM references.
Since we're on it, note that when you use the PUBLIC keyword with the
correct p
I find this all very humorous. See within:
On Fri, 21 Jan 2005 09:03:33 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On Fri, 21 Jan 2005 07:29:05 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, 21 Jan 2005 08:36:14 -0500, Frank W. Zammetti
> > <[EMAIL PROTECTED]> wrote:
>
Frankly, I think that this thread was, until the sardonic and biting
interjection about "very poor etiquette", one of the better ones I've
seen recently. It is interesting that anyone could defend this
objection. (I should say that Hubert's offering is not seen as a
"defense" but as informative.)
On Fri, 21 Jan 2005 12:44:51 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 10:29 AM -0800 1/21/05, Tim wrote:
> >Thank you Lukas, Thank you Joe, thanks to the others who tried to help.
> >It works now. I just couldnt figure out that you still use the
> >PUBLIC keyword with Local SYSTEM refere
Why do you need to have local copies of these DTDs in the WEB-INF? Whats
wrong with just letting struts pick the "standard" DTDs shipped in the
struts.jar?
Niall
- Original Message -
From: "Lukas Bradley" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 21, 2005 3:52 PM
Subject: Re: Refere
that would be great, but couldnt figure it out. I've included struts.jar in
the WEB-INF/lib but still doesnt solve it. is there anything else needs to
be done?
- Original Message -
From: "Niall Pemberton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, January 21, 2005
If you're migrating to Struts 1.2, make sure you update all your DOCTYPEs. I
believe I once had a problem where I was mixing a few DOCTYPEs and that
didn't work so well.
Also, if the web container cannot find the DTDs, it may be because your
DOCTYPE is wrong. This happened to me. This is the DOCT
Hello,
I am just getting underway with Struts, but have done quite a bit of homework
before submitting this query.
Before starting with struts, I configured my Tomcat server to handle DBCP
through the server.xml for a web-app I configured. But now with struts, I
notice that there is a eleme
Struts support for the element (which, by the way, is
pooled) is deprecated -- the recommended practice is to use your
container's ability to configure a JNDI based data source, and then
access it using standard JNDI APIs. Examples of that (which are
portable to all JNDI based servers) can be fou
Use your container for data source(Tomcat) The data source element in
sturts should not be used.
Can you point out where in docs or on Struts page it says to use
.V
Scott Purcell wrote:
Hello,
I am just getting underway with Struts, but have done quite a bit of homework
before submitting this
Couple of question about logging in Struts.
I included commons-logging.jar in my classpath, imported Log and
LogFactory in my class and have the following:
public final class ExecuteQueryForm extends ActionForm {
private static Log log = LogFactory.getLog(ExecuteQueryForm.class);
public voi
You have to configure the underlying logging package - such as Log4j
if you're using that or Java 1.4 logging if you're using that.
w
On Fri, 21 Jan 2005 16:02:39 -0500
Alex Kravets <[EMAIL PROTECTED]> wrote:
Couple of question about logging in Struts.
I included commons-logging.jar in my classp
But how do I configure these, I've googled for it, but can't find any
specific details.
Will Stranathan wrote:
You have to configure the underlying logging package - such as Log4j
if you're using that or Java 1.4 logging if you're using that.
w
On Fri, 21 Jan 2005 16:02:39 -0500
Alex Kravets <
Hi,
I have a jsp which shows a drop down combobox, a text box and submit
cancel buttons.
the drop down combo box is a collection of objects. to be exact an
arraylist which is placed in session in the action class.
The object is a technique object which has the following attributes:
techCd : type
Hi,
I'm trying to run multiple war files, each representing a different version
of the same Struts application, under the same JBoss webserver instance
(i.e., application_v1.war and application_v2.war both in
jboss\server\name\deploy). Because these are two versions of the same
application, the ac
I have a Best Practices type question. Where should I send the user
if isValidToken returns FALSE?
Here is the flow we have for this application.
1. User searches for a profile
2. List of matching profiles is displayed
3. User clicks the EDIT link for the profile they want to update
4. Profile i
Will Stranathan wrote:
Hello again,
I've found this interesting and seemingly useful piece of information
in a struts book I recently obtained. Dynamic Forwards
ActionForward forward = new ActionForward("/do/itemEdit?action=edit");
Then it goes on to tell me to use the runtime parameter technique
I haven't had a lot of opportunity to validate this strategy, but I
believe you have the right idea. Conceptually, the result from a double
submit should just look as if it was a single submit. So, the second
submit would bypass the processing logic and just forward to view the
results that were
On Fri, 21 Jan 2005 16:26:51 -0600, snekse <[EMAIL PROTECTED]> wrote:
> I have a Best Practices type question. Where should I send the user
> if isValidToken returns FALSE?
This is the sort of question you should be asking yourself or probably
your business analyst. What do you want to do when th
You're preaching to the choir, Erik!
LOL dude ... that's a lovely post :-) I'm going to print it and hang
it outside my pod for all to see :-)
I do agree there's a better way. I fully-acknowledge my lack of
expertise to design a "full-featured" solution. I've already raised
the level a lot tho
I'm having a problem passing a set of checkbox values from an ActionForm to
our database. When I transfer the values of the String[] array, such as a
String[5] array, using BeanUtils.populate in my Action, the array gets
truncated and comes out as a single String value, actually a String[1].
What
On Fri, 21 Jan 2005 11:04:23 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Frankly, I think that this thread was, until the sardonic and biting
> interjection about "very poor etiquette", one of the better ones I've
> seen recently. It is interesting that anyone could defend this
> objection. (
On Fri, 21 Jan 2005 22:03:24 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
> Perhaps nowadays it is commonplace for people to make such posts, but
> it has not always been the case - and it really should not be done. I
> didn't invent the custom, I just follow it.
Besides being a little overwrough
On Fri, 21 Jan 2005 10:57:02 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> This piece of code and this discussion is CLEARLY not appropriate to
> the WIKI and is CLEARLY appropriate right where it is. This is just
> more committer hybris and puffery. There should be MORE CODE on the
> list. Th
On Fri, 21 Jan 2005 21:22:23 -0600, Dave Bender <[EMAIL PROTECTED]> wrote:
> I'm having a problem passing a set of checkbox values from an ActionForm to
> our database. When I transfer the values of the String[] array, such as a
> String[5] array, using BeanUtils.populate in my Action, the array g
There are a couple of fine spots to look for information on this:
- Javadocs for commons-logging (jakarta.apache.org/commons/logging)
Look at the javadoc for the top-level package
- Tiles' documentation talks about it.
http://struts.apache.org/userGuide/dev_tiles.html#setup
(scroll
Just wanted to drop a note to let everyone know that I've set up my
first SourceForge project... SF will now be the home of my Struts Web
Services project.
http://sourceforge.net/projects/strutsws/
For those of you that don't know about this project... it's basically a
way of allowing you to ta
Hi,
How do I validate if the user has entered password and confirm password
the same? How to do this in validate.xml file?
Thanks
Uma
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
validwhen - validator for checking one field against another.
see section titled Designing "Complex Validations with validwhen".
http://struts.apache.org/userGuide/dev_validator.html
"[Since Struts 1.2.0] A frequent requirement in validation design is to
validate one field against another (for exa
Use "validWhen" and you conditional can be
(*this* == password) to evaluate whether password2 is equal to password always
((password == null) or (*this* == password)) to evaluate whether
password2 is equal to password only when password is not empty
Please take a look
http://struts.apache.org/use
60 matches
Mail list logo