I wrote Stever Ditlinger and he sent me a jar of a version he has that
is 1.1 compatible! I replied asking him for a URL, and hope to have the
URL to post here soon. I also asked if he could tell me if there was an
accompanying article - I _know_ I've seen it somewhere. I just cannot
find
I want to display a list of hyperlinks. When the user selects an item, I want an
ActionForm to be filled with the two query fields from the hyperlink.
pa href=MyAction.do?a=11b=98Record A/a/p
pa href=MyAction.do?a=31b=34Record B/a/p
pa href=MyAction.do?a=53b=23Record C/a/p
For example,
Hello Vic and others,
The basicPortal presentation was very nice. Thank you
for your efforts. I think providing verticals for the
J2EE community would be a very good effort, because
after all we're doing very similar things over and
over. Everybody is implementing user authentication,
shopping
-Original Message-
From: Nelson, Laird [mailto:[EMAIL PROTECTED]]
My mistake; I'm using struts 1.0.2 and its copy of Digester.
Solved the problem (of course; which is why I usually post to this list; the
minute the email goes out I find the answer...).
I had a file like:
a
I'm going
bats. I'm creating a new Digester instance, setting its debug to a
non-zero value, and telling it to parse a URL that I validate exists and matches
the rule templates I've added to the new Digester instance. Digester's
parse() method fires, doesn't throw an exception, and nothing
Hi all,
Been a while since I last wrote, but I've been lurking to observe all the
crazy antics. :) Anyway, I've got a question of an [ot] nature that I
believe you folks will have an answer for.
Our application is highly data-driven and as such a lot of our business
logic is written to build
I see I think - you've implemented a realm that is application (ie
non-container-managed) to facilitate this. Am I understanding things
right? I guess the solution I'm looking for is JDBCConfigRealm (not
written, obviously) that would make use of some configuration to specify
where a person
Hi all,
I already saw some messages posted in this newsgroup and concerned why actions and
jsp's are executed twice but didn't find clear answer. Sorry, but I have to repeat
this question again. As far as I saw all my actions and forwarded jsp's are executed
twice. Is it a bug? Then why does
Another good book on UML is UML Distilled: A Brief Guide to the
Standard Object Modeling Language (2nd Edition) -- Martin Fowler,
Kendall Scott;
http://www.amazon.com/exec/obidos/ASIN/020165783X/qid=1027712016/sr=8-1/
ref=sr_8_1/002-5892888-9891219
Yes - THAT Martin Fowler (remember is
Have you mailed the owner?
slickdev wrote:
I never got a confirm.
Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I once prototyped a system where I kept all the SQL statements in the
database itself. The original intent was to take the statements and
actually compile them into stored procedures, but the project was dropped
before that part was finished.
Cheers!
-- Tracy Nelson
-Original Message-
Hey, thanks! I copied that to my Save folder :-)
Dominique Plante wrote:
Another good book on UML is UML Distilled: A Brief Guide to the
Standard Object Modeling Language (2nd Edition) -- Martin Fowler,
Kendall Scott;
http://www.amazon.com/exec/obidos/ASIN/020165783X/qid=1027712016/sr=8-1/
On Fri, 2002-07-26 at 12:44, Eddie Bush wrote:
Search is a powerful tool. Upon searching Java World for Ditlinger, I
found many articles he authored. One you may find particularly
interesting is:
http://www.javaworld.com/javaworld/jw-05-2002/jw-0510-struts.html
Hi Eddie,
That's
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 9:04 AM
To: Struts Users Mailing List
Subject: Re: Struts Vs. Sun J2EE Compliance and Design Patterns
Andrew Hill wrote:
Incidentally, I recently ordered Applying UML and Patterns in hopes of
(See below)
Chappell, Simon P wrote:
Now, I'm curious about this MVC programmers list. Can you share anything interesting?
Simon
Ant
Commons
Log4J
OJB
Struts
Tomcat
MVC Programmers
This is, by far, my favorite list :-) Thanks to Mark, James, and all
I didn't mean MVC was my favorite. The
It can backfire, but this one was less of a risk than I usually take, given that
Struts is standards complient. My boss is pitifully grateful when I do ANYTHING that
is standard, so permission was quite forthcoming. (I actually work in our standard
group, so I am viewed as a rebel because I
Any advice you guys think would be helpful for me are most welcome.
Depending on how aggressive your schedule is, consider
getting outside help from someone who has developed
web applications before for this project.
If that's not an option for you, consider getting some
formal training in web
Subject: How to identify the common Forms?
From: Hu Ji Rong [EMAIL PROTECTED]
===
Hi, all
We are creating a web based Data Maintaince Tool with EJB and Struts. It's
used to CRUD the domain objects in database.
Here I have a few questions :
1. Is it a good idea to use EJB to do that? I found
Where you actually place your SQL logic (statements) sometimes has a lot to
do:
(1) what DBMS your system is using (MS SQL Server, Oracle, to name a few);
(2) what DB development resource and knowledge your team has.
If a right DBMS is used, with the sufficient DB knowledge, the stored
Dan (nice name by the way),
You are missing the errors.header errors.footer properties in your
ApplicationResources.properties file. I believe Struts 1.1 Beta ignores
this.
Dan
-Original Message-
From: Dan Paul [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 4:50 PM
To:
Hi all,
I was wondering if there is a way to write out a property of a form as
text, so I could write something like html:textonly property=salary/.
I know there is a was to get it through some scriplets, but we are
trying to avoid those in JSPs aren't we ?
Maybe there is such a tag between
JBoss, Struts, Tomcat. Jboss Dev is by far the coolest. Marc Fluery is
hilarious!
-James
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 8:05 AM
To: Struts Mailing List (E-mail)
Subject: Lists, lists, lists (The Friday poll)
just to confuse you :-)
I bought the bool called UML and the unified process and thought it to be
very well structured and easy to learn.
Regards,
Michael
- Original Message -
From: Jacob Hookom [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, July
At 11:52 AM +0100 2002/07/26, Sean Kelly wrote:
Hi,
Just an observation: the cover on Struts is similar to the cover
on the mod_perl reference
(http://images-eu.amazon.com/images/P/0596000472.02.LZZZ.jpg). Do you
think Oreilly meant anything by this this?
I suspect they're moving
Good idea! I hadn't thought of that! smack-head/
Jonathan Fuerth wrote:
On Thu, Jul 25, 2002 at 11:01:42PM -0500, Eddie Bush wrote:
If you do need to do that, you might try escaping them -
ie. errors.mask.state={0} must be a two-letter state abbreviation.
(Ex. \AZ\)
I bet that would work -
Subject: Re: Struts 1.1 DB sample post
From: Vic C [EMAIL PROTECTED]
===
That is an old version. I no longer teach that. You get the password by
siging up at http://www.netbean.net/mailman/listinfo/mvc-programmers
e-mailed to you.
or
What you should do is download the new version at
Celestino Pena answered this in an earlier post:
In your properties file you are missing entries for
errors as in...
errors.header=h3font color=redValidation
Error/font/h3You must correct the following
errors) before proceeding:ul
errors.footer=/ulhr
Thanks Celestino!
--- Dan Paul [EMAIL
Craig,
What do you mean below??? I am trying to understand how sub-applications
work and I thought I had a handle on it, but I am now confused. Why/how
are you bypassing the controller servlet when using
html:link forward=foo/
Can you tell me where my understanding of the this process breaks
Hi Chris,
You may want to explore the idea of a DAO Factory. We currently use such a
mechanism to retrieve a runtime interface to handle all database
interaction. The implementation of the interface (i.e. class name) is
specified in a properties file that is read at deploy time. So...to handle
Have you tried to STFW? I know it's out there. You're right though -
that one covers 1.0
Gilmar J. Alves de Souza Jr. wrote:
On Fri, 2002-07-26 at 12:44, Eddie Bush wrote:
Search is a powerful tool. Upon searching Java World for Ditlinger, I
found many articles he authored. One you may
I ddi try this forward name=action2 path=/action2.do redirect=true /
in the struts-config.xml, it will hit the Action2's perform(). However, how
can I put the query string in the path?
Thanks in advance!
Billy Ng
- Original Message -
From: Billy Ng [EMAIL PROTECTED]
To: Struts Users
Now, I'm curious about this MVC programmers list. Can you share anything interesting?
Simon
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 11:08 AM
To: Struts Users Mailing List
Subject: Re: Lists, lists, lists (The Friday poll)
Ant
Commons
On Fri, 26 Jul 2002, Tarun Sainanee wrote:
Date: Fri, 26 Jul 2002 20:46:18 +0530
From: Tarun Sainanee [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Working sample struts application
Is there a working
Subject: Re: First Web Application: Really Need Help
From: Vic C [EMAIL PROTECTED]
===
vivek shrivastava wrote:
Hi to all,
I need really an urgent help. I have been given opportunities to build
my first web application. It is a very simple application. It is
basically a kind of time
Hi to all,
I need really an urgent help. I have been given opportunities to build my
first web application. It is a very simple application. It is basically a
kind of time tracking application. Using this application a employee can
enter the information for pay period (like any vacation sick,
go to basebeans.com and register for it ;-)
I initially joined it because of the fact that Ted publishes his Struts
Tips there before they hit anywhere else. He generally has sound,
practical, _useful_ advice - and ways to look at Struts that I don't
always find obvious. There are many
Hi all,
Thanks in advance for any help.
Has anyone encountered an instance in which struts 1.0.2 submits a form without a
submit button or a javascript call to submit()?
I'm using javascript to validate my form. This is an extensive library of validation
functions i've built up over many
Have you tried examining the source of the generated page? :-) I
believe the name you will get comes from your form-bean declaration. In
your case (View - Source to double-check me ;-) the name would be
ldapsearchform.
Chuck has a really good book you should read ... buy ... advocate ;-)
Hi,
I am trying to forward and action, but it seems I can't specify a path in
the forward names..
struts-config.xml
/global-forwards
forward
name=/buyer/buyerMain
path=/buyer/BuyerMain.jsp/
/global-forwards
in the jsp
logic:forward name=/buyer/buyerMain /
I am getting
Ok, Vic, but what if you want to let the user login instead of make
the user login? CMA won't allow that, will it? ... at least, not
without a nasty work-around. Do you have a solution for this scenario?
Let me explain let/make:
let:
The user may login at any point they choose.
On Fri, 26 Jul 2002, Eddie Bush wrote:
Date: Fri, 26 Jul 2002 12:10:53 -0500
From: Eddie Bush [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: which tag for if else statement?
The condition will be
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Are you using recent nightlies of Digester? They use
commons-logging for
debug output instead of the old System.out stuff now.
My mistake; I'm using struts 1.0.2 and its copy of Digester.
Cheers,
Laird
--
To
Q#1 - how many transactions each over how long? 1000 people entering in
between 4:45 and 5:00pm or over 3 shifts... Makes an incredible
difference
(over 24 hours on a friday it could be as low as 1 users per minute or a
focused timeframe could be 70 per minute. We just finished analysis
Sorry, I am a new Struts user and slow. I need to hit the Action2's
perform() from Action1's perform() to have further business logic to do.
Also, I will have query string in the url. If I only put the
redirect='true' in the ?forward tag, it won't do the work. Would you
please tell me how to
Subject: Re: Extending DynaActionForm
From: Kevin Henrikson [EMAIL PROTECTED]
===
Yes simply subclass it and add your custom validate() and reset() methods.
Make sure you have dynamic=true when you define the form bean in
struts-config.xml (unless you are running the nightly build) where this is
Did you reply to the mail your request generated, following the directions
contained in that e-mail?
/mark
-Original Message-
From: slickdev [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 1:25 PM
To: Struts Users Mailing List
Subject: digest unsubscribe prob
yeah, i
Somebody please remove the invitrogen.com subscriber that's
causing these bounces, please.
-TPP
-Original Message-
From: AutoReply, Invitrogen.com [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 9:00 AM
To: Tero P Paananen
Subject: invalid e-mail
-Original Message-
From: Will Jaynes [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 6:27 AM
To: Struts Users Mailing List
Subject: Re: eclipse and Struts
There is no capability in Eclipse to step through the JSP page code
itself. You can do this in IBM's WSAD, which is
See comments below ...
-Original Message-
From: vivek shrivastava [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 1:31 PM
To: [EMAIL PROTECTED]
Subject: First Web Application: Really Need Help
Hi to all,
I need really an urgent help. I have been given opportunities
to build my
FYI. The latest Resin 2.1.3 does not work with Struts. It has a bug that
prevents the ActionServlet from locating the web.xml and
struts-config.xml files. So don't bother to upgrade until 2.1.4 comes out.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Probably if you are going to use IBM tools
you can get a quote from IBM itself for all these things.
Even Websphere App server standard edition will
serve the purpose.You can use your existing Database(DB2UDB or Oracle etc)
where you business data is residing.
-Original Message-
From:
Search is a powerful tool. Upon searching Java World for Ditlinger, I
found many articles he authored. One you may find particularly
interesting is:
http://www.javaworld.com/javaworld/jw-05-2002/jw-0510-struts.html
Gilmar J. Alves de Souza Jr. wrote:
Hello Eddie,
Thanks for your
Martin Cooper wrote:
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 6:07 PM
To: Struts Users Mailing List
Subject: Re: Initialization Question
[lots of stuff snipped]
NOTE: Someone took a crack at abstracting the message
Subject: Re: Login Question
From: Vic C [EMAIL PROTECTED]
===
Now that you buttered me up:
basicPortal does not handle it, it just uses JAAS and Web.xml relms so
it just illustrates how to do this.
(just like it illustrates how to do tiles action or how to use JSTL tags
with Struts, how to
Hi all,
I'm looking for some advice or solution that'd help me send the response
to the browser as a zip file. I did found a tag that does it on :
http://www.servletsuite.com/servlets/opttags.htm
but I'm getting some errors while the page is rendered ( see bellow ),
so I'm looking for a
Is there a working sample struts application available on the internet? If
yes, can someone please send me the link.
I need to know how some things are implemented.
Thnx
Hi all,
Thanks in advance for any help.
Has anyone encountered an instance in which struts 1.0.2 submits a form without a
submit button or a javascript call to submit()?
I'm using javascript to validate my form. This is an extensive library of validation
functions i've built up over many
Eddie,
Perfect!!! A How-To can be as simple as Look here, and Here and Here.
Thanks!!! Your How-TO is much appreciated. :)
-James
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 7:44 AM
To: Struts Users Mailing List
Subject: Re: Oh my
Jacob Hookom wrote:
The book I recommend is The Unified Software Development Process, it
was required reading last year for software engineering.
Btw, if you ever need books, go to bookpool.com, comparatively, books
are anywhere from 5-15 dollars cheaper.
I always order through bookpool - but
Hehe. I only learned enough to parse in my XHTML (which is just html with a
few / in the right places) and get a DOM (which is basically a glorified
tree with several types of nodes, and 90% of the time im just interested in
the element node type)). So if my xhtml has input id=bob type=text
On 26 Jul 2002, Troy Hart wrote:
Date: 26 Jul 2002 18:02:29 -0600
From: Troy Hart [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: How do I navigate from one subApp to another in Struts1.1?
Craig,
What
The condition will be evaluated - yes. It has to be. Are comparisons
really that slow though? I wouldn't think it would add super-great-deal
of overhead. Isn't this functionality addressed by the JSTL? I ... if
memory serves correctly, it is. You may want to check out the commons
I'm getting a lot of these when I redeploy applications (on JBoss 3.0 with
Tomcat 4.0.3, Struts 1.1 beta):
java.lang.LinkageError: loader constraints violated when linking
org/apache/commons/logging/Log class
at org.apache.struts.action.ActionServlet.(ActionServlet.java:331)
at
Hi All,
I just got one question on Token Functionality.
I written the saveToken and isTokenValid and
resetToken. They are working fine for reloading and
multiple submits. I have only one problem here when user using back button
and modified the form and submit it again. even though the
Though some times this approach can back fire on you.
Some companies would rather shot them selves is the foot then do something
a person in management does not want to do (IF you did not ask first). I
found that instead of trying to
make the person hang themselves it is easier to make it look
Subject: Re: basicPortal comments
From: Vic C [EMAIL PROTECTED]
===
(thnx, I responed on mvc-programmers, V.)
Mete Kural wrote:
Hello Vic and others,
The basicPortal presentation was very nice. Thank you
for your efforts. I think providing verticals for the
J2EE community would be a very
I am converting a couple of test pages from templates in Struts 1.0.2 to
use Tiles. My question is, how do I do something like this:
definition name=definition1 path=/web/template.jsp
put name=header value=/web/header.jsp /
put name=content value=/web/content.jsp /
put
If you're like me you may have specified a forward actions incorrectly in your
struts-config file.
Did you define an action mapping with a type attribute which then forwards you
somewhere if the action returns success? ...and then use a someAction.do to get to
your page? check the
I'm not finding it :-/
You should be able to take the principals Ditlinger gives and transfer
those concepts to 1.1 idealogies. In other words, you probably want to
extend RequestProcessor instead of ActionServlet. I would think, with
the advent of servlet specification 2.3, you may also
Andrew Hill wrote:
Personally I think JSPs are the devils work (mixing code and layout/chrome
like that. Yuck!) - but the idea of writing servlets with lots of printlns()
is absolutely obscene. The sort of thing that would give HP Lovecraft
nightmares!
Hehehe - they'll have to hog-tie me and
I appreciate all suggestions ;-) I'll start off with the book I
mentioned and proceed from there as I feel the need. I love to learn
about processes though - they are what enable us to do what we do
easier/faster/better. I especially like to hear comments like Oh -
that was a super read.
I inherited an application that uses a Model-1 MVC approach. I was hoping to
migrate the application to the Model-2 approach that Struts offers. My
problem is that a particular jsp page uses xsl to render a form and its
elements. This particular page is the heart of a module that performs
72 matches
Mail list logo