Hi Tak. I read your OzStruts documentation. It was interesting, but it
was a little hard for me to understand too. Basically, your description
of normal struts sounds strange to me:
Here is an example from OzStruts sample application. VendorDetail.jsp
has two
source pages, one is
-Original Message-
(of course I am unhappy about JSF part )
-/Original Message-
Well. I am HAPPY that Craig's proposal adjusts Struts in that direction.
JSF will be part of J2EE (as of version 1.5). That will make it hard to
explain to pointy hairy boss type managers why one
From what I've seen of JSF, I don't think it's that bad. I agree with Craig
in that struts strength is as a controller framework and that technology
like JSF, or velocity or whatever should be used at the display end.
If it's a matter of discussion I'm one for JSF, those who I know don't like
it
hello world,
My authencation process works fines (JAAS on JBoss 3.2.2 using
org.jboss.security.auth.spi.UsersRolesLoginModule for those who get
interested). It retrieves my subject with its principals (groups of
users).
The problem is this principal doesn't appear to be checked by struts
when
Jesse Alexander (KBSA 21) wrote:
JSF will be part of J2EE (as of version 1.5). That will make it hard to
explain to pointy hairy boss type managers why one wants to use another
framework.
So is EJB a part of J2EE for a lot longer, and people avoid it.
.V
Hi,
If I have a class Person which has id and name instance vars and have a
collection of these in a page how can I access the name if I have the id
available?
So I have:
c:forEach var=wrap items=${Contacts} varStatus=status
where each wrap object has the id for a collection in the session
I'm not sure if this will work, but you can try.
c:forEach var=wrap items=${Contacts}
c:forEach var=person items=${wrap.id} scope=session
c:out value=${person.name}/
/c:forEach
/c:forEach
Not sure about this one:
c:forEach var=wrap items=${Contacts}
c:forEach var=person
Bill,
(B
(BThanks for the feedback. I should re-write this, it's not clear.
(B
(B Here is an example from OzStruts sample application. VendorDetail.jsp
(B has two
(B source pages, one is vendorSearch.jsp, and another is addVendor.jsp. In
(B addVendor.jsp to vendorDeatil.jsp transition,
The average PHB thinks EJB *is* J2EE...
:-(
Vic (Vinny) Cekvenich wrote:
Jesse Alexander (KBSA 21) wrote:
JSF will be part of J2EE (as of version 1.5). That will make it hard
to explain to pointy hairy boss type managers why one wants to use
another
framework.
So is EJB a part of J2EE for a
Nishant,
You see this error only when you shut down the server? Is the struts.jar
ONLY located in each webapp's WEB-INF/classes folder OR do you have it in a
shared location like $TOMCAT_HOME/common/lib or $TOMCAT_HOME/shared/lib? It
sounds like it is already being shutdown by another
and (unfortunately) it's often him who Ack's oder Nak's our projects
and tools...
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 2:34 PM
To: Struts Users Mailing List
Subject: Re: A new paradigm of Struts development
The average PHB
Hi all,
there will be an article in a german magazine in the near future which
covers the theme: Is struts really in use in real applications.
To prove that it is indeed in usage in more than one running project, i
wrote a topic in a struts user forum (which runs on my server and is
available
There is a page on the wiki for this, but no-one has added any :-(
http://wiki.apache.org/struts/PoweredBy
Feel free to add any - or put a link to your forum.
Niall
- Original Message -
From: Stahlhut, Axel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 2:45
Hello,
How can I manipulate the URL-Mapping in the
web.xml /struts-config.xml in order to hide
the filenames when I use the ActionForward in an ActionServlet?
Currently the URL displays all the files which I forward to.
Before I posted this message I looked through the mail archieve
but I only
http://simonpeter.com/techie/java/struts/sites.html
I still have a few to add, but this is a fairly uptodate list.
-Original Message-
From: Stahlhut, Axel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 8:45 AM
To: [EMAIL PROTECTED]
Subject: Are there Struts Applications in
Dont forget that app servers like Broadvision (V5 anyway) use struts. So you
could say that sites like www.vodafone.co.uk are struts applications.
Original Message Follows
From: Chappell, Simon P [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users
LOL. :)
Yes, over the last two years at least nineteen different publishers each
decided to publish books about Struts, surely selling over a hundred thousand
copies combined -- but no one is actually using it in production. :)
You might as well ask whether the moon is really made of green
Hi Ted,
sorry that i do not agree with you. I know very well which books there are
written about struts, as i read them all, i thin (at least that ones in
english). Furthermore i did develop some applications using struts myself in
different projects, some of them not so small (one about 1
i have been breaked down with it, my boss is watching me with angry, please
give me your help. thank you!
quesion:(sorry for my poor english)
there are: action1, form1, form2,action2.
in action1, i connect database and get a 'List'. in which there are 'member's.
and another 'list', in which
At 4:03 PM +0100 11/9/04, Peter Neu wrote:
Hello,
How can I manipulate the URL-Mapping in the
web.xml /struts-config.xml in order to hide
the filenames when I use the ActionForward in an ActionServlet?
Currently the URL displays all the files which I forward to.
Before I posted this message I
Stahlhut, Axel wrote:
. I know very well which books there are written about struts, as i read them all, i thin (at least that ones in english).
Hm. You read all 19 books on Struts? ;-)
i know that there are still a lot of decision-makers around that do
not trust OpenSource products in their
See my intermixed comments below
-Original Message-
From: Alan Mehio [mailto:[EMAIL PROTECTED]
Sent: 09 November 2004 10:25
To: Pilgrim, Peter
Subject: Struts Networking BOF III Summary Report please amend
The fifth BOF was just a meeting I slotted into the November hole. It seems
i am sure i did not read all ;o)
but the one of ted and some others i see standing 'round in my bookshelf...
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 9. November 2004 16:57
An: [EMAIL PROTECTED]
Betreff: Re: AW: Are there Struts Applications
On Tue, 09 Nov 2004 16:40:11 +0100, Stahlhut, Axel wrote:
because i know that there are still a lot of decision-makers around
that do not trust OpenSource products in their productive
environments.
I think you only need to review some of the email addresses subscribed to this
list to lean
I have an application that uses struts - ejbs - hibernate. My value
objects used for hibernate have the exact members as my html forms.
Does anyone have
Any suggestions to re-use these value objects? IE: It seems that I must
define an ActionForm for my struts layer, and have a plain value
So you have an action, which forwards to a jsp page, and you dont want the
users to see the blah.jsp?
Just set redirect to false. This causes it to forward the request
internally without sending a browser redirect. The jsp will be processed,
and return the result to the browser, but as far as
From: Patrick Beagan [EMAIL PROTECTED]
Any suggestions to re-use these value objects? IE: It seems that I must
define an ActionForm for my struts layer, and have a plain value object
in my app server layer. I'd rather not duplicate.
While it might seem like a good idea to use the database
Patrick, you could use DynaActionForms and just have your VO as a property.
You could unit test your VO's and the ActionForm is just a wrapper.
DynaActionForms
can be defined in your struts-config.xml file thus reducing the number of
physical
objects you have to maintain.
For updates, you will
You could use lazy DynaBean - I added LazyValidatorForm to Struts a few days
ago - available in the nightly build:
http://svn.apache.org/builds/struts/nightly/
Info:
*
http://struts.apache.org/api/org/apache/struts/validator/LazyValidatorForm.html
*
Aren't Struts and JSF in the end really competitors? Seems so to me.
I cannot see them merging in any sensible solution.
Jack
On Tue, 9 Nov 2004 10:16:07 +0100, Jesse Alexander (KBSA 21)
[EMAIL PROTECTED] wrote:
-Original Message-
(of course I am unhappy about JSF part )
Yes. Wendy is absolutely correct.
Although the I described will work technically,
you will run into issues as Wendy already mentioned.
Sorry, I will think more indepth before responding next time.
robert
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
I don't think that this note by Vinny is unimportant. I like the
idea of something like JSF for the view. I am not sure I like the
controller architecture which it uses and which, i think, ultimately
is a choice inconsistent with Struts, which I like.
Jack
On Tue, 09 Nov 2004 06:18:47 -0600,
OK. I tried this :
nextPage = new ActionForward(mapping.findForward(struts).getPath(),
false); // set the flag to false
and put the JSP's into the WEB-INF folder.
When I tried to call the ActionClass the following error occured :
java.lang.IllegalArgumentException: Path struts.jsp does not
We are really all just a bunch of kids having fun and there is no
really real real use of Struts at all. Whe! LOL
Sometimes people seem to lose a grip on reality.
Jack
On Tue, 9 Nov 2004 10:20:41 -0500, Ted Husted [EMAIL PROTECTED] wrote:
LOL. :)
Yes, over the last two years
Yep,
Change your code to:
nextPage = mapping.findForward(struts);
and change the forward to:
forward name=struts path=/WEB-INF/struts.jsp redirect=false
contextRelative=true/
Note if you dont want a lot of mess in WEB-INF, put them in a folder ie jsps
and use /WEB-INF/jsps/struts.jsp
Hope that
On Tue, 9 Nov 2004 12:45:48 -0500, Robert Taylor [EMAIL PROTECTED] wrote:
Yes. Wendy is absolutely correct.
Although the I described will work technically,
you will run into issues as Wendy already mentioned.
I use Robert's approach and make my VO as a JavaBean which only
accepts String and
hehe...
I'm lucky - i work for a small company, and as far as management is
concerned open-source=free and free=good so through the power of
transativity open-source=good and thats as far as any concern goes...
We've built several big apps using struts - all have been intranet
applications so
As you can see from the responses, you have a variety of options.
Another option (I guess Niall forgot to mention) is to use your VO
directly. Declare your VO as the form bean type, and Struts will use
a BeanValidatorForm and wrap it with a WrapDynaBean. Really, though,
you don't need to be
Various people's comments are interspersed with my own below...
What intrigues me about JSF which I haven't been able to find out
yet, is whether JSF is also only meant for light-weight apps. Does
JSF's tendency towards page-driven Commands Pattern implementation
as Craig mentioned put it in
Ok , I admit I may have lost the plot somewhat/somewhere ... but am I
on the right track at all here ? Also I just signed up to the list and
caught the last post about VO but the answers aren't archived anywhere
yet. Would appreciate if someone forwarded me that conversation.
In my
I tried this out weeks ago so I've forgotten some of the details, but
I think the way it works is, if you decide to wrap your pojo with
WrapDynaBean, your form's fields are limited to what your pojo has.
form-bean name=updateProfileForm type=ie.jestate.input.ProfileDTO/
If you want to define
Thanks, Joe,
Some thoughts below:
On Tue, 9 Nov 2004 12:26:22 -0600, Joe Germuska [EMAIL PROTECTED] wrote:
Aren't Struts and JSF in the end really competitors? Seems so to me.
I cannot see them merging in any sensible solution.
No, I don't think so. JSF is primarily focused on the
Thanks that definitely solved the problem.
Is there also a way to get rid of the Action.do ?
Regards,
Swen
Daniel Perry schrieb:
Yep,
Change your code to:
nextPage = mapping.findForward(struts);
and change the forward to:
forward name=struts path=/WEB-INF/struts.jsp redirect=false
Joe Germuska wrote in [EMAIL PROTECTED]
am finding that a limitation. I would like a clean facility for
prepopulating forms from system data which interoperates with the
existing mechanism for prepopulating forms when validation fails and
the user must try again. I would also like a clean
Hi Girish,
Can you please let me know how to set the value for form fields in the
javascript method.
For example if I have name as a form property, how to set its value in the
javascript method.
Thanks,
Latha.
Girish Kumar K. P. [EMAIL PROTECTED] wrote:
I guess U may call a javascript like
As one of the few privileged people in this world to have received a reading
of the riot act from Ted, I know that he is perfectly able to get his point
across and defend his own stand. :-)
However, I will say that there are production Struts systems out there. The
biggest problem is that most
On Tue, 09 Nov 2004 17:12:06 +0100, Stahlhut, Axel wrote:
but the one of ted and some others i see standing 'round in my
bookshelf...
And if you were thinking of adding any others ... I just had the pleasure of
reviewing a new Jakarta Struts Cookbook by Bill Siggelkow (ORA - ISBN
This site generates $25MM for Ziff Davis in adds:
http://1up.com/do/feature?cId=3136154
See the do?
and ? gets the article id from db via ibatis v2.
You can click arround, and see tiles, it's very tiles. 100 or so types
of pages, each with many configurable tiles and each w/ dynamic content.
Ex:
On Tue, 09 Nov 2004 14:08:58 -0600, Chappell, Simon P wrote:
I think that the Struts inside approach will continue for a
while, because many customer facing websites are written by the PHP
and Perl CGI crowd, while the Intranet/Internal applications are
more often written by the Java/J2EE
Thanks for the mention, Ted. According to Amazon the book is slated for
release on February 15, 2005 -- I am hoping it will be sooner, though.
-Bill Siggelkow
Ted Husted wrote:
On Tue, 09 Nov 2004 17:12:06 +0100, Stahlhut, Axel wrote:
but the one of ted and some others i see standing 'round in
On Tue, 09 Nov 2004 14:08:58 -0600, Chappell, Simon P wrote:
Try the following link for a list of sites and companies who are
known to use Struts:
http://simonpeter.com/techie/java/struts/sites.html
This is a list composed from reports by folks on this very list. So
unless you do not
Hey thanks!!
G version would be:
http://danrp1.1up.com (one of the programers)
http://struts.1up.com (lead)
But then again that would not a lot of page hits for the ads.
I was going to say that each of the tiles has db content, but is fast
'cuase iBatis caches reacent hits so hot spots do not
Hi,
I've got a Problem using the LazyValidatorForm while using indexed properties.
I tried to use the examples found at http://www.niallp.pwp.blueyonder.co.uk/
using
the following code:
html:form action=/myActionPath
html:text name=lazyForm property=labelValue /
html:text
No anyone can edit, but you have to be registered to do it:
http://wiki.apache.org/struts/UserPreferences
Niall
- Original Message -
From: Vic (Vinny) Cekvenich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 8:58 PM
Subject: Re: PoweredBy stories (was Are
The way lazy DynaBeans work is that when a property's indexed/mapped getter
or setter is called it automatically instantiates the indexed/mapped
property - i.e.. for indexed properties thats the i.e. get(name, index) or
set(name, index, value) methods and for mapped properties thats the
get(name,
I'm trying to assign value to a Java script variable.
When I'm typing in a text, the code works
script type=text/javascript
TREE_DESC = [
] ;
/script
when the value is assigned from bean, all I get is error jscript.
script type=text/javascript
TREE_DESC = [
Have you done View Source from your browser? Chances are pretty good
that the error will jump right out. It's likely to be missing quotation
marks or characters that should be escaped in a JavaScript environment.
-- Jeff
Sergey Livanov wrote:
I'm trying to assign value to a Java script
How can I configure struts-config to open new window for new .do?
--
regards,
Sergey mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hey Sergey,
I don't think that there is a way to open a new window from the struts
config file. But I may have a way around it. If you are pointing to your
action with a link you can to the following:
a href=myapp/myAction.do target=_blankClick here/a
*
On 11/09/2004 06:26 PM Joe Germuska wrote:
I think this is exactly the point. JSF's controller model may not scale
to a large application. However, in the Shale proposal, JSF's
controller model is only being asked to control the view. Right now,
Struts doesn't have a separate concept of a
Bill,
are you going to sell a PDF version as well any sooner?
Adam
On 11/09/2004 08:31 PM Bill Siggelkow wrote:
Thanks for the mention, Ted. According to Amazon the book is slated for
release on February 15, 2005 -- I am hoping it will be sooner, though.
-Bill Siggelkow
Ted Husted wrote:
On Tue,
Sorry for going on so long.
Nonsense. That's why we have *discussion* lists.
I may have misunderstood, and I am at a disadvantage because I am
still trying to get a good idea of what JSF is all about, but I
thought that Craig saw any merger between Struts and JSF as a
temporary thing which was
At 11:00 PM + 11/9/04, Adam Hardy wrote:
On 11/09/2004 06:26 PM Joe Germuska wrote:
I think this is exactly the point. JSF's controller model may not
scale to a large application. However, in the Shale proposal,
JSF's controller model is only being asked to control the view.
Right now,
Ooohhh,
Let's start a rumor. Craig is going over to Microsoft... It must be true
'cause I heard it on the list.
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 3:41 PM
To: Struts Users Mailing List
Subject: Re: A new paradigm of Struts
Hi
I have been using the DispatchUtil method with great success (for my
ValidatorForm). However there seems to be a problem with
DynaValidatorForm.
In my DynaValidatorForm, there is an image button and a text field.
When I click on the button, the DispatchUtil finds the correct forward
and
On 11/09/2004 11:30 PM Joe Germuska wrote:
I obviously have an affinity for the way we do it here (something I
elaborated about in more detail in this list post:
http://article.gmane.org/gmane.comp.jakarta.struts.devel/22034) but I
would be happy to adjust my ideas if we got anything
Am I missing something or is everybody saying the same thing. What struts
needs is a view controller mechanism. The only difference is the specifics
of the mechanism. JSF v. a struts specific mechanism (OzStruts) or the
adaptation of something else.
What I don't understand is what people have
Hi, all,
I have two html:select as below:
---
html:select property=s1
html:options collection=c1 property=value
labelProperty=label/
/html:select
html:select property=s2
html:options collection=c2
Hi Bill,
Then AddVendorAction takes AddVendorForm as input, and then creates a
DisplayVendorDetailForm in the request context before forwarding to
displayVendor.jsp.
Thanks for your feedback.
You're right, but you're doing it by yourself in application code.
This is one of the main idea of
snip
selling over a hundred thousand copies combined -- but no one is
actually using it in production. :)
/snip
Like EJB?... ;-)
Ted Husted wrote:
LOL. :)
Yes, over the last two years at least nineteen different publishers each decided to publish books about Struts, surely selling over a hundred
OK, that makes sense. I'm not sure what the normal struts usage pattern
is. I think that it makes sense to have one ActionForm for each logical
request, but maybe other people don't do that. So, I agree with your
idea of OzPage. (Also, I think that ActionForms should only be used to
pass
Bill,
pass information from the browser to the Action. You shouldn't use
ActionForms to pass arbitrary data from java code to JSP code, except
for pre-populating form fields.)
Could you please explain with example for this?
I'm not sure what pass arbitrary data from java code to JSP code
Hi everybody,
i need to forward from an Action to an specifig anchor link of a Tile.
Something like:
[example definition of Tiles configuration file]
definition name=myAnchor extends=layout
put name=title value=Struts-Tiles anchor /
put name=body value=/itemEdit.jsp#myAnchor /
Daniel,
An anchor is HTML, not Java/Struts so why don't you have your redirect go to
/myAnchor.do#myAnchor ?
Regards,
David
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 6:43 AM
To: [EMAIL PROTECTED]
Subject: [Tiles] Forwarding to
Ben, just make sure that whatever is submitting the form has the
proper form, e.g. the same as the name attribute of your image tag.
Do you understand?
Jack
On Wed, 10 Nov 2004 11:39:04 +1100, Ben [EMAIL PROTECTED] wrote:
Hi
I have been using the DispatchUtil method with great success (for
Hi all,
i have a file upload control in my jsp.Next to that control i have a
one more button with label clear attachment.
on clicking on that clear attachment button, i have to clear the
content of the file upload textbox...is there any way by which i can
clear the content of the file
Hi all,
I was wondering how can I use bean:message key=/ inside a parameter of
another probably custom tag. Or can i send the custom tag only the key of the
externalized string and the custom tag to extract the externalized string from
the resources.properties file.
Is there a way to call
I created a form that is populated from a database for editing existing
records. When I pull up a record and try to change any of the data in the
pulldown menu it sends the original data to the database. How can I create a
pulldown from database/list values that when a new value is selected
make that button html:reset
and in ur form bean u have to write a reset() method where u set to that
text field property to null
hope it solves ur problem
- Original Message -
From: murukesh radhakrishnan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 07, 2004 9:27 PM
Hello Guys,
Please help I have to display the contents of my arraylist object
I have this code on my jsp
select
bean:define id=user name=user
property=originatingHost
logic:iterate id=host
Hi Richard,
You use bean:define to define a bean with a id of user but yet
in logic:iterate you refer to originatingHost ?
I think it should be refering to user instead for logic:iterate.
Also is originatingHost a collection ?
Richard wrote:
Hello Guys,
Please help I have to display the
81 matches
Mail list logo