Hi Marcus
Global forwards are to be used when you have paths inside the application
that are recurrent and common to a number of actions. For example: logon.
Every sensitive action in the application will have to check the credentials
of the user, and if the user hasn't logged on yet, the
Hi Marcus,
You can use the bean:struts tag with the forward parameter to retrieve
GLOBAL forward config:
bean:struts id=xyz forward=GLOBALDone/
Then you can check the xyz bean at page scope.
Wellington L. S. da Silva
Author of JSP and Tag Libraries for Web Development
FAO of the UN -
Hi Kevin
Avoid persistence in Action code as much as you can.
This is the general recommendation.
Wellington Silva
Author of JSP and Tag Libraries for Web Development
FAO of the UN - Consultant
-Original Message-
From: Kevin Viet [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14,
Yes, XIndice works fine with Struts. I'm using it in a rather large project.
You depend on the XMLDB APIs for querying and updates. And the concepts are
totally different from the relational world.
Other XML databases are, but as open source XIndice seems to be the best
choice.
Wellington L.
Hi Danilo,
One of the parameters of the perform method is servlet, which represents the
ActionServet (which extends HttpServlet, and so on...).
So, you can call servlet.getServletContext() to obtain the ServletContext.
Wellington
-Original Message-
From: Danilo Luiz Rheinheimer
Why don't you check JasperReports on SourceForge?
http://sourceforge.net/projects/jasperreports/
Wellington
-Original Message-
From: John M. Corro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 3:55 PM
To: Struts Users Mailing List
Subject: Re: Struts for reporting?
To
Another book with a lot of information on Struts is JSP and Tag Libraries
for Web Development,
available at Amazon and BN. Check the publisher's page at:
http://www.newriders.com/books/title.cfm?isbn=0735710953.
It is heavily focused on Tag Libraries and Struts is discussed on the light
of that.
Matt,
Due to the fact that the HTTP protocol is stateless, once the other frames
in your page are loaded, the only way to refresh them after the submission
of your form is through some javascript that is activated by the resulting
page of the submission in the frame that has changed. This is
Better said, some sort of script (or applet? brrr) activated by that.
Wellington
-Original Message-
From: Lacerda, Wellington (AFIS)
Sent: Wednesday, January 30, 2002 7:15 PM
To: 'Struts Users Mailing List'
Subject: RE: Beginner question: Actions for Multi-frame page
Matt,
Due
The problem in both sides of this question is the word BIT.
You can't develop anything with a BIT of understanding, you are accessing
databases, remote servers, possibly message brokers, and so on, then what is
a bit of knowledge becomes lack of it. To do those things you have to go to
the end,
Hi everybody!
This is to announce I'have released an article about Struts configuration
(specifically struts-config.xml) titled: The Struts Framework's Action
Mappings Configuration File on InformIT!
http://www.informit.com/content/index.asp?session_id={5820D5CC-C434-47A5-8E16
You configure that in the web.xml deployment descriptor file!
You MAP the actions and actionForwards in the struts-config.xml, but you must
map the path or extension modes in the web.xml file! In your case:
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
:
'No changes are required within the Web.xml file.'
This is wrong, as you mentioned.
So Andrew, I'd flame jspinsider ;-)
tomK
-Original Message-
From: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
Sent: woensdag 31 oktober 2001 11:27
To: 'Struts Users Mailing List'
Subject: RE
Sorry :-) I mean using THE web.xml FILE IN blank.war as the base...
Wellington
-Original Message-
From: Lacerda, Wellington (AFIS)
Sent: Wednesday, October 31, 2001 11:37 AM
To: 'Struts Users Mailing List'
Subject: RE: redirection
Importance: High
In JspInsider the web.xml file
Hi!
I'd like to announce that my book, JSP and Tag Libraries for Web
Development was just released by Newriders Books.
It is intended mostly for the newcomer to Tag libraries and present the
subject in detail. Struts is discussed as a STRONG example of a framework
that integrates tag libraries
It is not the combination of quotes, this contruction with a tag as an
attribute of another tag is not valid.
Wellington Silva
UN/FAO
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 6:46 PM
To: [EMAIL PROTECTED]
Subject: Can you get
I'd like to have some info on this too.
Thanks!
Wellington
-Original Message-
From: Giuseppe Galli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: Re: LDAP Authentication To Active Directory
Hi Supriya,
I' see your post on the
In the current spec it is not allowed to use a tag inside another tag.
If you need to use results from a tag processing in another tag, currently
you must expose it as a bean in some scope and then access that bean in the
other tag.
Wellington
-Original Message-
From: [EMAIL PROTECTED]
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 12:47 PM
To: [EMAIL PROTECTED]
Subject: Re: how to quote nested tags
On Thu, Jun 21, 2001 at 12:19:08PM +0200, Lacerda, Wellington (AFIS) wrote:
In the current spec it is not allowed to use a tag inside
of the page.
Wellington
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: Re: how to quote nested tags
On Thu, Jun 21, 2001 at 12:57:03PM +0200, Lacerda, Wellington (AFIS) wrote:
On your doStartTag you
Indeed, it just takes the literal expression of the tag.
Wellington
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 4:35 PM
To: [EMAIL PROTECTED]
Subject: Re: how to quote nested tags
On Thu, Jun 21, 2001 at 03:47:26PM +0200, Roland
that if it is not something off-spec, some addition.
Wellington
-Original Message-
From: frank waldheim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 4:07 PM
To: '[EMAIL PROTECTED]'
Subject: Re: how to quote nested tags
* Lacerda, Wellington (AFIS) [EMAIL PROTECTED]
2001-06-21 (12:19:08
If there is an ActionForm bean stored either on the request or on the
session, remove it. The getAttribute method will return the name of the
attribute in the session or in the request where the bean is stored under.
The getScope says either session or request.
This fragmnent is to be executed
Hi!
I`m interested also.
Wellington Silva
UN/FAO
-Original Message-
From: LORENA MASSIMO [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 11:24 AM
To: '[EMAIL PROTECTED]'
Subject: R:Windows NT authentication for web site.
i'm iterested too...
i'm using apache/tomcat/struts
I'm working on a book about tag libraries that has quite a number of
chapters dedicated to Struts. What are the topics you want to be covered
with more detail? I'm still working on those chapters to have them more
up-to-date! This kind of input would be nice and right in time! :-)
Wellington
If you can identify consistent patterns in your scriptlet usage, yes.
Otherwise it's questionable. Even the division of labor is questionable case
you can't, because page designers will end up having to deal with several
different tags used once or twice among the several pages (which tag for
What is "the full power of Struts" ?
I was misled to believe it was flexibility !
I remember seen in this list few months ago some messages about Struts being
VERY flexible in terms of usage scenarios. I can use just the MVC main
process and forget about the tag libraries.
One can use just the
Hi Everybody,
I'm (already) working in a book in JSP and Tag Libraries development for New
Riders Publishing.
The idea of the book is:
- An introduction on Servlets and JSP
- Deep in Tag coding
- Design and Architectural issues (major challenges when designing web apps
with Servlets, JSP, Pet
Have you seen Castor ?
http://www.exolab.org
Wellington Silva
UN/FAO
-Original Message-
From: Michael Westbay [mailto:[EMAIL PROTECTED]]
Sent: 09 November 2000 10:17
To: [EMAIL PROTECTED]
Subject: Re: Database access via OO
Pramod-san wrote:
DIVFONT face=Arial size=2Hi
29 matches
Mail list logo