Hi! All,
i'm trying to use log4j in struta application.. but when i create a log4j
instance inside(
private final static Logger log = Logger.getLogger(PAF3Entity.class)
) strut action class..the action path is not forwarded..instead it throws the
following at the console.
2003-02-13
Hi,
I am not sure did you tried to create the logger without final? I use it only as
statis.
Juraj
-Ursprüngliche Nachricht-
Von: Dinesh Sampangi [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 13. Februar 2003 09:05
An: Struts Users Mailing List
Betreff: struts log4j
Hi! All,
Hi
when i am copying the null value to the bigdecimal field it gives the
error like following. i read that we need to set the usedefault to
true. where i need to set the default value to true.
org.apache.commons.beanutils.ConversionException: No value specified
at
should be written as
private transient static final Log log =
LogFactory.getLog(xxx.yyy.zzz.class);
Where xxx.yyy.zzz is the full class path with in the package.
Simon
- Original Message -
From: Dinesh Sampangi [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
Hi,
you have also to use the .getName() method!
private static Logger log = Logger.getLogger(BanfCreateAction.class.getName());
Juraj
-Ursprüngliche Nachricht-
Von: Dinesh Sampangi [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 13. Februar 2003 09:05
An: Struts Users Mailing List
hi!
it doesn't to have any effect.. still the same..
rgds,
dinesh
- Original Message -
From: Simon Kelly [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 2:14 PM
Subject: Re: struts log4j
should be written as
private transient
Hi,
Ours looks like this
import org.apache.log4j.Category;
private static Category logger_ = Category.getInstance(
ChangePasswordAction.class.getName() );
Mohan
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 2:15 PM
To:
Here is a copy of the mail that was sent to me for logging in struts from
Nicolas Robert.
I followed the top class section, and let struts handle every thing else.
Cheers
Simon
[snip]
-- Here's a sample of logging :
...
import org.apache.commons.logging.Log;
import
What developpement tool are you using ?
I know that Visual Age can export your code as java byte code (classes),
whenever it has compilation errors. It gived me such errors as .class is
invalid and cannot be instanciated by ClassLoader.
Nico.
- Original Message -
From: Dinesh
-Original Message-
From: udhay kumar [mailto:[EMAIL PROTECTED]]
Hi,
Any body have done modal window in javascript which will
restrict the user
to access the parent browser window.
i have tried some of them available in javascript like
window.showModalDialog()
but when i
hi! simon,
u have used commons logging factory.. but my requirement is to use log4j
with support of MDC/NDC logging the feature which is required in my app. so
if anyone has implemented log4j(MDC/NDC) with struts, code snippets would
be a gr8 resource for me..
any other sugesstion are also
Hi,
Our commons-logging.properties file in WEB-INF/classes looks like this.
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jF
actory
and then we do this.
import org.apache.log4j.Category;
private static Category logger_ = Category.getInstance(
We have been using Struts in our company for a while. To deal with
authorization in the actions, a guy from our team is implementing the
following solution:
Deploy a XML file called struts-config-security-ext.xml that maps for each
ACTION a sequence of authorization tokens.
Extends the Struts
Hi! mohan,
ok!.. with this configuration can i get user specific log messages??
rgds,
dinesh
- Original Message -
From: Mohan Radhakrishnan [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 4:03 PM
Subject: RE: struts log4j
Hi,
I have a bean with two properties:
label and uppercase.
In my JSP, i would
like to write the label in uppercase
only if uppercase is equal to yes.
The condition can be managed by a logic:equal,
I presume.
But how can I uppercase the label before bean:writ-ing
it?
---cut here---
This e-mail
This has been fixed in the latest nightly build. If you specify
convertNull=true as an init param in your web.xml for the ActionServlet, it
will default the BigDecimal form property to null instead of trying to
create a new BigDecimal(null)- which throws a ConversionException.
If you can't get
ok I could eliminate my problem - obviously with all my changes I've got a
wrong commons-validator version. after copying the version out of
struts-b3-binary everything works again ;-)
-Original Message-
From: Robert Morse [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 13. Februar 2003
Hi: This statement caught my eye because I was about to do something
like this.
I would avoid using multiple Forms per page.
In my application the user is going to assemble a complex set of
things, and in order to do this needs to view another set of
things. The view step involves querying, and
-Original Message-
From: Pani, Gourav [mailto:[EMAIL PROTECTED]]
I have an application that is currently using the Socket
object to post XML
documents to client systems. Currently, we are using
dedicated lines for
transactions but we might be bringing some new customers on
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
I have a bean with two properties:
label and uppercase.
In my JSP, i would
like to write the label in uppercase
only if uppercase is equal to yes.
The condition can be managed by a logic:equal,
I presume.
I have been working on it since yesterday and it looks like it would work.
I am just a bit curious if it being an Alpha would have any bearing on
performance.
-Original Message-
From: PILGRIM, Peter, FM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 8:57 AM
To: 'Struts
Michael,
You certainly can write a connection factory class that provides getConnection type
methods -- I do this all the time to abstract the different ways of doing connection
pooling -- sometimes I am using DataSources -- other times not. However, you should
just use a regular class for
I'm trying to set up some tiles portals that are defined via a HashMap
from a DB query. I thought I had it figured out, but it's not
cooperating. The iteration works... I've tested it without the tiles
code. When I insert the tiles code in the jsp below I get the following
output:
Can't
Diego,
I think you're missing a / before login.jsp where you specify the input page.
When the ActionServlet finds ActionErrors to contain error objects, it will forward
directly back to the input page you specify.
I don't think input is correct, so that's why you're getting a blank page.
Hi
I am trying to set the data source.
Using DataDirect Connect JDBC Driver.
Using Tommcat 4.1.18
SQLServer Database installed on my local box.
data-sources
data-source
set-property property=driverClass
value=com.ddtek.jdbc.sqlserver.SQLServerDriver /
set-property property=url
Hi,
I have been using logic:iterate for quite a while, but now I'm stuck.
Using Struts 1.1b2 on Tomcat 4.1.18.
This code makes me crazy:
bean:size id=test name=EditAccountForm property=roles/
bean:write name=test/
logic:iterate id=userRoles name=EditAccountForm
My team is using 1.1 B3 WL 6.1 SP 2 without any problems.
-Original Message-
From: Pascal Sourisseau [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 12:27 PM
To: '[EMAIL PROTECTED]'
Subject: struts 1.1b3 weblogic 6.1sp2
Importance: High
Hi,
I've used struts 1.1b3
My guess is that you aren't really using the logic:iterate tag because you
forgot the taglib directive at the top of your JSP. If you do a view
source from your browser I'm guessing you'll still see the logic:iterate
tags in the output HTML.
-Original Message-
From: mech [mailto:[EMAIL
You're missing the type attribute on the datasource element. See the
struts-config dtd for details.
David
From: Arun Prakash [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: struts-config.xml : data-source : Setup Question /Problem - Need
Please preface off topic posts with [OT]. I didn't have any luck with that
taglib so I email from real java code instead. Regardless, your jsp
shouldn't be sending email because that's a business logic function.
David
From: Johan Kumps [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
The reason is that you are closing out the logic:iterate too soon!
Look at the code you have sent, the logic:iterate ... ends with a /.
What you need, as you know, is
logic:iterate id=... property=...
!-- whatever --
/logic:iterate
Sri
-Original Message-
From: mech [mailto:[EMAIL
Craig,
Would you by any chance know anyone/anyproduct that instead of using JDBCRealm has
create a SOAPRealm where the user data is available via a web service instead of a
database?
Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Wed, 12 Feb 2003 [EMAIL PROTECTED] wrote:
Date: Wed, 12
- struts 1.1b3
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
- Jboss 3.0.6 with tomcat 4.1.18
actually I'm testing everything on my W2K pc - if this works fine, I'll try
the same versions on a linux box
BTW: the version of commons-validator.jar with which I had troubles
If that is a copy-paste of your code I guess you want to remove the extra / at
the end of your logic:iterate.
Best regards,
Joakim
Quoting mech [EMAIL PROTECTED]:
Hi,
I have been using logic:iterate for quite a while, but now I'm stuck.
Using Struts 1.1b2 on Tomcat 4.1.18.
This code
Ok, here goes... I've definately defined the internationalization
Stuff in ApplicationResources. Note the struts config bit below
And the fact that I've specified the scope as session, does this
make a difference?
It shouldn't... my LookupDispatchForm is also in session scope and it works
I wrote:
It shouldn't... my LookupDispatchForm is also in session scope
Obviously it's way too early to be typing. That's LookupDispatchAction, not
Form!
--
Wendy
I am working a very simple JSP page using Struts. The
page has some field labels and 1 input field. It is
this input field that is causing me problems. Whenever
I put html:text into my JSP page and rebuild/run my
application I get the following runtime error:
Cannot find bean
Hi All,
I'm planning to use DynaActionForm and DynaValidatorForm but I could not
get proper documentation about usage, please can u help me out.
Thanks,
Anand
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
You have to use the html:form tag : it's role is to find the formbean in
some scope or create a new one. It allows your HTML form to display values
that are stored in the formbean. Struts uses the html:form action
attribute to get the ActionMapping, and so get the formBean name and scope
(as
Hello,
Can anyone help me with this:
I have the apache's org package (in jar files) imported. But now I need to
import another org package from biojava, the files are in package:
org.biojava. I have it mounted in netbeans-3.4's file system, (in
classpath then). But it just refuse to
Is there any way to clean the cache from an Action. I have a
LogoutAction that gets all of the Attributes in the session by name and
removes all of them + it invalidates the session, but I also want to
clear the cache so that when the user hits the back button nothing will
be there.
Is there
They're is no conflict since apache packages are in java org.apache.*
namespace and biojava in org.biojava.*. The same way you could have
org.anything.* packages added. You only have conflicts if two jars have
sames classes with different versions, and then the first jar in classpath
order is
First sorry, if you have already received this message but I
changed my e-mail adress and I don't have
received this message that I posted yesterday.
The following question is not specific to Struts but many messages
were exchanged on the list about the
I must display a table in a JSP page with the following features:
- paging;
- sort on the column header;
- multi check-box;
- rendering conditional color rows;
- internationalization (column header);
Can somebody indicate the best choice
I have had this problem sometimes. All I did was UNMOUNT all the files from NetBeans
FileSystem and then MOUNT everything back. Once, I did this, then NetBeans was able to
pick the files from the JAR. Also, make sure you Mount your source separately.
-Pani.
--
On Thu, 13 Feb 2003 17:02:57
You can use various http headers to tell the browser to not cache the pages.
There's no guarantee that the browsers will follow your suggestion though.
It sounds like you're trying to control the user too much.
David
From: Gus Delgado [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
Hi,
Please, anyone can tell how to create dropdown box on JSp page using
struts?
Thanks,
Anand
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yeah I tried adding this at the end of the action.
response.setHeader(Pragma, no-cache);
response.setHeader(Cache-Control, no-cache);
response.setHeader(Expires, Wed, 26 Feb 1997 08:21:57 GMT);
I tested it but it does not seem to work on either IE or Mozilla
David Graham wrote:
You can use
AFAIK the display tag is the best choice. With JSTL you'd have to build in
the paging and sorting yourself. If you can wait until the next release of
display taglib (now at sourceforge) I would strongly recommend that. There
are some key bug fixes in the next release.
-Original
We have used the following as a means of expiring pages. This way when the
user hits the back button they will get a page has expired message.
controller locale=true nocache=true
processorClass=your.processor.subclass
-Original Message-
From: Gus Delgado [mailto:[EMAIL PROTECTED]]
Sent:
Hi, I have a master form w/ several rows, the user clicks edit and
there's another form with details.. the user edits, and then clicks
save. At that point, I'd like to go back to the master form..
Ideally from the detail Action .. I'd like the save to dispatch to
the master Action that populates
The display tag library hasn't had any active development in a while, but
we've recently started development on it again
(http://sf.net/projects/displaytag).
It currently supports:
- paging
- sorting
- multi check-box (via Decorators)
- rendering conditional color rows
internationalization is
I tried to use display:* tag to display a table in a JSP page:
JSP page:
display:table border=0 pagesize=3 cellspacing=0 cellpadding=0
name=employees scope=session
display:column property=id title=ID /
display:column property=function title=Function/
/display:table
What is
For your information, Ed Hill has graciously allowed a small team of
interested developers to take over maintenance and update of the displaytag
code. The team is in the process of collating patches and updates Ed has on
hand as well as a few other tag libraries that extended the original
What's the best way to do this?
In one action, want to create new form, populate it and have it display in a
new page/actions (actually a separate frame).
Thanks,
Steve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
How to do this?
Thanks,
Steve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just as with the struts-config.xml, the best documentation is in the
DTD.
http://jakarta.apache.org/commons/dtds/validator_1_0.dtd
--
Steve Stair
[EMAIL PROTECTED]
(512) 463-7991
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
RTFM
-Original Message-
From: Clement, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:30 AM
To: [EMAIL PROTECTED]
Subject: Forward new form to new page
What's the best way to do this?
In one action, want to create new form, populate it and have
it
How to do what? If the subject is supposed to be a question, then I don't understand
it, and don't think anyone does.
-Dave
-Original Message-
From: Clement, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:34 AM
To: [EMAIL PROTECTED]
Subject: Have
I ran into the same problem. It turns out its a class loader issue in Struts Menu. I
have posted a patch at the Struts Menu sourceforge site.
Martin J. La Jeunesse [EMAIL PROTECTED] 02/12/03 06:25PM
Have been spending the day trying to get struts-menu working under
jboss, without much
Juan
Could you be a little more specific... I'm not familiar with controller
Where does it actually go and what would my processor subclass be?
Thanks...
Alvarado, Juan (c) wrote:
We have used the following as a means of expiring pages. This way when the
user hits the back button
I believe the display tag only supports Lists at this point - Collection
support is upcoming.
Matt
-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 9:31 AM
To: 'Struts Users Mailing List'
Subject: RE: Best tag to display table
controller is in the struts-config.xml file. See the dtd for details.
David
From: ajTreece [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Cache
Date: Thu, 13 Feb 2003 10:55:18 -0600
Juan
Could you be
On the free side of things, I believe you could use a JNDI Realm in Tomcat
for this purpose. You would need to roll your own SOAPInitialContextFactory
and use that in the configuration of the JNDI Realm. Weblogic has an
implementation of a SOAPInitialContextFactory:
That was hasty, use javascript or href target attribute. I initially thought this was
a struts question.
-Original Message-
From: Durham David Cntr 805CSS/SCBE
Sent: Thursday, February 13, 2003 10:43 AM
To: Struts Users Mailing List
Subject: RE: Forward new form to new page
Yeah sure I apologize for not being more detailed.
It goes in your struts-config file. I have mine right after the action
mappings, but it might not matter where you put it.
Your subclass would be a subclass of
org.apache.struts.action.RequestProcessor. The subclass doesn't have to do
anything
Get a Pit Bull.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is probably an FAQ, but I cannot understand that:
logic:empty
This tag evaluates its nested body content only if the specified value is
-either absent (i.e. null),
-an empty string (i.e. a java.lang.String with a length of zero)
or
-an empty java.util.Collection (tested by the .isEmpty()
I think I'm out of luck cause I'm using Struts 1.0.2, and the
RequestProcessor is not part of that version.
-Gus
Alvarado, Juan (c) wrote:
Yeah sure I apologize for not being more detailed.
It goes in your struts-config file. I have mine right after the action
mappings, but it might not matter
Oh yeah that would be a problem. Can't you upgrade?? It's suppose to be
backwards compatible.
-Original Message-
From: Gus Delgado [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 12:18 PM
To: Struts Users Mailing List
Subject: Re: Cache
I think I'm out of luck cause I'm
too late in the project to run that risk!!
Alvarado, Juan (c) wrote:
Oh yeah that would be a problem. Can't you upgrade?? It's suppose to be
backwards compatible.
-Original Message-
From: Gus Delgado [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 12:18 PM
To: Struts Users
The ArrayList implements the list interface.
What other class must I use to construct a list of object ?
---
As of February 12, 2003 Thomson unifies its email addresses on a worldwide
basis.Please note my new email address: [EMAIL
We have big problems with the use of the i18n messages, used with the
bean:message tag. But the problems encounter only in a special scenario:
1.) A German user loggs in - a German locale is set using
Action.setLocale()
- exploring some JSPs, all messages are in German, that's good.
2.) The
I forgot: we use the struts version 1.1b3
-Ursprüngliche Nachricht-
Von: Hirschmann, Bernhard
Gesendet: Donnerstag, 13. Februar 2003 18:41
An: Struts User Mailing List (E-Mail)
Betreff: bean:message problems with i18n
We have big problems with the use of the i18n messages, used with
Looking at the docs it seems like it is the *notEmpty* that works with both Strings
and Collections. The title for notEmpty at
http://jakarta.apache.org/struts/userGuide/printer/struts-logic.html#notEmpty reads
Evaluate the nested body content of this tag if the
requested variable is
Please look into the usage of html:select. You can look at
* html-select.jsp that is part of the struts-exercise-taglib
application that ships with Struts
* the online documentation for the tag
* search the archives of this list
* read the numerous books on Struts
From these resources you can
Have you tried opening up a new browser and trying again? Sounds like it may be a
caching issue. Also, check that your html:html tag is generating the correct lang
attribute. Reload the page and view source, then check the HTML tag.
-= J
-Original Message-
From: Hirschmann, Bernhard
James, thanks for your help!
I tried it in different browser types and in different windows. So this
appears also in different HTTPSessions. I can reload as much as I want, and
I do not use any proxies for that. So I guess it is not a caching issue.
I checked the html:html tag. The lang
Can anyone throw some pointers on ways XML documents can be
generated from java components - beans or a collection of
beans?
What API can be used?
Thanks,
Vikas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Vikas, we use the jar from .jdom.org to create JDOM objects firstly as
representatives of the beans. They can then be transformed to a XML string
with the XMLOutputter class, if this is what you want.
Regards,
Bernhard
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL
I have a an html:text that is populate by my form instance, when I enter
text and hit return, the form is populated and sent back to my action class
instance which seems to be the way it is supposed to work.
I don't want the html:text to submit (that is send the form back to the
action
Here is a simple eg:(Examples speak much better than words)
jsp:useBean id=COUNTY class=com.ms.CountyLookUpList /
html:select property=county
option value=0Select One/option
html:options collection=COUNTY property=ID
Check out betwixt if you want a simple API for transforming your Business
Objects into XML. If you want a method of manipulating XML documents, then
I recommend Xalan/Xerces.
-Jacob
| -Original Message-
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, February 13,
RTFM?
I realize the I could use javascript or href target to accomplish this but I
was looking for a more struts solution.
At a point in my action (struts action) instance, I would like to return a
form to a different target, can I do that using the Struts 1.0.2 API?
ActionForward or something
Yes, this is the name of the class. I checked this 100s of
times, even copying and pasting the package and class name
from the .java file. I'm sure this is correct.
I have Struts logging turned up to #6 but that isn't putting
out any messages. There is very little in the JSP so I don't
The same way XMLEncoder in JDK 1.4...
The output format is not very user-friendly but if you only want to
persist your beans...
On Thu, 13 Feb 2003, Hirschmann, Bernhard wrote:
}
} Vikas, we use the jar from .jdom.org to create JDOM objects firstly as
} representatives of the beans. They
On Thu, 2003-02-13 at 19:26, Clement, Stephen wrote:
I have a an html:text that is populate by my form instance, when I enter
text and hit return, the form is populated and sent back to my action class
instance which seems to be the way it is supposed to work.
I don't want the html:text
Howdy!
On page 136 of 'Struts in Action' it says that you have to add the struts
validator tag lib to the web.xml. However, throughout this book it states
that the validator has been baked into struts 1.1 and doesn't require any
setup.
So, is there a validator tag lib to use for client side
For 1.0.2, set the servlet init param nocache to true
Gus Delgado wrote:
too late in the project to run that risk!!
Alvarado, Juan (c) wrote:
Oh yeah that would be a problem. Can't you upgrade?? It's suppose to be
backwards compatible.
-Original Message-
From: Gus Delgado
On Thu, 2003-02-13 at 19:29, Clement, Stephen wrote:
RTFM?
I realize the I could use javascript or href target to accomplish this but I
was looking for a more struts solution.
At a point in my action (struts action) instance, I would like to return a
form to a different target, can I do
OK. I see.
How about returning a different ActionForm than the one I got from my
perform method the Action class?
I get my ActionForm nicely populated for me in the perform method of my
Action class, I then would like to send or forward a different ActionForm
populated with other things back
I agree, but you might try changing Collection to List in your code below.
-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:38 AM
To: 'Struts Users Mailing List'
Subject: RE: Best tag to display table
The ArrayList
I'm having problems displaying Unicode escaped characters with html and
bean tags.When I display unicode characters with html and bean tags
the ampersand is being escaped so the html is displaying the escape
sequence rather than the character.
Example (these are Korean characters) JSP
The validator tags are not built into the struts html taglib. Here's what I
use for my 1.13b app (actually it's a nightly build post 1.1b3 for the cdata
attribute).
html:javascript formName=myForm cdata=false
dynamicJavascript=true staticJavascript=false/
script type=text/javascript
Hi!
I have a main page and i use tiles. Some tiles are dynamic (take its context
from database).
Wich is the best solution?
1. Each tile to have its own action and define them at tiles-def.xml
2. To use Tiles only to display context and all data retreved from actions of
main pages?
At
On Thu, 2003-02-13 at 19:42, Jim Theodoridis wrote:
Hi!
Hi!
I have a main page and i use tiles. Some tiles are dynamic (take its context
from database).
Wich is the best solution?
1. Each tile to have its own action and define them at tiles-def.xml
2. To use Tiles only to display
Hello,
How do you include a link in your code which triggers an Action
which has no Form. The Action class will activate a global
forward.
I hope somebody can help me since I am on this problem for
two days now and have search the whole list, docs and both
Struts-books.
A simple direction where
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
David
From: Bert Catsburg [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: How to link to an Action which has no Form. Date: Thu, 13 Feb 2003
Use the ActionForward built-in class:
action
path=/logout
type=org.apache.struts.actions.ForwardAction
parameter=/logout.jsp/
You can specify a JSP or a tiles' definition as the parameter.
HTH,
Matt
-Original Message-
From: Bert Catsburg [mailto:[EMAIL
Actually, as of 1.1b2 this action does *not* take a Tiles definition as a
parameter; it is not Tiles-aware.
Tiles provided an action class to mimic this functionality:
org.apache.struts.tiles.actions.NoOpAction
If the ForwardAction behavior has changed in 1.1b3, I'd be interested to
know (it is
1 - 100 of 161 matches
Mail list logo