Really 1.1 is so much better then 1.02 that you should be calling it
2.0
when it is released (and the current beta releases should be something
like 1.99)
Of course Java is at 1.4.1. How similar is 1.4 to 1.0? And why do they
call 1.2+ Java 2? Why didn't they just call it Java 2.0?
but I want to emphasize the fact that 1.0 based apps should
generally run fine in 1.1 unless you're doing some really intricate
things.
That's a good point. You'd hate to imply to 1.0.2 users that their
stuff won't run on the next version.
For future versions of Struts, I'd likely support
Here's an interesting twist. When you type the .do URL for
this form into the browser (i.e.
http://localhost/yourapp/Logon.do) The page will load and you
will be able to log in (at least it works for me). Of course,
when the page comes up you'll get validation errors on the
logon page
Sun's J2EE Blueprints book lists Struts as one of three frameworks of
particular interest when discussing web-tier frameworks. Struts is
mentioned second. The first one mentioned is the J2EE BluePrints Web
Application Framework (WAF), which forms the infrastructure of the
sample application. If
Just for a different perspective...
If we took that approach we could conceivably have hundreds of actions that looked
almost identical except for the value of a few variables. So, we're building a model
layer that creates and invokes components in a standardized way. So, (when it's all
Well, I guess I'll have to look into the DispatchAction thing. I've not heard of it
before today. It sounds real similar to what we're doing.
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 3:29 PM
To: Struts Users Mailing List
Are you sure? I am sure I recall a mention of a Struts 0.50 in the
some time during the winter 2000/2001.
Yeah, I could've sworn that I found out about Struts from a collegue who attended a
BOF at the 2000 JavaOne conference. We started using it within a month from that.
Maybe it was
I think I see what you're trying to do: It looks like you want to keep track of what
menu item is highlighted.I don't think this information should be pushed down to
the action layer. I would use a Tile to render the menu, and perhaps a Tiles
controller to determine which item is
What exactly does the set-property tag of the form-property tag in
the struts-config file do. My understanding is that it can
pass or set
properties within the corresponding form-property tag class?
The set-property tag allows you to set extra properties on a subclass of
Here's one a friend of mine is working on:
codeSlinger: http://www.codeslinger.org
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 8:36 AM
To: Struts Users Mailing List
Subject: Re: Please recommend a IDE
There are many good IDEs
I think filters are the best way to handle redirection to a logon
screen, but that requires Servlet 2.3. Otherwise you have to either
modify the ActionServlet to redirect before calling the Action or
ActionForm, or put code in the Action that checks for a valid login
before continuing. I would
Something that has always bothered me in Struts is the disconnect
between Form Beans and Model Beans. How many times do you have a Form
Bean and a model bean that contain the same data? The disconnect makes
some sense because you want everything that could come in from a JSP
page to be
The PageField's internal storage is a simple String. It could easily be
changed to anything else, though. If the field maps to a model bean, it
handles nested and indexed properties the same way Struts does. In fact
it uses BeanUtils and PropertyUtils. If the field does not map to a
bean, it
The preferences for Strings in form beans is to deal with bad
user input
(such as typing 1a3 into a text field destined to be an
integer). Any
solution that does not redisplay the bad data that the user
typed (just
like every GUI program in the world does it) is not acceptable, IMHO.
So VB is your front end and you want it to connect to business logic in
Struts, right?
We've used a browser control with some success to do this sort of thing.
I think it ships with VB in the Microsoft Internet Controls package,
but I'm not real sure. The variable is of type
Is it also possible through this to do a file transfer bu your
knowledge
I don't know anything about that.
Can you also send me a piece of your code as a reference
The snippets I sent you in the last response should get you going on the
VB side. I couldn't really send you any more of our
We have developers who are familiar with JSP and Java and J2EE. Struts
would be
the only learning curve ( and it's not exactly a small learning curve
).
I have to disagree with you there. I began using Struts when I had less
than 6 months experience in Java, and very little experience in
Sanity check:
1) Is there a struts-config.xml file in your WEB-INF directory?
2) What are the results if you take the initial / off of
/WEB-INF/struts-config
in your web.xml? (Mine requires the initial / so that's probably
not it.)
3) Is the struts-config file being used by another
... quarks and bugs ...
Somebody's been watching too much Deep Space Nine...
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I'm not sure if this is a user problem or a dev problem or something that should
eventually be submitted as a bug. Let me know if it should really be posted to the
dev list.
Here's what I'm trying to do: I want to be able to parameterize Tiles definitions
with values set in an ActionForward.
Take a look the controllerClass attribute of the definition
element in the
tiles config. It allows you to specify a controller class of
type package
org.apache.struts.tiles.Controller. This class is executed
before the tile
it is associated with is rendered and can be used to
Here's some questions:
1) If you reverse the order of the iterate tags, iterating over phoneList first and
addressList second, do you get the same results?
2) Does the address information render correctly if you comment out the phoneList
info?
3) Do you get the same error if you comment
Also compare the modified date of your file with the one your container has compiled.
If your modified date is older than the one Tomcat is using, Tomcat will not recompile
it -- assuming you're using Tomcat. Not sure how other containers behave. +1 on the
delete idea. That's usually what I
+1 on that!!
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 9:41 PM
To: Struts Users Mailing List
Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE
On Mon, 23 Dec 2002, James Mitchell wrote:
+1
I am conducting an informal survey to determine how difficult it is for new developers
with differing skills becomve productive with Struts. This really only applies to
those using 1.1x. Anyone who is willing, please answer the following questions:
1. How long did it take you to get the
Good point. I agree.
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 12:58 AM
To: Struts Users Mailing List
Subject: Re: Struts Productivity Survey
The problem with this survey is that the results you would
get would not
be
Ok, so let me pose it a different way. Put yourself in this position:
You're a consultant or an architect who has been tasked with building a Struts
application with 100 screens. You're actually migrating an application which was
originally written as a fat client app in VB and the server was
Well, the question was somewhat, but not entirely hypothetical. The 50 is probably
more like 30. The problem is really another my framework is better than yours
debate and we're pushing to use a Struts-based framework going forward instead of a
home-grown. One of my tasks is to quantify how
I never thought I'd say this, but it's good to hear from ya... :-)
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 10:36 AM
To: 'Struts Users Mailing List'
Subject: It lives
Hey guys! Been away from the list for awhile. Got
You can check out any time you like, but you can never leave...
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Uhh... I'm not 30 yet...
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 9:55 AM
To: Struts Users Mailing List
Subject: Re: Un Subscribe
That was a very bad pun, and requires all users to be over 30. ;-)
- Original Message
Thanks to everyone who answered my infromal survey the other day. Your answers did
not *necessarily* answer my questions, but did give me some very valuable information
on what it takes to help others get up to speed on Struts. Here are some followup
questions.
1) How much infrastructure
Since we're on the subject What kind of applications are being built using
Struts? We're one of those big companies where many folks would rather roll our
own. One of the defenses is that Struts was designed for web sites not servicing
apps. Now I know that statement holds no merit, but
Struts is a framework which facilitates
the building of browser-based applications
Oh, I totally agree. The service app concept was defined as needing to maintain
state for multiple instances of business objects and respond to events, like a
customer call in a call center app, working a
Estimate the cost of doing
it yourself and
present the numbers to management.
The problem is we've already got one, you see... However, it pretty much sucks
compared to Struts and would cost millions of dollars just to get it where Struts is
right now -- and we'd never really get it to
Joe, how many people do you have on your development team for this project and how
long has it taken to develop it?
Thanks,
Greg
-Original Message-
From: Joe Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 5:53 PM
To: Struts Users Mailing List
Subject: RE:
You've stated it correctly when you said that Actions are your flow controllers. In
the case of your login/getAccounts example, you should have a business object that
handles login, and a business object that gets accounts. You would then have a login
action (use case controller) that would
Ted, can you (or someone else) clarify the difference b/t action chaining and
action relay?
Thanks,
Greg
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 5:34 AM
To: [EMAIL PROTECTED]
Subject: RE: design question about action
Do you have the errors.header and errors.footer properties in your
ApplicationResources.properties file? I don't believe they are required, but it's
something to look at.
Greg
-Original Message-
From: Ali Khan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 4:18 PM
To:
Thanks, Ted, for clarifying these issues for me.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 02, 2003 11:06 AM
To: [EMAIL PROTECTED]
Subject: Re: design question about action chaining
In Patterns of Enterprise Application Architecture
You could do something like this:
DynaActionForm dynaForm = (DynaActionForm) form;
DynaProperty[] properties = form.getDynaClass().getDynaProperties();
for (int i = 0; i properties.length; i++){
DynaProperty property = properties[i];
// do whatever you need to do with property name
Not sure how I missed the getMap() method in the API. That makes the advice given
below seem rather ridiculous...
Greg
-Original Message-
From: Reddin, Greg
Sent: Wednesday, February 05, 2003 10:48 AM
To: 'Struts Users Mailing List'
Subject: RE: Dynaactionform
You could do
Sorry but getting a Map or parameters and generating a query
string is
plain enough without sending code.. Or do you sit around all day
writing myForm.get(somevalue) all day.. are the life of
rielly huh..
perhaps i should return to academia :)
In trogloditian terms
Map formMap =
I thought this article was very good, and probably one of the best
approaches I've seen to using XSLT with Struts. If I was in a situation
where I had to use XSLT, I'd probably take an approach similar to this
one.
However, I found the authors' contention that this solution offers a
Check out http://www.webappcabaret.com/index.html. They're free for 15
days and quite affordable after that. You have access to Tomcat and
Jonas as well as mySql.
No offense, but you're not going to get the functionality you want for
free. You must be willing to pay at least a little if
Let me make an idiot of myself :-)
I believe /servlet is used if you do not define an entry in web.xml for
your servlet. If you have the class com.stuff.servlet.AServlet in
WEB-INF/classes you can type
http://localhost/app-context/servlet/com/stuff/servlet/AServlet to
invoke your servlet.
If all you're trying to do is convert data between java objects and XML
you might want to look at Castor or JAXB (the upcoming Java API for XML
Binding). Struts does not have any built-in support for moving data
between Java and XML, but you could certainly plug one of these packages
in.
Greg
Is dataList an instance variable or is it defined within your Action's
perform() or execute() method?
-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 1:40 PM
To: [EMAIL PROTECTED]
Subject: ActionBeans
Ok, I just read this in the
I may not be the best person to address your concerns, but I'll give it
a shot.
In our shop we've developed applications that have several hundred
components and screens. There is no out-of-the-box installation for
us. No two clients desire the same behavior and customizations on the
fat
Pretty good paper. I think that the last 3 levels: maintainability,
usability, and performance (especially the last two) are not strictly
hierarchical. In some environments performance takes on a much higher
priority and performance may be achieved before usability. But I
totally agree that
XML, XSL and also Transformer's setOutputProperty is set to UTF-8
Does that mean you have this at the top of your XML and XSLT?:
?xml version=1.0 encoding=UTF-8?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Go to Tools/Internet Options...
Click on the Languages button.
If Chinese is on the list move it to the top. If not, click the Add
button and follow the instructions.
HTH
Greg
-Original Message-
From: Yibing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 9:22 AM
but maybe I should set it somehow already in Document while creating
elements?
That's what we used to do. We'd create a document with the String:
?xml version=1.0 encoding=UTF-8?\nDocument/ or something like
that.
There's probably a better way, but we never bothered to find it. You
can
I beleive you are correct. Do you have a form bean that is being
populated? If not, and the taglib is useful to you without the
controller, is there any reason for you to use the controller in this
case? A controller doesn't really buy you anything if you have no
business logic to invoke and
He'll get better.
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 1:10 PM
To: 'Struts Users Mailing List'
Subject: RE: Auto-Replies
Could we turn him into a newt?
-Original Message-
From: Craig R. McClanahan
isn't teaching a designer XSLT to modify a schema into
HTML easier than teaching them to not break your java
code inside of a jsp?
No, it's not. XSLT *is* a programming language and you have to know
XPath to really do anything practical with XSLT. I would never try to
teach designers XSLT
Someone else could probably do a better job than me, but...
1) If transforms are done on the client, processing is distributed.
The server does not have to process transformations for all of the
concurrently connected clients. DOM processing takes a lot of memory
and overall application
I aggree that it's very difficult to debug and is non-portable, but our
experience was that we could never find a server environment with
adequate performance. The performance issue outweighed the portability
and support issues for us. Of course, we're talking about an intranet
application
Since this is your first Struts app, I suspect that you can't say for
sure how it will perform on Tomcat or any other container. I'd suggest
that you find out what your exact requirements are and then figure out
what you'll need to properly address them. Here's the approach I would
take:
1.
Unfortunately, a profiler will not be an option here, so it
will have to be
System.currentTimeMillis() placed throughout.
I'd say that's acceptable. We do some of that as well.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Do you feel this list should discontinue it's long heritage
of relaxed
fridays?
( ) Yes
( X ) No
( ) Hell No
I almost voted for Pat Buchannon because of the dis in front of
continue :-)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
I guess this thread is mostly dead g, but I felt compelled to offer my
2c.
I recently had to do an analysis of development software I'm using for
my boss to ensure that our licenses are up to date and whatnot. I was
blown away by the fact that there's not a single piece of software
critical to
DBVisualizer?
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 11:29 AM
To: 'Struts Users Mailing List'
Subject: RE: SQL Query Builder [Off Topic]
yep - but I'd be willing to bet someone has written a Swing
query engine.
(likes the 19th the best)
++1
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
It looks like you're trying to code a class that would be used in a form
bean and accessed from your page. You do that like this:
public class MyFormBean...
{
private Duns duns;
public Duns getDuns()
{
return duns;
}
}
public class Duns
{
public Duns();
public Duns(String
Does your LogonForm class have a default constructor? Maybe you could
post the code for that. I assume you've gotten the Struts example apps
to run?
Greg
-Original Message-
From: Gekka [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 5:03 PM
To: [EMAIL PROTECTED]
66 matches
Mail list logo