Rick Reumann wrote:
Now create a web page that has one form that will display all the
companies (from a companies collection), and the departments
underneath, and the employees in each department AND you can edit the
name at any level... you can edit department names, employee names,
company na
Christian Hauser wrote:
What I wanna say is that I wouldn't like Struts in Action 2nd Editionn
to have lots about Struts 1.2 when Struts 1.3 anyway makes it all
different.
+1. It was quite ugly to see all those arrow marks in Struts in Action
saying "Struts 1.1". I would rather the authors talk
Joe Germuska wrote the following on 2/18/2005 5:37 PM:
Well, I think you're blurring things here. When I talk about
"http-free" components, I'm talking about your business logic, not your
controllers (actions or commands).
But for most developers, the business logic usually is already self
cont
Hai
Here I am using select tag foe displaying the values but when I am
submitting the values with some action
I am unable to keep these values in the same select.
Can anyone tell how to keep the orginal values even after submitting the
form
Bye
vijay
Sorry about my mistake...
Thank you, Rick!
- Original Message -
From: "Pham Anh Tuan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, February 19, 2005 9:07 AM
Subject: Re: [HELP] Understanding clearly about function of Nested Tags
Oh, thank you very much, Rich! Now,
Oh, thank you very much, Rich! Now, I understand what Nested Tag can do :)
- Original Message -
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, February 19, 2005 12:23 AM
Subject: Re: [HELP] Understanding clearly about function of Nested Tags
Pha
Hello Jonathan,
Without knowing what the excect reason for you linking to a page there is
not real answer. So I will give you the default answer NO IT IS NOT A
GOOD IDEA. The reasoning I think is simply when you are doing a web
application you don't want to leave anything in the up in the ai
Nick Heudecker wrote:
Yes, the index will be expanded and updated as well, including all of
the newly added reference material.
I don't know when Struts 1.3 will be released and when your book finally
gets printed, but please do not talk about an old version the way
"Struts in Action" talked abou
So the short answer is... I can't!
You use a QuickSort and a BubleSort in 2 diferent scenarios, one is good
for semi sorted data, the other for large sorts.
I used IoC to organize and configure classes after the fact.
With CoR I can re-use comands in a diferent context and still be
able to c
Matthew Hughes wrote:
...[large section removed]...
What is the best solution? Put a tag on every page, or
insert the context path before every link, image source, frame source.
OR I have an idea of using JavaScript to just parse through all the
links, image sources, and prepend the context path
I understand how a chain works. Filters in the servlet API are a good
example. They are as you say, Vic, very useful. And I have some idea
of what the Struts chain is all about:
http://www.theserverside.com/news/thread.tss?thread_id=28092. What I
don't quite see is how they or CoR replace IoC.
STUPID
the flush="false" was breaking it. What the heck does that property
do, except make you wonder whether it should be true or false or not
there at all?
It works when it is not there at all.
-Eric
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street
Vic wrote:
It is by far my favorite topic (and for all early RiA adaters).
Email me a vin at friendvu.com or at (hardly used) forums at
sandraSF.com.
I use chain for SoA dispatching from hessian, not on JDNC side
(becuase JNLP classloader looks at digester as a security violation
:-( )
On JDNC
I think using commons-chain is a very cool idea, I just think the
reality is you'll end up still seeing much use of the
ServletActionContext from within the Command objects which goes
against your comment that you'll be able to write "http-free"
components as the chain events. I don't really se
Joe:
Well, I implemented this entire concept without the parameters and
using the MappingDispatchAction too.
And , after all that I am ending up with the same dam problem.
It is only showing one of the
..
Eric D. Lemle
Senior Programmer / Analy
Joe Germuska wrote the following on 2/18/2005 2:42 PM:
The ActionContext interface defines three maps, requestScope,
sessionScope, and applicationScope. We decided that these were
logically relevant to any Struts application, regardless of the
request/response API. Thus, as long as you're usin
Yes, it actually does with standard Eclipse. It's plugin just like any
other Eclipse plugin. During the installation you can choose to
install it standalone (pre-bundled with its own Eclipse 3.x) or choose
your existing Eclipse installation and it will simply put a plugin in
there.
The best way to
At 1:48 PM -0600 2/18/05, Vic wrote:
There are 2 chains. One is the request processor chain, the heart of
Struts that Joe is donating design and implementation.
Hey, I'm just a follower here, refining stuff that was blasted out by
others (Craig, Don, Ted, I think... no offense to anyone I'm
miss
Hi,
they ship their tool with a patched version of eclipse. I don´t think,
that it works with the 'standard' eclipse...
Caroline Jen schrieb:
I am building a Struts application using the Eclipse.
The NitroX, which can be found at
http://www.m7.com
looks like a neat JSP debugging tool. I have
dow
Hi,
i solved that problem. I deployed my files with WinSCP and forgot to
copy those JSP´s as textfiles. In Windows, new line is CRLF in Linux it
is LF.
This little difference makes a lot of damage if taglibs are used...
So long
To summarize my question, what if you need to stuff different things
into the Request/Session based on things that happen in chains like
B_chainEvent and C_chainEvent?
The problem I see is many times you'll be stuck in the middle of a
chain cycle and you then need to interact with Request or Se
There are 2 chains. One is the request processor chain, the heart of
Struts that Joe is donating design and implementation. Most users in
Struts never touched it before, and likely will never touch it now; I
stay away from it (other than to see how it works so I can do mutlri row
CRUD).
So now
Since this is a theoretical discussion, maybe stating some of the
basics regarding HTTP would not be unwelcome.
1. WEB MVC STRUCTURE: The difference between standalone and web
applications in relationship to the MVC framework is that standalone
applications have components on screens which commun
Yes, the index will be expanded and updated as well, including all of
the newly added reference material.
On Fri, 18 Feb 2005 10:00:58 -0800, Shey Rab Pawo
<[EMAIL PROTECTED]> wrote:
> I don't know how others feel, but if you could talk the editors into a
> more expanded index, that would be rea
It is by far my favorite topic (and for all early RiA adaters).
Email me a vin at friendvu.com or at (hardly used) forums at sandraSF.com.
I use chain for SoA dispatching from hessian, not on JDNC side (becuase
JNLP classloader looks at digester as a security violation :-( )
On JDNC I had to do
We used the bean framework portion of Spring in a couple applications. It was
very nice when the client decided to not use EJB Facades we could very simply
(less than 10 minutes) switch the whole app over to a POJO Façade. Granted we
wrote the POJO Facades at the time we were developing, and the
On Fri, 11 Feb 2005 11:24:59 -0600, Brian Bezanson
<[EMAIL PROTECTED]> wrote:
> The ability to set breakpoints in JSP pages and watch the
> action happen live versus adding in log statements if you didn't use
> an IDE to debug the system is worth far more than the ~$500 the tool
> costs in time sav
Joe Germuska wrote the following on 2/18/2005 12:32 PM:
Yes. If I may, what Ted, Vic, Don, and I are saying is that you should
treat Struts as an adapter between HTTP requests and an application
which has nothing to do with HTTP. Minimal business logic should be
embedded in the Struts layer, w
This is friday, so I will confess that I have always wanted to use
*.asp or *.php as my struts mapping.
:-)
Larry
On Fri, 18 Feb 2005 13:00:14 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> Learn to use (Servlet) path mapping ("/something/*") instead of
> extension mapping ("*.something").
>
>
From: "Daniel Kies" <[EMAIL PROTECTED]>
> Has anyone ever implemented a spell checker of any sorts that would
> check the spelling of text in a text box either upon submitting a form
> or on the html page?
We use JSpell HTML: http://www.jspell.com
Given the amount of JavaScript involved, it wasn
My impression was that Struts 1.2 picks up whatever mapping you use in
your web.xml to map requests to the ActionServlet.
So, if you map it to
/something/*
you will be able to invoke your action with this url:
www.url.com/webapp/something/selectServices
Anyone please correct me if I am wrong.
Return Receipt
Your DispatchActions
document:
Return Receipt
Your DispatchActions
document:
We also use wintertree's spell-checker, but we use it as an applet that
checks the document in the user's browser before submitting it to the
server. We have some JavaScript that talks with the applet to highlight
the misspelled word and correct the mis-spellings in place, just like in
a word
There was talk during a brainstorming session on the future of
Actions, where the idea was put out that perhaps Action could go away
and everything could be in the same chain catalog. I believe that
idea was eventually abandoned as Struts chain commands are going to
have the "execute(ActionContex
Learn to use (Servlet) path mapping ("/something/*") instead of
extension mapping ("*.something").
Erik
Burns, Scott wrote:
Can a page be displayed without using the action path mapping + (.do)
if I have this in my config.
type="org.apache.struts.actions.ForwardAction"
scope="request"
parameter=
I don't know how others feel, but if you could talk the editors into a
more expanded index, that would be really helpful to me. I don't
think that a 10-15 page index would be too much for this book.
On Fri, 18 Feb 2005 08:31:11 -0800, Don Brown <[EMAIL PROTECTED]> wrote:
> I know exactly how you
Thanks, Don. This is really, really, helpful. One last little
question, given this much, when there is talk that seems to envision
put action as a part of the chain, what does that relate to? That
seemingly could not be the part that has a chain supplanting the
request processor "in" the action
Can a page be displayed without using the
action path mapping + (.do)
if I have this in my config.
type="org.apache.struts.actions.ForwardAction"
scope="request"
parameter="/SelectServices.jsp">
A url like this http://myhost/somecontext/selectServices.do
will work
How do I set it up so http:
Done. Thanks.
-Original Message-
From: Nic Werner [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 12:46 PM
To: Struts Users Mailing List
Subject: [SPAM] - Re: test - Found word(s) remove list in the Text body
Please remove Read Notification when you post to this list.
Justin
The inherent problem with following a developer list is you will hear
many different opinions, usually with the goal of coming to an agreed
solution or direction, but that direction, once agreed upon, usually
isn't clearly laid out. If you want clear direction, look at the user
guide, release note
Return Receipt
Your test
document:
Return Receipt
Your test
document:
Please remove Read Notification when you post to this list.
Justin Moore wrote:
test
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Hello Everyone,
I have a question about linking DispatchActions. I have two DispatchActions
(Action1 and Action2). Both Actions have the same method signatures that look
like this:
--
public class Action1 e
test
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Vic wrote:
You can put your toe in Spring(Tapestry or JSF) and see how it feels
becuase you know the Struts side.
Or. you can start doing commons-chain now! And then plug it into
anything. What Ted Husted said on dev list was words to the effect:
"people should be no longer be writing Struts app
At 8:50 AM -0800 2/18/05, Don Brown wrote:
One approach to building applications that is supported by Struts 1.3+
is to write a commons-chain based application and plug it into Struts,
however, that is only one approach while the existing Action class
approach still exists and will exist for a very
Return Receipt
Your Linking DispatchActions
document:
Return Receipt
Your Linking DispatchActions
document:
Jason Long wrote:
${quote.offerPriceLightValue.sizeValue.size}
I would like to define the following tile definition:
you must be leaving something out of your email, cos this
tile is named .table.holder, but the jsp above is inse
I've sucessfully used
http://www.wintertree-software.com/dev/ssce/javasdk.html in my company's
product.
There are many ways to use this product - in my case I submit the form
containing the fields to be checked to an action (with the target set to a
popup window). This was hacked together, withou
Thanks, Don. Much appreciated. The problem is that there is no
consistency on this. I tried, for example, to discuss naming and the
Struts chain and got severely stomped on for having the stupidity to
think that Struts and Commons could be considered seperately. I have
a real interest in chain,
Hello Everyone,
I have a question about linking DispatchActions. I have two DispatchActions
(Action1 and Action2). Both Actions have the same method signatures that look
like this:
--
public class Action1 e
Pham Anh Tuan wrote the following on 2/17/2005 10:56 PM:
I don't know clearly about functions of Nested Tags. I have not used it
before. I read in struts.apache.org about it, and all I know is it's
somthing like logic ...
plz, show me the powerful ability of Nested Tags
Well, I'll put the onus f
Has anyone ever implemented a spell checker of any sorts that would
check the spelling of text in a text box either upon submitting a form
or on the html page?
If you have ever gone down this path, any help is appreciated.
-
To u
Exactly, Wendy, what is intended is very hard to track.
Jack
> Wait... I think it was Joe who said that if we had never cared about the
> Struts RequestProcessor up to now, we could ignore 'chain' since it is just
> replacing things behind the scenes inside Struts.
>
> Is this something differ
One approach to building applications that is supported by Struts 1.3+
is to write a commons-chain based application and plug it into Struts,
however, that is only one approach while the existing Action class
approach still exists and will exist for a very long time.
Personally, I favor using eith
From: "Vic" <[EMAIL PROTECTED]>
> Or. you can start doing commons-chain now! And then plug it into
> anything. What Ted Husted said on dev list was words to the effect:
> "people should be no longer be writing Struts applications. They should
> be writing commons-chains (CoR) applications. Then ju
I know exactly how you feel. I'm not sure how much I can talk about
Struts in Action 2nd Edition, but I will say we are aiming at
replacing well over 50% of the book because of this very issue.
Expect new chapters on topics that haven't been covered in depth or at
all by any other Struts book to
The saved continuation, in the case of Rhino, is the program counter
(current location of code execution) and all variables. For
Javascript variables, they are saved by value, but for Java variables,
they are saved by reference. Therefore, the size of a continuation
object is very small, however,
You seem to be thinking of "upgrading" from Struts while also
deploying your web application in Spring. If you search this list, I
believe you will find Mr. McClanahan saying that Struts is inferior to
other existing request based MVC web frameworks. You might want to
chase that down and to consi
You can also use security constraints and create module-like folders
for jsp pages. After listening to the discussion about placing jsp
pages under WEB-INF I found an article that discussed security
constraints (Not to get the discussion started again)...
On Fri, 18 Feb 2005 14:56:35 +0800,
I have seen in some applications that all dates are stored as the time
of the server. This is useful for many reasons! Each user
registration contains a field that indicates an offset from the server
time. This way all data is store consistenly and the view can use the
offset to modify the date/
I don't know how new you are to web applications. But make the most
basic web application you can without any of your classes. Just have a
simple folder structure:
web_application
WEB_INF
web.xml
index.jsp
And try a simple expression in the JSP file like: The time is <%=new
java.u
http://jakarta.apache.org/commons/chain/cookbook.html
http://www.infonoia.com/en/content.jsp?d=inf.02.03
.V
Dave Bender wrote:
It would be nice if the publishers offered an 'update' to this and other
books on topics that evolve. I'd love to have the new edition of Struts in
Action, but I'm not goi
You using Tomcat?
On Fri, 18 Feb 2005 13:36:22 +, Ben Taylor <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm im the middle of creating a Struts project using JBuilder, which
> correctly compiles all of my java files to the /classes/ directory
> with the correct nesting for my packages - ie.
> /clas
Yes, the {0} {1} {n} construct will work. The ActionMessage class has an
overloaded constructor to handle the substitution.
http://struts.apache.org/api/org/apache/struts/action/ActionMessage.html
I use this all over the place - works great. Make sure you "save" the messages
to the reques
Brian McGovern wrote the following on 2/18/2005 9:05 AM:
I want to frame out messages in Application.properties like this:
err.userexists=The user __UserName__ already exists. Please try again.
What im wondering about is if there is either a built in mechanism in struts to handle that __UserName__
The tag is designed to simplify the sometimes tedious work
of creating URL's. Among other things, it will do URL-rewriting when
necessary to append the SESSIONID to the URL if cookies are not being
used. It also has convenience methods through the forward and page
attributes to link to a Str
Jason,
In which scope are you saving the "quote" bean? Is it listed in your
.table.holder definition or is it in application, request, page, tile, or
session scopes?
Regards,
David
-Original Message-
From: Jason Long [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 4:50 AM
To:
It would be nice if the publishers offered an 'update' to this and other
books on topics that evolve. I'd love to have the new edition of Struts in
Action, but I'm not going to pay another $45 for 600 pages of mostly
repeated information. I value the new information, but also value my
bookshelf s
I want to frame out messages in Application.properties like this:
err.userexists=The user __UserName__ already exists. Please try again.
What im wondering about is if there is either a built in mechanism in struts to
handle that __UserName__ replacement. Maybe {0} or something? Or should I
ju
You can put your toe in Spring(Tapestry or JSF) and see how it feels
becuase you know the Struts side.
Or. you can start doing commons-chain now! And then plug it into
anything. What Ted Husted said on dev list was words to the effect:
"people should be no longer be writing Struts applications.
Hi,
I'm im the middle of creating a Struts project using JBuilder, which
correctly compiles all of my java files to the /classes/ directory
with the correct nesting for my packages - ie.
/classes/com/com_name/resource/MyClass.class.
My problem is that when I run the application it seems to think
Top of the morning Mr OShea
This is definitely Off Topic as you would want your IDE to create a
build.xml
you would get more information (and responses) if you post this to the Ant
Users Group
specifically look at Ants Task
Docuument link is available at
http://ant.apache.org/manual/CoreTasks/ja
Richard Reyes wrote:
Hello,
Whats the advantage of using spring for your persitence layer when you
can do it with struts?
Well, you don't really use "Spring" for your persistence layer, you use
Spring to simplify using your persistence layer, whether it's Hibernate,
Ibatis, or straight JDBC. It p
Hai
Iam getting the data from the database using dao in and
performing some search with that data
When iam submitting the search action the data in the select is not
staying.Can any one have sol fort this.
Bye
vijay
Folks, before we start seeing more of these GMail-invite related
emails, just wanted to let you know that there's a wiki page set up
for Struts users wanting to share or ask for GMail invites:
http://wiki.apache.org/struts/StrutsGmail
This reduces the off topic traffic to other subscribers.
=)
Without exception, every developer I have talked to personally that
has tried SpringMVC said it was way more complex than struts, and
ended up going back (almost all the way) to struts.
What I have heard is a killer combination is "Spring-managed Struts".
In this permutation, you use struts with a
I also have 50 invites, send requests to [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am building a Struts application using the Eclipse.
The NitroX, which can be found at
http://www.m7.com
looks like a neat JSP debugging tool. I have
downloaded the NitroX JSP Editor (free) and the NitroX
for Struts IDE (trial for 15 days).
How do I set up the NitroX in the Eclipse to work with
Jack,
I would like to have it. Thanks.
e-mail: [EMAIL PROTECTED]
-Caroline
--- Dakota Jack <[EMAIL PROTECTED]> wrote:
> I have 50 gmail invites, if anyone wants one.
>
> Jack
>
> --
> "You can lead a horse to water but you cannot make
> it float on its back."
> "Heaven has changed
What's the preferred package structure for presentation tier projects
using struts framework? I'm using DynaActionForms only. For each
JSP-page there are 2 actions,
One or more presentation objects, and 0 or more helper classes to parse
TOs to POs
Iwas thinking about following structure, but becau
Kris, as others have already mentioned, you can use Struts and Spring
together. Since you have four years of Struts you can leverage that
knowlege in the presentation layer and use Spring for a light-weight
container in the business/integration tier allowing it to provide
services such as decla
Take a look at the PilotLight Next tutorials over at
http://www.keyboardmonkey.com/index.jsp
On Fri, 18 Feb 2005 10:56:30 +0700, Pham Anh Tuan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I don't know clearly about functions of Nested Tags. I have not used it
> before. I read in struts.apache.org ab
IntelliJIDEA.
www.jetbrains.com
>>
>>
>> Anyone know of a tool (Eclipse plug-in perhaps?) that will take a
>> Java source file and put javadoc comments (a skeleton
>> basically) before each method, that will include all parameters,
>> methods and throws?, and then I just have to fill in the de
> -Original Message-
> From: Don Brown [mailto:[EMAIL PROTECTED]
====
I can see "continuations" as a sort of an inversion of the
classic finite state machine computer algorithm (Sedgewick et al)
It is all Iinteresting stuff. In essence it is still a
state machine of sorts but captur
Richard Reyes wrote:
Whats the advantage of using spring for your persitence layer when you
can do it with struts?
I had the good fortune to read Rod Johnson & Juergen Hoeller's "J2EE
developement without EJB". From what I can glean from the book, Spring
is much more than a MVC or a Persistene
I have tried just about everything and I wonder why this is so difficult. I
must be missing something. I tried putting in or in various combinations in all of
my files and even tried adding quote as a property in my tiles xml
definitions. If is specify quote I get "Error - tag importAttribute
I have tried just about everything and I wonder why this is so difficult. I
must be missing something. I tried putting in or in various combinations in all of
my files and even tried adding quote as a property in my tiles xml
definitions. If is specify quote I get "Error - tag importAttribute
Hello,
Whats the advantage of using spring for your persitence layer when you
can do it with struts?
Thanks
On Fri, 18 Feb 2005 09:36:28 -, Marco Mistroni
<[EMAIL PROTECTED]> wrote:
> HI,
> Yes I was not clear..,
> I was meaning, handle your persistence layer using Spring along
> Wi
HI,
Yes I was not clear..,
I was meaning, handle your persistence layer using Spring along
With Hibernate/ whatever spring supports... :-)
Sorry for being so short :-)
Regards
marco
-Original Message-
From: Vamsee Kanakala [mailto:[EMAIL PROTECTED]
Sent: 18 February 2005
Marco Mistroni wrote:
You can use both of them at same time, for example using Struts
for weblayer and Spring for persistence layer (if you have one..)
Huh? I thought Spring didn't have it's own persistence layer (as far as
I know, Spring persists through iBatis or Hibernate).
Vamsee.
Hello,
You can use both of them at same time, for example using Struts
for weblayer and Spring for persistence layer (if you have one..)
Regards
marco
-Original Message-
From: Eric Chow [mailto:[EMAIL PROTECTED]
Sent: 18 February 2005 01:18
To: Struts User List
Subject: S
95 matches
Mail list logo