Do you know where the trend will go?
your sitemesh or tiles?
On Tue, 31 Aug 2004 01:57:03 -0400, Rick Reumann [EMAIL PROTECTED] wrote:
PC Leung wrote:
I am trying to learn Tiles.
Is Tiles the right way to go with Struts?
Should I study other tool before sticking with Tiles?
Tiles
On 30/08/2004 22:34 Steven Leija wrote:
I'm trying to configure Tomcat to use MD5 encryption for my JDBCRealm.
Has anyone successfully gotten this to work?
Thanks,
Steven
Yes. It works a trat for me. Your RDBMS will need to be able to support
MD5 passwords of course.
--
Paul Thomas
Well, original poster asked the question for some reason. Who knows, maybe
he has to give a presentation of Struts? I wouldn't like to embarrass myself
by speaking of patterns that do not exist. Have a look at some random books
on the subject, I'll bet they all talk about Model 1, Model 2, and
Hi
I am in the stage of implementing logging in my struts application. I
have been reading online but have some questions unanswered.
1. Action class should be thread-safe. Therefore no static variable, I
should just use a non-static variable to hold my logger?
2. In a multi-user web
1. thread-safe require no variable (instance or static) that a thread may consider to
be the only one to update. Read-only member (as a logger instance) can be used safely.
2. you can configure log4j to add the thread id to the log, so that a simple grep will
extract all logs for a request.
Mmm... I think there is some misunderstanding in your use of Tiles.
If I understood, maybe you want to have an effect of panel and
subpanels. If you want to do such a thing, you can use what I call as
definitions of definitions.
If I understood (again :-P ) you want to have a main page, divided
I think it was me who pointed you down that route to destroy recreate a
form bean to clear any data in it.
reset() is not used for this purpose - read up on what reset() does.
servlet is a variable of Action and is available in all methods of your
own Action classes.
Paul
-Original
What I meant is that you can use the same action class multiple times, each
with a different path input:
action
path=/Handler1
type=com.foo.some.Action
input=/file.jsp
/action
action
path=/Handler2
hi all,
I had written the code in a.jsp like:
tr
td bgcolor=#ff align=center width=20%html:link
page=/accountlisting.dofont color=#00Accounts/font/html:link/td
td bgcolor=#ff align=center width=20%html:link
page=/ContactsListing.dofont color=#00Contacts/font/html:link/td
td
taglibs must be set in the included JSP when using jsp:include tag : it includes JSP
result, not JSP source code as
does %@ include %.
Nico.
- Original Message -
From: vineesh . kumar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 11:17 AM
Subject: problem
Can I use the validator 1.1.3 also with applications developed with Struts 1.1 or do I
need to upgrade my application to Struts 1.2?
Thanks
Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I have googled and searched the mailing list, but couldn't find an
answer to this.
I have a DynaValidatorForm containing a collection of objects
presented using the logic:iterate tag in the JSP. The validation of
the objects in the collection is done in the validation.xml file using
something
Hello folks,
I just want to know the list of patterns that we are
using while implementing struts with tiles framework.
I have just started working with the struts framework
hence correct me if I am going wrong somewhere..
1. Front Controller - With ActionServlet and
struts-config.xml
2.
I haven't been following this thread too closely but
I know its been some what long so if this solution has
already been proposed, I apologize in advance.
We use SecurityFilter and an additional filter which
checks for the Principal in the request. If the Principal exists,
then we can be assured
There are three .jar files in the
C:\jakarta-struts-1.1\contrib\struts-el\lib directory
that are not in the C:\jakarta-struts-1.1\lib
directory. Those three files are jstl.jar,
standard.jar, and struts-el.jar.
Do we also copy those three files to the
C:\TOMCAT\webapps\AppName\WEB-INF\lib
These files are need if you wish to use JSP EL in a JSP 1.2 container. If
you use a JSP 2 container then EL is supported for the standard struts tags
(by the container rather than the tags themselves). See
http://struts.apache.org/faqs/struts-el.html for more details.
Paul
-Original
You have to use the html:messages tag in a loop to generate the property
values in a loop.
Here's an example --
logic:iterate name=IndexedListForm property=orders
id=orders indexId=ndx
tr
td
html:text name=orders
Hi,
Try declaring eatable in your form-bean declaration as
java.lang.Boolean and in the action before your edit page go
myForm.set(eatable, new Boolean(true))
-Yves-
On Tue, 31 Aug 2004 12:25:18 +0200, Wolfgang Woger
[EMAIL PROTECTED] wrote:
Hi,
I have acheckbox that needs to be prechecked
Hi,
I have a form which must be sent to an external site for payment
processing. But first I want to run it through my own action to
insert the values in the database, and then forward to the 3rd party
URL for payment.
If I submit to the 3rd party directly from a JSP using an html form
(ass
Hi,
There's a long thread about that just yesterday. Check the messages history.
-Yves-
On Tue, 31 Aug 2004 04:36:57 -0700 (PDT), Caroline Jen
[EMAIL PROTECTED] wrote:
There are three .jar files in the
C:\jakarta-struts-1.1\contrib\struts-el\lib directory
that are not in the
Hi Kenneth, Everyone.
Since we're on the subject, using the example being discussed, towards
the end of the chain we call findRecords.do which takes us to
foundRecords.jsp.
All well and good.
I'm having trouble understanding how to get database output from the
model to the view layer?
How is
Geia sou re Keladi,
Chris Keladis wrote:
Hi Kenneth, Everyone.
Since we're on the subject, using the example being discussed, towards
the end of the chain we call findRecords.do which takes us to
foundRecords.jsp. [...] I'm having trouble understanding how to get
database output from the
model to
You are only going to be able to redirect to an external URL. However,
when you redirect its a new request so the form data is lost. I would
use the Jakarta Commons HttpClient to do the posting.
Bill Siggelkow
Richard Aukland wrote:
Hi,
I have a form which must be sent to an external site for
Chris -- Struts knows nothing of the model -- the subject you need to
learn is Java database programming. There are many different tutorials
on this -- a good one can be found at
http://java.sun.com/docs/books/tutorial/jdbc/.
Chris Keladis wrote:
Hi Kenneth, Everyone.
Since we're on the
If you want to follow common java 'patterns' then try to find some info
about data access objects (DAOs), data transfer objects (DTOs or TOs), and
view objects (VOs). That should point you in the right direction.
Basically, they are javabeans!
Daniel.
-Original Message-
From: news
How do I check the message history for yesterday's
message?
--- Yves Sy [EMAIL PROTECTED] wrote:
Hi,
There's a long thread about that just yesterday.
Check the messages history.
-Yves-
On Tue, 31 Aug 2004 04:36:57 -0700 (PDT), Caroline
Jen
[EMAIL PROTECTED] wrote:
There are three
What am I missing? I got the following error
java.lang.NoClassDefFoundError:
org/apache/commons/beanutils/Converter
What should I do?
___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
NoClassDefFoundError - this means the JVM cannot find the class in
question.
You need to make this class available to the JVM by adding the
commons-beanutils JAR to the WEB-INF/lib directory.
Rob
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: 31 August 2004
If you use redirect to the payment url, the data in the form is in the
session in your site and not the external site where it is needed. So
redirect or forward will not help.
Try splitting up this work-flow into two steps:
1. in the first one you write the action class and save the stuff
Worked well. Thanks.
Used html:errors instead of the message for brevity. It would have
been nice if html:errors could have been set with indexed=true.
Would have prevented the scriplet and been more consistent.
Regards
Milind
Hi Everyone,
Struts 1.2.2 is up and available.
http://struts.apache.org/acquiring.html
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
what is your directory structure ??? Are you giving
the correct relative path for the input parameter
--- Jim Barrows [EMAIL PROTECTED] wrote:
-Original Message-
From: Saurabh Bhatla
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 30, 2004 2:52 PM
To: Struts Users
instead of the scriptlet, I think you could use html-el and do the
following:
html-el:messages id=error property=orders[${ndx}].partNumber
The el notation forces the ndx to evaluate
From: Bill Siggelkow [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
The Apache Struts team is extremely proud to announce the availability of
Struts 1.2.2. This release represents the first official release
available for General Availability since Struts 1.1.
You can find all of the features, enhancements, and bug fixes in the release
notes listed below. I
Will the Struts 1.2.2 jar be available Apache's Maven Repository?
http://www.apache.org/dist/java-repository/struts/jars/
BTW: Thank you for the release!
Paul Spencer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Chris,
In our app we're building a model object Assignment from a dao object
AssignmentDAO. We then fill the form AssignmentForm from the model object.
All this is controlled from the AssignmentAction.
I think I've recently read that in general a lower layer should not be
aware of a higher
At 10:33 AM -0400 8/31/04, Paul Spencer wrote:
Will the Struts 1.2.2 jar be available Apache's Maven Repository?
http://www.apache.org/dist/java-repository/struts/jars/
The preferred repository would continue to be iBiblio.
James, do you want me to do the deployment to the Maven mirror
I've already started on it..should be done in a minute.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Joe Germuska [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday,
Many thanks to Bill and Partha for your suggestions.
I used the javascript (2nd) technique because I am currently more
familiar with it. It is now working. :)
Cheers
Richard
If you use redirect to the payment url, the data in the form is in the
session in your site and not the external
It's generally best practice not to tie layers in together.
Assume that you have your DAOs that are aware of ActionForm (or subclasses),
in constructors, or methods. Now say you want to use the same DAOs in a
standalone app. In order to do that, you are going to have to include the
struts jar,
I'm currently trying to do something similar. Therefore I would like to
share my thoughts:
Relying on javascript for business critical functions (and if payment is
not a business critical function, what is?) is IMO NEVER a good idea,
because it is not fail-proof at all.
What only if the user
Someone else taking this exam already got the answers on this list.
///8-) Check the archives, unless you want to do it yourself. LOL
nitin dubey wrote:
Hello folks,
I just want to know the list of patterns that we are
using while implementing struts with tiles framework.
I have just started
Whenever i come accross this, i put a 'confirmation' screen, with all the
details repeated, and a 'pay now' button that submits the (hidden) form to
the external site.
Daniel.
-Original Message-
From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Sent: 31 August 2004 16:17
To:
-Original Message-
From: PC Leung [mailto:[EMAIL PROTECTED]
Sent: Monday, August 30, 2004 8:58 PM
To: [EMAIL PROTECTED]
Subject: Is Tiles the right way to go?
I am trying to learn Tiles.
Is Tiles the right way to go with Struts?
Should I study other tool before sticking with
I raised exactly the same question on this list a week or two ago. I'm
glad to see someone else attempting the same thing.
Two workarounds came out of that discussion--structure your tiles defs
differently, or futz with tiles:importAttribute and tiles:put. The
first approach doesn't scale
-Original Message-
From: Bill Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 8:54 AM
To: [EMAIL PROTECTED]
Subject: Re: including one layout .jsp inside another?
I raised exactly the same question on this list a week or two
ago. I'm
glad to see someone
Craig, All,
I would like to discuss the issue I have entered in Bugzilla (issue #30511)
with title Struts-faces form input with rendered attribute set that you
put invalid a while ago.
I am first going to rewrite the issue and I will try to explain where I do
not find things logical.
First
-Original Message-
From: andy wix [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 9:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Identifying the 'clicked' line when iterating over
collection
Hi,
I have tried most of the code in the replies and, alas, fear
my brain is
I would do somthing like the following:
TABLE border=0
c:forEach items=${contacts} var=contact
TR
TD${contact.name}/TD
TD${contact.number}/TD
TDc:url var=url scope=session value=/do/modifyContact
c:param name=ID value=${contact.id}//c:url
Do you want to supply a patch?!
|-+
| | Milind Rao |
| | [EMAIL PROTECTED]|
| | m |
| ||
| | 08/31/2004 09:40 |
| |
Hello there
I am having some issue getting the correctly output while iterating over my collection
I'm doing the following:
I'm iterating over an processList(ArrayList) which contains 4 objects of type
ProcessBO.
ProcessBO has 3 attributes;
int ID
String name
ArrayList tasklist
The
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: Iterating over collection ...
Hello there
I am having some issue getting the correctly output while
iterating over my collection
We have Tomcat 5.0.16 and were incorrectly placing common jars (such as
JDBC drivers) in /common/lib.
Now we just moved them to /shared/lib (for truly common stuff) and
WEB-INF/lib, but now all applications complain giving a
java.lang.ClassNotFoundException, just like if things weren't in
Don't you want a nested iteration of the second ArrayList, similar to
the iteration you already have?
Erik
[EMAIL PROTECTED] wrote:
Hello there
I am having some issue getting the correctly output while iterating over my collection
I'm doing the following:
I'm iterating over an
You need to nest another iterate'er in order to iterate through the inner
list for each object:
logic:iterate id=process name=processlist
bean:write name=process property=name/
bean:write name=process property=ID/br
logic:iterate id=task name=process property=tasklist
andy wix wrote:
session). To get the ID would be something, but it would save me
needing an action class at all if I could get the contact object
representing the 'clicked' row into the session or request scope.
To do what you want above would take a slightly different approach. Say
you had
Thanks Daniel,
this worked.
I have tried nesting a iterate tag earlier today but I wasn't setting it correct.
Thanks for the answer.
Regards
Karim
PS: Thanks to the other replies too.
Daniel Perry [EMAIL PROTECTED] wrote:
You need to nest another iterate'er in order to iterate through the
Sure, in common/lib it works well. But from Tomcat docs:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
The following rules cover about 95% of the decisions that application
developers and deployers must make about where to place class and
resource files to make them
Thanks Jim,
the reply Daniel Perry posted worked/ I have done it your way earlier nad it did not
produce the correct output.
Have look (if you care at Daniel Perry's reply.
It did produce the correct outpu.
Thanks anyway
Karim
Jim Barrows [EMAIL PROTECTED] wrote:
-Original
What steps did you take when you upgraded? What library and files did you
replace?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004
The exception is not clear enough, but it contains most info you need to
know:
Some code in Struts 1.2.2 [probably
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:169)]
is using Boolean.valueOf(boolean), which was added in Java 1.4. It is pretty
simple to fix that one if
Rick Reumann wrote:
To do what you want above would take a slightly different approach. Say
you had your ArrayList of Contacts in Session scope and after the user
clicked on a link you wanted to edit one of those objects. In this case
you wouldn't use the ID to look him up you'd have to use the
Let's get this into bugzilla so we can get it fixed quickly.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Michael Nascimento Santos [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
Good Afternoon,
An instance of a my Action class only has its' constructor firing when the
ActionServlet first loads it, when the execute(...) function should be
invoked at some point afterward. I do not have any need for a ActionForm
with this specific request; only that the request must
-Original Message-
From: klute [mailto:[EMAIL PROTECTED]
==///==
have not done it myself but hopefully this thread is
of some help..
[ Now, I remember ... ]
Klute
Weren't you the tearful little girl who found herself left alone
after all the settlers had been murdered on the
I would propose this as the fix
[EMAIL PROTECTED] ~/cvs/jakarta-struts
$ cvs diff -u src/share/org/apache/struts/validator/ValidatorPlugIn.java
Index: src/share/org/apache/struts/validator/ValidatorPlugIn.java
===
RCS file:
This is the only difference from 1.25 to 1.26 (file version)
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/validator/ValidatorPlugIn.java?r1=1.25r2=1.26diff_format=h
BTW, the log for 1.26 says:
* Use Boolean.valueOf() instead of creating new instances.
That is
-Original Message-
From: Sheehan, Andrew [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 10:43 AM
To: [EMAIL PROTECTED]
Subject: Initial invocation (HTTP GET) Instantiates an
Action, but does
not invoke execute(...)
Good Afternoon,
An instance of a my
A big thanks to you James for your leadership and all involved your labor
:-D Shed.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 10:19 AM
To: Struts Users Mailing List
Cc: Struts Developers List
Subject: [ANN] Struts 1.2.2 release
Ok, so without looking, my proposed fix is basically putting it back to the
way it wasnow that's sad.
Martin, what should we do with this?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Michael
I was gonna post this suggestion anyway, but here's something that will work
with JDK 1.3 and is in the spirit of avoiding the creation of Boolean
instances. Instead of:
new Boolean(this.stopOnFirstError)
How about something like:
(this.stopOnFirstError ? Boolean.TRUE : Boolean.FALSE)
Or
This is from the JDBC DataSource howto:
DBCP uses the Jakarta-Commons Database Connection Pool. It relies on
number of Jakarta-Commons componenets:
* Jakarta-Commons DBCP 1.0
* Jakarta-Commons Collections 2.0
* Jakarta-Commons Pool 1.0
These jar files along with your the jar file for
That works for me. I'll make the change unless anyone disagrees.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Kris Schneider [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
On 31 Aug 2004 15:43:29 +0800, Sebastian Ho
[EMAIL PROTECTED] wrote:
Hi
I am in the stage of implementing logging in my struts application. I
have been reading online but have some questions unanswered.
1. Action class should be thread-safe. Therefore no static variable, I
should just use
Also, since you appear to be trying to follow the documenation, have you
ever gotten a Context XML file placed within the META-INF directory of
your web app to work? I can't get this to work (I have gotten them to
work when placed in the conf directory -- though I had to learn the hard
way to
Kris, this is from context.html in the Tomcat 5 docs:*
Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT
recommended to place Context elements directly in the server.xml
file.* Instead, put them in the META-INF/context.xml directory of your
WAR file or the conf directory as
Thanks for your answer, that explains it all.
Yes, we were trying to clean server.xml and to avoid server restarts
every time something changes (e.g. db connection pool info). Context was
directly cut and pasted into the local META-INF/context.xml.
But Tomcat gets it only when you create a
Hi Craig
I am trying to learn Tiles.
Is Tiles the right way to go with Struts?
Should I study other tool before sticking with Tiles?
...
It is impossible to give you any useful help on this question
without understanding what you are trying to accomplish with (or
without) Tiles, and what
Hang on, my bad - it should be /META-INF/context.xml. So, rename Foo.xml to be
context.xml and place it in *META-INF*.
Quoting Erik Weber [EMAIL PROTECTED]:
Kris, this is from context.html in the Tomcat 5 docs:*
Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT
recommended to
I have tried this repeatedly. I am using the same Foo.xml file that does
work when placed in conf/Catalina/localhost/. I have tried with and
without the path and docBase attributes to the Context element. I have
renamed the file to context.xml and it is in META-INF in my war file. I
have also
Erik, here goes my context.xml, Tomcat renames it the same as the app's
directory. I assume your Tomcat has autodeploy enabled.
!--By Ivan: WAR-contained Application Context--
!--Path defines the directory name created when war is deployed--
Context path=/nahrgisdev docBase=nahrgisdev debug=5
Is it possible to use dynaforms to setup file upload? If so, any tips?
Thanks in advance.
R
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just for sanity sake, I reconfigured Eclipse to build with 1.3.1 and found
one more place with 1.3.1 incompatibilities. Same issue with Boolean, but
in a different spot (Tiles).
I have fixed that also.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
Hello Guys
i notice this error that when the session expirates, if an action that uses a
beanform is requested, and validate is true, the framework normally tries to
execute the validate method of the bean, but you know the beanform just doesnt
exist anymore, but the request can not be treated for
How can i solve this problem?
You can have some way of catching this so the user won't see this error. I
use a meta tag that makes the page redirect to /logon.do after the
(configurable) timeout has expired (this happens client side and no
javascript required).
--
James Mitchell
Software
Here is mine, which does not work:
Context path=/Foo docBase=Foo debug=5 reloadable=true crossContext=true
Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_Foo_log.
suffix=.txt timestamp=true/
Resource name=jdbc/MySQLDB auth=container type=javax.sql.DataSource/
[eweber]$ jar tf $TOMCAT_HOME/webapps/Foo.war
. . .
META-INF/context.xml
META-INF/MANIFEST.MF
. . .
Right?
Erik
Ivan Vasquez wrote:
Erik, here goes my context.xml, Tomcat renames it the same as the app's
directory. I assume your Tomcat has autodeploy enabled.
!--By Ivan: WAR-contained Application
Thanks robert. Greatly appreciated.
Now has anyone tried to put login form on every page of
site if user hasn't login with STRUTS? Say, put a small login
form on left hand column menu/navigational bar.
Is there anything I need to look out for?
- Original Message -
From: Robert Taylor
Yes. And I just deployed a war with my config to another server to
double-check.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 5:17 PM
To: Struts Users Mailing List
Subject: Re: Classloading problem
[eweber]$ jar tf
You are using Tomcat 5.0.27?
Erik
Ivan Vasquez wrote:
Yes. And I just deployed a war with my config to another server to
double-check.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 5:17 PM
To: Struts Users Mailing List
Subject: Re:
Also, the name under which it gets to conf/Catalina/localhost is
app_name_folder.xml
Inside, path and docBase are untouched. No war extensions anywhere.
BTW, these are tomcat 5.0.16, just in case.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31,
It sounds good but i dont know how to do it!
can u explain to me how to?
On Tue, 31 Aug 2004 17:30:44 -0400, Erik Weber wrote
Perhaps you could override one of the RequestProcessor methods, and
check for the existence of a known Session attribute, before Struts
tries to work with the
Seemingly (I haven't done this but actually I need to and probably will
try it):
1) extend org.apache.struts.action.RequestProcessor
2) override either the processPreprocess method, or the processMapping
method, either of which is invoked *before* processActionForm
3) in processPreprocess,
Ivan, as you can see I've tried everything I can think of. Perhaps when
I have more time I will mess around with it some more, but it's easier
just to use JBoss.
I appreciate your help (and Kris's).
Erik
Ivan Vasquez wrote:
Also, the name under which it gets to conf/Catalina/localhost is
Thank you i will try it later!
On Tue, 31 Aug 2004 17:45:29 -0400, Erik Weber wrote
Seemingly (I haven't done this but actually I need to and probably
will try it):
1) extend org.apache.struts.action.RequestProcessor
2) override either the processPreprocess method, or the
processMapping
I would like to use a tile definition in an action forward with request
parameters. I have an Action that takes a forward mapped in the Action
definition and supplies it with parameters by appending it to the path and
then creating a new ActionForward with the supplied parameters. I can't use
-Original Message-
From: Leung, Albert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 4:08 PM
To: Struts Users Mailing List
Subject: tiles and ActionForwards
I would like to use a tile definition in an action forward
with request
parameters. I have an Action that
That makes sense, but how would I do that? These parameters are not part of
a form.
I would like to use a tile definition in an action forward
with request
parameters. I have an Action that takes a forward mapped in the Action
definition and supplies it with parameters by appending it to
-Original Message-
From: Leung, Albert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 4:14 PM
To: Struts Users Mailing List
Subject: RE: tiles and ActionForwards
That makes sense, but how would I do that? These parameters
are not part of
a form.
You're right. Thanks. I'll give that a try.
That makes sense, but how would I do that? These parameters
are not part of
a form.
request.setAttribute( page, page);
Forms have nothing to do with putting things into request, session or
application scope.
I would like to use a
1 - 100 of 113 matches
Mail list logo