Hi,
After searching the archives, I couldn't find an email that described a
good solution to my question, and Ted's sample chapter on Validation
didn't touch on it either. I have an action that is called which
prepares the appropriate data and forwards to a JSP which contains a
struts form. I
Mark,
Some interesting information for digestion:
From a reputable source, BBC, regarding Iraq torturing children:
http://news.bbc.co.uk/2/hi/world/from_our_own_correspondent/2058253.stm
Iraq training the terrorists (PBS Frontline):
Interesting.. How about taking this to the next level, which all struts
generators have failed to do (except a BEA tool that requires you to buy
into them):
1) Offer the ability to define the concept of a page, which has
associated to it the action and an JSP page
2) Define the fields that will
SQL.
.V
James Higginbotham wrote:
Interesting.. How about taking this to the next level, which all
struts generators have failed to do (except a BEA tool that
requires
you to buy into them):
1) Offer the ability to define the concept of a page, which has
associated
No kidding! This needs to be on the frontpage, just as the question of
when 1.1 is going to be released.. This is getting painful!
www.mail-archive.com - use it people!
-Original Message-
From: Tony Baity [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 8:04 AM
To: Struts
Thinking outloud - could a nice search box somewhere on the struts site
that POSTs to mail-archive.com help? Dunno if the majority of these
posts could be prevented or if its just going to happen due to lack of
research..
-Original Message-
From: James Higginbotham
Sent: Thursday
I am an Emacs/JDE user myself, and I am beginning to look into Eclipse
only because it seems to make me more efficient with some tasks.. I
always liked the paradigm that VAJ provided but hated the repository due
to its difficulty in CVS integration. Eclipse is a nice middle ground,
giving me good
Ah, yes... I can't imagine my life without ERWin, though I haven't
upgraded since it was owned by Platinum. It still works like a champ
after 6 years.. Too bad there isn't a similar product that is x-plat for
Becky's needs.
James
-Original Message-
From: Mitchell Morris [mailto:[EMAIL
I assume you are managing the wizard using your own action and mappings?
If so, I did a similar design for my product. Essentially, I had to
create a mapping for each step so that the input could be specified
properly. Then, each JSP posted to the proper step mapping. For example,
I had /wizard1,
I think an open
plugin-based IDE like Eclipse can do much, much more.. by
actually embedding Emacs within the IDE as a true component
plugin, much like it allows the embedding of multiple
HTML/JSP editors, viewers or VCM tools etc.
Amen! I'm torn between the two and having the power
]: What is vim?)
I don't use it but eclipse does have an emacs keybindings preference.
David
From: James Higginbotham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: RE: [OT] Text
Ah, a fellow c=64 programmer! Yep, I even bought a C=128 + floppy drive
+ some games from Goodwill computers in Austin about a year ago..
Haven't unpacked it since the move.. Mail Order Monsters here I come!
James
-Original Message-
From: Becky Norum [mailto:[EMAIL PROTECTED]
Sent:
I wish! I'm working on a simliar thing for my church using Struts,
Tiles, Slide, and JBoss. It seems that quality CMS systems in Java are
very rare and usually not what you want anyway (I know, I've tried to
forcefit a number of them for my needs).
James
-Original Message-
From: rajiv
What version of Jboss are you using? They've recently been including
some of the jakarta libs for bootstrapping and other needs, so the
classloader could be an issue. They've also fixed some classloader
issues in jb 3.0.6, which was released just Mon/Tues of this week.
Sorry, but I haven't tried
Hi,
Anyone out there written the validator and Javascript for validating 2
fields, say a password and confirm password, to ensure that they match?
I am using the Dec 12th CVS of Struts and related validation jars and
haven't found anything yet. CVS diffs show that nothing new has been
added to
Try:
cvs log filename
James
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 8:44 PM
To: [EMAIL PROTECTED]
Subject: Re: How to access CVS log information
I use eclipse to open up a particular .java file in the
resource
Sorry, I forgot to add the help.. It allows you to specify the date
range as well, and you can do just one file or a whole tree.. I think
Ant offers a tag for this in 1.5.1 that can assist with additional
options as well.
HTH,
James
Usage: cvs log [-lRhtNb] [-r[revisions]] [-d dates] [-s
If Struts is to move to being used as a generic MVC
architecture that can be used in a wide range of other
environments it may be appropriate to consider 'abstracting'
the request and response objects (or at least provide an
option to) to isolate them from the HTTP protocol. Otherwise,
Blogging != CMS.. Google CMS and get a formal definition. I just did a
requirements gathering project to find a true CMS solution, and I don't
know how many people classified blogging and cheesy web site publishing
as a CMS solution (well, at least 350 before I quite counting). Just a
pet peave of
Hi,
I am upgrading from a Jan 2002 nightly binary to the 11/13/02 nightly
binary and I am seeing the following exception during a form bean
population. I saw that a bug was in the commons-beanutils jar recently,
so I upgraded that to the 11/19/02 jar and still no help. Please let me
know what
John,
is an MVC framework. Granted, while it tends toward
the presentation layer, it does provide mechanisms
that venture into the problem domain, like FormBeans.
Not quite sure what you mean here, as FormBeans are simply javabeans
that are used to store the user's input form data before its
Comments inline.
Quite short on details, but the report recommends
that the Struts framework should be used to implement
the interaction between the presentation and business
layers.
Comments?
True.
example apps, so I'm interested in how Struts maps
to
the contructs of RUP.
Do you think that using the portal features of tiles could
help in developing a portal application based on Struts?
Well, if you need something now, like me, then you'll probably be doing
what I do - comparing the potential of Jetspeed's codebase vs. writing
something simple from scratch
(This is what? The 1500th time Ive had to give this answer?
Yes? No? Oh. Only 1499 times. Ok...)
Yep, probably.. But I think as its been discussed before, some folks can
work from the CVS version and some need some sort of minor release for
political or stability reasons.. Even the Struts
Thanks for the info..
You should probably check out the BasicPortal project at
http://basicportal.sourceforge.net/; it's based on Struts and
organized by some pretty active members of the struts-user community.
It doesn't use OJB as far as I know.
Will do...
As for Jetspeed being dead...
Jetspeed is dead - check some list archives. They *may* redo something
to use the new portlet API, but I haven't seen much activity from them.
There may be some folks out there still working on it, but in reality,
some new codebase should probably take its place (or some new
maintainers should
Hey Dennis, long time no talk!
Well, not sure if there is a better way, but here is what we do:
html:errors property=org.apache.struts.action.GLOBAL_ERROR/
(removes the import)..
I guess you could write a custom tag to create one of the html:errors
tag instances, set the property name to the
If you search the list archives at www.mail-archive.com, I think you
will find your question answered. Pappa Struts (Craig) answered it, as
did other folks.
James
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 11:22 AM
To: Struts
!
James
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 11:59 AM
To: James Higginbotham
Cc: Struts Users Mailing List
Subject: Re[2]: Am I the only one using java.util.Date?
On Wednesday, October 16, 2002, 12:28:15 PM, James
James, I posted myself many times in that thread. That thread does
not answer the question. It deals with java.sql.Date not
java.util.Date and yes Craig does mention about custom Converters
but I'm wondering if others have done that as their solution for
dealing with
You might be able to use the transaction token (?) to ensure that a
request is always valid. The docs have more info on this. I haven't
tried it, just read about it in the past. Course, the first thing your
action should do is invalidate the token to help the back-to-back
presses.
James
I'm still learning about patterns on my C=128 and Run Magazines that I
picked up at a Goodwill for $20.. Oh, man - 80 col mode... drewl/
Is it Friday yet?
James
-Original Message-
From: Dan Trevino [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 5:08 AM
To: Struts Users
A simple read of the Javadoc explains it, and the source shows it:
/**
* Reset all bean properties to their default state. This method is
* called before the properties are repopulated by the controller
servlet.
* p
If you want to see where exactly, you could grep the source
Search the mail archives via Google or www.mail-archive.com
James
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 1:29 PM
To: Struts Users Mailing List
Subject: [OT] which object-relational mapping framework?
I'm embarking on a
Don't gauge a library by the number of jars required for import,
determine if it solves your immediate and future needs. Struts uses a
lot of jakarta commons jars, which were originally packaged in Struts
and other apps but were refactored for use by others in a non-Struts
application.
If you
Realistically, something is needed in the core web server (Apache, or in
the lower layers of the socket listeners in the servlet spec) to stop
incoming POST requests that exceed a certain amount. With this code
(which I've used before as well), you can't stop the upload and close
the connection,
Very, very odd. Netbeans somehow didn't save the changes I
had made -
but thought it did. Upon restarting the IDE my error (it's
error!) was
obvious ... Man, how I wish Emacs would pull up completions
If you configure JDEE, it will do this with CTRL-C CTRL-V CTRL-. Let me
know if
(I wish Struts had a non implemented persistance interface)
Really? I think Struts is quite good at what it does, and to me,
persistence seems to outside the scope of a web application MVC
framework.
Agreed. Struts does what it does best - web MVC framework. What the
original author of
But, I'm curious why you think there would be any glue code
needed? Isn't it just a matter of using the persistence
framework directly from your DAOs (or from your Actions if
you don't use DAOs)? At most, I could only conceive of
perhaps providing a Struts PlugIn to initialize such a
Your problem is that you are probably deploying the struts action with a
.do mapping, whereas your user friendly name doesn't end in that
extension and thus it never hits the struts framework for your global
forward to work.
Try writing or locating a servlet that you can map to that friendly
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 4:29 PM
To: [EMAIL PROTECTED]
Subject: [OT] RE: Persistence Framework Comparison?
I think you missed the point. Yes, JDO lets you program to
an interface
with multiple vendors
Read the docs on the Jakarta commons logging library, which they use.
You can disable it by using the package prefix up to the level you want
to disable logging (org, org.apache, etc).
James
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday,
Hmm.. This sounds interesting.. Is there a pointer to more info about
this, or can you share some more details about what you are doing? I'm
about to start on a project that will behave like sourceforge, allowing
subprojects to be hosted and managed by users. Sounds like this may be a
good
Tom,
I totally agree - its all in how the server gen's the code, for the most
part. The rest is related to the spec itself and how much it allows app
servers to optimize. There was a discussion about the thread safety of
JSP tags a little while ago. Here is what I wrote up:
I totally agree with this approach. Here is how I abstract Struts away
from http:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg40143.html
This way, I can test as close to the protocol as possible, allowing me
to remove the protocol-specific issues. Then if a bug comes up, I can
Dan,
I did something in the past related to this, before Struts was available
(I think). It required new instances of an action to be created for
each jump with return, which cluttered the session but enabled these
actions to store state about the process. Anyway, the one thing I
learned, no
Dan,
I did something in the past related to this, before Struts was available
(I think). It required new instances of an action to be created for
each jump with return, which cluttered the session but enabled these
actions to store state about the process. Anyway, the one thing I
learned, no
Charles,
The thing to keep in mind is that you cannot call the login page
directly. Rather, you have to call a protected page, which will trigger
the login page, then will post to the j_security_check, and the
container will then forward to the protected page if the user
authenticated correctly.
Ok, this thread has nothing to do with Struts, so I will make one more
pass at it. After this, I'd suggest doing some prototypes and seeing
what works best - trial and error with multiple quick prototypes is
better learning than asking others to do the work for you.
Now, a database can store
Dan,
I did something in the past related to this, before Struts was available
(I think). It required new instances of an action to be created for
each jump with return, which cluttered the session but enabled these
actions to store state about the process. Anyway, the one thing I
learned, no
Ok, then you could use JMS to store a message in a topic and check for
it on each request to show the user an indicator if a message exists.
But, unless you turn off persistence for the topic, you will be using a
DB on the backend anyway. And a query against a DB on a field that is
indexed (such
Interesting.. You've take a similar approach to what I've done in the
past, with some caching of the Methodsthat I didn't do.. Here is what I
did in text form (no diags available right now):
Create a base action class that implements the perform() method and
offers an abstract method
1. NetDynamics is alive and well, see:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
They have a nice sample app as well.
But since I Planet has a bad rap, so does the Sun framework.
Ummm... What am I missing? Sounds like they are using Jato instead of
Struts, but I'm not
I have to agree with your assessment: Struts is a fabulous framework,
and now we need a real application development environment to sit on top
of it. Kudos to all those writing graphical interfaces to struts, but
most of them are just GUI panels on top of the config files. I saw one
(can't recall
Well, the JSP spec says it all - may want to take a look, or just write
a JSP page and have the compiler keep the generated code so you can look
at what it does.
JSP 7.1.2.1:
quote
The JSP page implementation class instantiates a tag handler object, or
reuses
an existing tag handler object, for
Search the Jboss archives for classloading under Jboss 3.0.. I believe
you have to wrap the war into a single .ear with the EJBS, and remove
the libs from the war and put them in the ear *only* if you are using
embedded Tomcat with JBoss. Something about how the classloaders work
under the new
In my past experience, projects tend to start out with the DTOs matching
the BOs 1-to-1 but as a project grows and matures, UI changes will
require a DTO to change in such a way that they don't match the BOs
anymore. So, do the right thing and have both BO and DTO, even if they
are matching. This
Take a look at tiles.. Its part of Struts 1.1 (currently in beta 2 I
believe) or can be obtained separately.. The link to the current tiles
docs are at http://www.lifl.fr/~dumoulin/tiles/, unless they got moved
to the struts contrib directory recently..
James
-Original Message-
Hello all,
I've been using Struts 1.02 for some time, and started looking at Struts
1.1 and Tiles for our next pass of our application. I'm using JBoss
3.0.0 + Tomcat/Catalina 4.0.3, and have been trying to deploy the sample
applications that some with Struts. After attempting to use 1.1 beta 1
/header.jsp /
put name=menu value=.mainMenu /
put name=footer value=/common/footer.jsp /
put name=body value=.portal.body /
/definition
Thanks!
James
-Original Message-
From: James Higginbotham
Sent: Tuesday, August 13, 2002 12:17 PM
To: [EMAIL PROTECTED
Well, if you follow the suggested guidelines of the J2EE Blueprints, you
should be writing a custom JSP tag to fetch the data and push it into
the request under the name desired (or passed in via an id or similiarly
named attribute). This way, actions process forms and JSP pages + Custom
tags
Well, that's web services if you are sharing data across networks,
sharing between technologies that don't integrate well, or are sharing
data that is in XML form within your network. Otherwise, you have the
overhead of setUp and teardown of the HTTP protocol and XML
creation/parsing to share
EJB and Struts are not the same thing. Struts is an open source
framework for building Web applications that integrates with standard
technologies like Java Servlets, JavaBeans, and JavaServer Pages (JSP).
Its goal is to do the mundane work of converting HTTP parameter
information into more
I apologize if this is a repeat question, but I couldn't locate an
answer to this mailing list archive, nor via google to any of your docs
or other FAQs.
I'm using JBoss 3.0.0 with embedded Jetty. Just about everything works
with our web application since we ported it to JBoss from Weblogic.
64 matches
Mail list logo