y coded to do due to a
developer writing in VS.NET w/o understanding what was Really Happening.
My life sucks because of the "ease" of developing applications in VS.NET.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jesse Alexander (KBSA 21) wrote:
-Original Message-
I'm sure you can find someplace else.
-/Original Message-
Most probably he is everywhere else already banned for lifetime ;-)
I still think it's M
the user, b) less obnoxious to the
denizens of the forest and those around, c) much better exercise for the
woodcutter, d) much safer for the user and those around, e) consumes far
less resources, f) requires less (and easier) maintenance.
But that was wy too easy.
You'll hav
on of the rubbish he has posted - I
find this unacceptable and propose that we remove/bar him from the struts
lists.
You're kidding, right?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Yan Hu wrote:
...just trying to keep the conversation lively. ;-)
by insulting people?
Beats hittin' 'em with a stick.
Dave
uot;I said name my PACKAGE, biatch!"
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Larry Meadors wrote:
Sweet, VS.NET just decided to crap out on me and not open my project.
Hmm, thank goodness for jEdit!!
Ah, jEdit.
How come when I switch focus away from jEdit and then back I have to hit
ESC in order to get back to the edit window? I HATE that!
Dave
Dave Newton wrote:
[blah blah blah]
You know, it just occured to me that the quantity of off-topic posts on
this list is a telling metric of the massive productivity gains we get
by using Struts. By way of comparison, we see almost no off-topic posts
from .NET users here, thus further
Dave Newton wrote:
You know, it just occured to me that the quantity of off-topic posts
on this list is a telling metric of the massive productivity gains we
get by using Struts. By way of comparison, we see almost no off-topic
posts from .NET users here, thus further proving that we have
able to use a fairly large
character set for symbol names.
Can't please everybody all the time, I reckon.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Larry Meadors wrote:
You love men? Is it "coming out" day on struts-users, or what?
Man, I love Friday.
Remember, only Robinson Crusoe could get everything done by Friday.
Dave
-
To unsubscribe, e-ma
"couldn't care less."
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to code a slow Swing app.
Dave "Is performant a word?" Newton
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not have
bothered, and my recent code is the better for it.
B) It's WAY quicker and, more importantly, _safer_, to rename using an
IDE that knows about the underlying code than with sed/etc.
Dave
-
To unsubscribe,
John Henry Xu wrote:
I was working on Java until I became a manager.
AH-HA!
NOW we know what's going on here.
Money is the No. 1 factor for a owner/manager.
That's pathetic, and I would NEVER work for somebody with that opin
Dakota Jack wrote:
You know what a "canard" is Newton?
Front control surface on an airplane?
Really, these questions are too easy.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
, that ties the layers together because the
Generally I'll create utility classes with factory methods to construct
things that cross layers.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Dave Newton wrote:
Brady Hegberg wrote:
EmployeeVO emp = new EmployeeVO( eForm );
Would that be considered tying the view to the business layer? It seems
like it would work nicely especially since you could use polymorphism if
you needed to generate VOs from other Forms (ie
s to compile my business
layer (like if I wrote a standalone/non-web client app or utility, which
I do fairly frequently) or mock a Struts object to test the business
layer then they're clearly not separated.
Dave
-
To
Rick Reumann wrote:
Dave Newton wrote the following on 7/12/2005 1:57 PM:
Rick Reumann wrote:
For what it's worth, I found a way I can get around passing my
ActionForm to another layer, but in theory, I'm not convinced that
doing so would really mean that I'd be breaking th
Rick Reumann wrote:
Dave Newton wrote the following on 7/12/2005 2:50 PM:
Of course not. But you just said that you're passing an ActionForm to
another layer--
Yea, I just realized that was a bad choice of words- "layer" --
totally bad. I didn't really mean another l
John Henry Xu wrote:
It is bad using only one URL.
Not always. For some applications, especially
non-search-engine-sensitive ones, it makes perfect sense.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Rafael Taboada wrote:
Yeah, that was the problem...
Do u know a tutorial about how to fill my validation.xml?
I want to know what i have to put in each tag.
Are the docs at http://struts.apache.org/userGuide/dev_validator.html
not satisfactory?
Dave
a k wrote:
What is a better way in this scenario? In particular, is it bad to
manually instantiate Action classes?
I don't know if it's "bad" per se, but if it's shared functionality then
from an architectural standpoint I would think it'd better to move i
Adam Hardy wrote:
Not all users can think like geeks!
And the (probably more important!) corollary: Most geeks can't think
like users.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Fei Jiangnan wrote:
I am newbie to struts, and tried current release of struts with
Eclipse 3.1, they seems not working together, coule you please make me
some sense from the versions between struts and eclipse?
What do you mean by "they don't work togeth
beans there is a similar hierarchy on the non-dynamic side of things.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ant
fields (for instance, you could have a single 'user' bean and have a
different action for editing each field inside the bean with the
appropriate validation config for each action. Same bean, different
action and validation.
Dave
-
to fire an Action.
Also, you can't use a forward definition in a non-struts anything,
because only struts knows about forwards.
If you are just using a servlet as the contents of a frame then you
don't need to interact with struts at all.
Dave
-
one more knowledgable than myself could talk about accessing
the Struts config from the outside, or you could parse the parts you're
interested in, or something.
Dave
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 3:32 PM
To:
t mapped anywhere else it would. I was thrown
off by the original "forward" terminology.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in the web.xml file? Is there a completely
different way to go about this?
I think you just need the taglib directive in the JSP page.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Brian Lalor wrote:
On Jul 19, 2005, at 4:53 PM, Dave Newton wrote:
I'm new to struts, and to web development in general, and after
tinkering with the struts tag libraries, I've decided to switch to
using the JSTL tag library. This requires JSP 2.0 support, which I
should hav
ike he said, as long as you have a proper taglib directive in the JSP
and the libraries available you should be fine.
(Wouldn't it have been quicker to just take out the taglib directive and
see if it worked?!)
Dave
-
To
ession ejb: For a struts based
appp, whats best here ?
I'd think that a fairly basic facade between the session EJB and/or some
helper classes would be sufficient.
Googling for "session facade" should give you mor
Maya menon wrote:
Also, As Dave wrote about session ejbs, please suggest some give work arounds
for a session ejb. Requirement is to read contents from database.
There are quite a few decent ways of doing database access; I'd probably
recommend Hibernate at this point but there are
well
for me--it's very simple and keeps Actions clean and relatively
maintenance-free.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Maya menon wrote:
If any one has any sample implementations using ibatis / hibernate, please send
them to me. It would be really helpful
Check their respective sites; I'm betting both have sample code.
Hibernate, at least, has several books available.
wrong or
where did the problem start is it possible that
database returns it incorrectly .
I may be missing something but is this a Struts question?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
it's
generally a phenomenonally BAD idea to use real IP addresses, user
names, passwords, etc. in an open forum.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
retending that neither of them are people; much quicker.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tried throwing at it. I ended up doing the same thing you
did, which was promptly thrown away when the embedded system was
replaced with a more reasonable one :/
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
JSPs!!! ;) (Or whatever
people call them in JSP, the #{, ${, etc.)
PS: Don't tell DJ, but JSF has transparently supported image buttons
and the ".x/.y" thing from the very beginning :-)
Only because you stole his code, ya'
? Basically, does Java
support DIME attachments?
I believe I remember seeing DIME support in Apache Axis? Perhaps that
could be tweaked on to do what you want.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
data.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
variables inside an action class is not a good thing. Is
that the root cause? If so, can you explain how that could cause a problem.
Because there's only one instance of an Action created to service
_every_ request, just like a servlet.
ll set the _session variable to the new request's session,
which will almost always be the Wrong Thing To Do.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dakota Jack wrote:
Guess the topic of code was too tiresome for Craig, Niall, and David
G., once again.
No no, I think you misinterpreted--the topic of YOU was too tiresome ;)
Dave
-
To unsubscribe, e-mail: [EMAIL
Dakota Jack wrote:
Then there is Dave, dear sweet, but
*awww*
ever so odd, Dave, closer to Fig than Isaac.
That much might be true; we have a fairly detailed family tree back to
the very late 1500s and alas, Isaac does not seem to be on it.
I am definitely odd, and I wake up happy
thick, huh?
And, if there were such a thing as an ad
hominem attack, you would be rather immune anyway, right?
Mos def, and thankful for it.
Dave "_I_ built the pyramids"
-
To unsubscribe, e-mail: [EMAIL PROTE
alize method; they are not guaranteed to be run, and most certainly
not guaranteed to be run in a timely manner. They're definitely not like
a C++ destructor and have limited usefulness.
Dave
-
To unsubscribe, e-ma
Larry Meadors wrote:
I have used it on a project with 800GB of data + 40-50 concurrent users.
I wasn't directly involved in the project, but coworkers used it for
less data (100G maybe?) but substantially more concurrent users (100-200
or so).
M4RC0 wrote:
I mean, why to use
instead
Because typing ${} is easier/cleaner than typing <%= %> and it's JSP 2.0
syntax.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
omplicated models" for programming Java, either--you can write
everything in the JSP, use straight JDBC/SQL, etc. and it'll look a lot
like PHP.
You'll end up with a plate full of spaghetti code with either language
if you don't bother using one of those complicated programming models.
Dave
now, please try later" or something. I'd think it would
be important to allow multiple connections but still let only one user
be "logged in" at a time.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
min01Form min01Form_ = (min01Form)form;
String fromAction = ((min01Form)form).getSample().toUpperCase();
Why do you create a casted 'form' then recast 'form' each time you
retrieve a form value?
Dave
pps rarely work. Maybe you
meant "irritating and repetitive?"
That's because Java and XML is like crack for people that like to type ;)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rovide the name of the bean for the action, otherwise how would it know
what type of form to put in to scope?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that stuff in a JSP--I'd rather handle it elsewhere, but I'm
not sure where the best place to do this would be.
Is there a canonical way to do this?
Thanks,
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Frank W. Zammetti wrote:
Have a look at my CacheControlFilter in Java Web Parts
(http://javawebparts.sourceforget.net). It should allow you to do exactly
this, at the path level.
Thanks, I'll check it out.
I visit the land of "sourceforget" quite
Frank W. Zammetti wrote:
That fact that someone thought there was enough traffic to my projects'
site to warrant buying that domain is rather heartening :)
I don't think that's how it works--they just have sourceforget
in functionality
without having to touch the actual webapp code--neato.
Then they yelled at me for not doing billable work and I had to stop;
another couple of weeks and it would have been a poor duplicate of code
that already exists in the wild.
Sorry for the ramble--I'm motivated
#x27;m groggy):
and whatever loads the form puts the appropriate dictionaryId value into
the ActionForm?
Dave
involved.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ing over a collection of "columns to show" and using existing or
custom tags to output the appropriate value or table cell.
Or I might just have a million tags, but I really hate JSP
pages like that.
Dave
-
To unsubsc
consider using
straight html tag if you don't need the struts tags' functionality; one
point of html:base is to allow html:link tags to rewrite appropriately.
(Or don't use html:base?)
Dave
-
To unsubscribe,
Shekhar Jain wrote:
No I'm just using a plain
I think you need to look at what the html tag does.
http://www.faqs.org/docs/htmltut/linking/_BASE.html
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
o copy and which to ignore.
Is that true? I glanced briefly at the tutorial and it wasn't
immediately clear to me exactly when the BeanInfo stuff was used: if in
the getPropertyDescriptors method you checked the values for null and
only returned those that weren't null wou
chuck harris wrote:
it is in the classpath.
Where specifically is the file?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ava.com/pub/a/onjava/2002/10/30/jstl3.html
and you're all set.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
as two wildcard
mappings (to the same action):
(This is from a very prototype-y version; it doesn't look like that now,
although it ain't much better ;)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
John Henry Xu wrote:
Only dynamically changing pages should use .php, .asp or .jsp.
Why?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tomasz Nazar wrote:
On the next beautiful day: Fri, 29 July, 2005, Dave Newton wrote:
Yes, you can use multiple wildcards: my "solution" has two wildcard
mappings (to the same action):
One more question: I don't see how would you pass two parameters
7;ll need to wait for the
upcoming 1.3 to use this).
Yeah, I was locked into the Struts version so I couldn't do that
either... *sigh*
Then your action has setParam1(String), etc. methods and you can avoid
re-parsing the URL.
That's so much nicer. Thanks for te
ions on the client view of the
URL--nobody sees any extensions on most sites I've done. Well, lately,
anyway.
I've never much liked extensions; I think they're just confusing and
don't add to the user's experience.
Dave
-
.aspx for java pages, .jsp for PHP pages. These are all
technically possible and easy to do, especially with php or perl.
I don't see how adding a servlet mapping to a web.xml is especially
difficult.
I have faith in normal people.
Weird-those are the people I have the _least_
d of being written to the output stream."
Dave
hin Struts, helper classes,
custom tags, etc.--then the exceptions WILL be caught by struts.
What kind of exceptions do you anticipate being thrown by the JSP itself?
Dave
ts beans are quite
similar):
value="${user.lastname}"/>
or whatever.
Again, the hour or two of investment in "learning" JSTL is worth it for
tags that don't explicitly need Struts functional
getter look like?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
();processPopulate();processValidate();processForward();)
is a good place for us to place this logic in. Please note that our request
can be multipart request.
Well, processRoles is suppoed to be used for processing user roles. That
might be a good place to start.
Dave
n--if I'm not
paying attention to a particular thread I wouldn't notice that the topic
has completely changed.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
structure, or can you put JSP/others
under WEB-INF?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
javabuddy wrote:
Can you provide the city details???
Wow.
Which city?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
perties defined like this without a getter/setter?
Is this something that reading the JavaBean stuff would tell me?
TIA,
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dave Newton wrote:
I have a custom RequestProcessor that wants some initialization
values. If I use I'm assuming I need JavaBean
getter/setters (but I don't event know if that's true). Is there (or
can there easily be?) a catch-all for properties defined like this
without
to figure out where Hungary is.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
spooky... it's alsmot as though you answered your own
question before you even asked it.
I wish I could do that.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
he actions, which is where my low-level stuff
seems to be heading at the moment.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rties are defined in their own block--nice in folding editors
and visually obvious.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Daniel Perry wrote:
you can do that without the getter/setter in java as MyProperty is public.
Public properties--now _that_ is evil!
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Action.execute)? How that Action gets mapped from a URL to a class
(struts XML config files along with the default RequestProcessor)? How
to understand the entire Struts framework?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Wait, they let you guys go home on weekends?!
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
David G. Friedman wrote:
If we went away on Saturdays, it would be
the 'Strut' group, not the 'Struts' group. :)
Whew, I feel so much... uh... better now that I know I'm not the only
lucky one.
Dave
--
Not really enough info to go on, but:
Simons Kevin wrote:
Where's the testForm class in real life? Does it live in a package?
Where's the compiled class end up?
Dave
-
To unsubscribe, e-mail: [EMAIL PROT
Simons Kevin wrote:
[...]
My classes are stored in webapps/tests/web-inf/classes/test
If they're in WEB-INF/classes/test
then
(a) do you have a "package test;" at the top of your testForm class file?
(b) type would be "
n't found the right
combination of magic to do that yet.
In a nutshell, I'm wondering if there's something I can tweak to make
this work w/o resorting to using a bare validator.
Thanks,
Dave
-
To unsubscribe, e-
ed list of sessions via some sort of listener and running
through it myself, but that was awhile ago.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jay Sheth wrote:
Just one more thing to tell...I have mapped the form for
updateoverridepageform in validation.xml but not mapped
maintain**form. Even if i map that doesnt help...
What do the validation.xml configs look like?
Dave
me thing you do with Tiles, custom tags, etc.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
101 - 200 of 5802 matches
Mail list logo