and password. I also
want the session to time-out after a period of time.
Any ides?
Charles (Allen) Jordan [EMAIL PROTECTED]
System Administrator(407)771-8919
Convergys
285 International Parkway,
Lake Mary, FL 32746-5007
my Arraylist has got a variable size.
so, i've put in the required action declarations(in struts-config.xml), the
DynaActionForm in session scope, and it works!
thanks a lot richard for your help!
best regards,
charles.
Message original Sujet: Re: dynaActionForm,JSTL
appreciated!!
thanks in advance,
charles.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Alan,
Here are the basics:
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws Exception {
ActionErrors errors;
ActionError
Hi Mark,
One way to do it is have a page refresh that checks for a completion flag.
The page/action would poll the object with the flag on eahc refresh, when
set, display completion message.
chuck
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21,
Hey,
This is the contents of my request object. This is displayed from inside the
messagesPresent tag:
A Name: javax.servlet.include.context_path
A Name: createAccountForm
A Name: org.apache.struts.action.MESSAGE
A Name: javax.servlet.include.servlet_path
A Name:
-Original Message-
From: Puneet Agarwal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:24 PM
To: Struts Users Mailing List
Subject: Re: [OT] - [TOPIC] - [VOTE]
www.tcs.com : Check-it-out guys its a billion dollar company...!!!
Regards,
Puneet Agarwal
Tata Consultancy
Hi,
How do I handle session timeouts with struts? Currently, it throws
exceptions because beans and forms are no longer available? I have tried
placing code in the a custom request processor -- preprocess method to check
for session and if no session redirect to a login page. It seems to be dying
Hi,
I can't seem to get the credit card validator to work. Here is the validator
field property=cardnumber depends=required, creditcard
arg0 key=billingForm.cardnumber.displayname/
/field
Am I doing something wrong?
Chuck
between the Struts
ActionError and ActionMessage instances.
HTH
m
--- Charles Canning [EMAIL PROTECTED] wrote:
Hey,
This is the contents of my request object. This is
displayed from inside the
messagesPresent tag:
A Name: javax.servlet.include.context_path
A Name: createAccountForm
, 2003, at 07:52 PM, Charles Canning wrote:
Hi,
I can't seem to get the credit card validator to work. Here is the
validator
field property=cardnumber depends=required,
creditcard
arg0 key=billingForm.cardnumber.displayname/
/field
Am I doing
Hi,
I have a dynaValidatorForm defined with properties of type
java.lang.Integer[] and it is being populated by a multibox. When I get the
form though, it is returning objects of type Integer not Integer[]. Does
anyone know what might be causing this and a possible solution? Thanks.
Chuck
:
field property=volume()
depends=required
arg0 key=/
/field
and:
field property=volume()
depends=required
arg0 key=/
/field
but both result in the error.
Does anyone know how to do this?
Thanks,
Charles.
The Royal Bank of Scotland plc ('the Bank') is regulated by the Financial
Hey,
Sorry to send this to this list. If someone can recommend a better source
for help, please do. I am using JSTL and struts-el in a form, but the
foreach is not returning my values. If I use a scriplet, I see them. Here is
the scenario/code in same JSP
%
List alist;
Iterator iterator;
Hi,
I have a form using html-el and jstl. I have a loop inside the form
c:forEach items=${headerList} var=header
c:choose
c:when test=${index} % 2 == 0
TR bgcolor=FFEDED
/c:when
c:otherwise
TR bgcolor=FFD8D8
/c:otherwise
/c:choose
td
c:out value=${header.sender}/
c:out
of testing but hide the
implementation detail?
Thanks
--
Charles Liu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I heard that struts doesn't work with epicentric. Is that true?
Thanks a lot!
--
Charles Liu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Here's is another what would you do in this situation? inquiry.
We're an ASP and I would really like to leverage Struts for the
controller (I don't intend on leveraging the view aspect). Our biggest
issue with leveraging Struts is that we need to be able to handle
customer-specific customizations
a Map in the form bean, 1234 as key and create
as value(I need both information).
I know this will work easily in Struts 1.1 beta, but I can only use
struts 1.0.2 now.
So how should I construct my bean for struts 1.0.2?
Any answer or hint is appreciated.
Thanks
Charles
the logic:iterate tag that will still be palatable to Struts if not
a ``best practice.'' If I don't use the JSP code above, will the proper
array be populated by Struts?
BTW, I'm using Struts 1.02 on Tomcat 4.1.18. The people I'm working with
are not ready to move to a Struts 1.1 beta.
--
Charles H. Baker
How can I create a blank entry in a selection list using the
html:option tag? Everytime I try something like
html:option value= /html:option
I get an exception which just so happens to be missing it's Message
Resource. What am I doing wrong?
--
Charles H. Baker
[EMAIL PROTECTED]
http
the PropertyMessageResources information without having to
modify the Struts base code?
Thanks
Charles E. Baker III
_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
be the pumpkin keeper if no one else will do it (although I'm
reluctant to volunteer, as I haven't performed that role before, except
as a gardner ;-)
chaz
--
Charles E Brault
[EMAIL PROTECTED]
Where are we going, and why am I in this handbasket?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
Phil gave you the work around:
You can also use hidden fields (basically client-side state
management),
or application-managed durable storage (e.g RDBMS).
You can play around with a reaper thread too but this could be perilous.
You need to build up a bit of a framework around
site and am quite happy with it.
Let me know what you think or if you find it useful. :)
Cheers
Charles
/**
* This class is an abstract Struts codeAction/code class that all
* codeAction/code classes should extend. A typical Action class
* handles multiple actions (requests). For example
HttpServletRequest.
Thanks,
Charles
-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 12:50 PM
To: 'Struts Users Mailing List'
Subject: RE: One way of writing BaseAction
Isn't this similar to what the Dispatch action does?
-Original Message
2002. december 13. 20:00 dátummal Charles ezt írtad:
Thanks for your help. But I'm still a little confused. How do you extend a
DynaActionForm? I thought it was created on the fly.
Only the properties are created on the fly, the class itself is
org.apache.struts.action.DynaActionForm.
So here
tags can be used to present the reset() being called?
Thanks again
Charles
- Original Message -
From: Gemes Tibor [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, December 11, 2002 1:31 AM
Subject: Re: DynaActionForm in session scope
2002. december 12. 02
in the
tag, the form would save previously entered data in the session. However it
seems to behave as though its in request scope. Is this normal with using
dynamic form beans?
Tried searching the message list at nagoya but the search function doesn't
seem to be working.
TIA
Charles
Thanks for the prompt reply Richard. I'll check out JSTL
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 10:22 PM
Subject: Re: How to to a OR with logic tags
Charles,
I'd suggest checking out
Hi I'm still quite new with Struts. I want to do a OR comparison using the
html:logic tags. Does anyone has any idea how this can be done?
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
seperate base forms. How do I reuse these two base form (since you cant
extend more than once). Or is there a better solution to code reusing for
action forms ?
TIA,
Charles
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts
+ in + aClass.getName());
}
return descriptor;
}
catch (IntrospectionException ex)
{
throw new Exception(Can't find property + aPropertyName
+ in + aClass.getName(), ex);
}
}
}
--
Charles E Brault
[EMAIL PROTECTED]
Where
for compatibility with Struts 1.1. So my question is: Is Scaffold
indeed considered outdated, and if so, why?
Anyone's reaction is welcome.
Charles McClain
Phone: 603.659.2046
email:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto
Chuck:
You're obviously not old enough to remember decoder rings. It's from
an early kids' TV (and possibly dating back to radio, I can't remember)
show called Captain Midnight. The Captain and his crew communicated
via their secret decoder rings when they needed to, and if I remember,
they
Andy:
Just to second what Dave said:
I reluctantly switched over to 1.12b a month or so ago. I was reluctant
because I am in the middle of learning Struts and converting an existing
app over to it, and I had enough to handle without worrying about the
changes between 1.02 and 1.1.
I switched,
Chris:
Two answers:
First, Artimus, a small demo app written by Ted Husted, demonstrates
simple data access beans working in a Struts app. Get hold of it at
http://sourceforge.net/project/showfiles.php?group_id=49385 .
Second, as you probably know, Struts does not have a data access
Ronald:
In one of his Struts Tips on Jguru (sorry, I can't remember which one
exactly), Ted Husted recommends creating a ValueUtils class for such
supporting methods, both to separate them from the model and to support
re-use -- since such methods are likely to be needed in more than one
data
:
/payment/edit.do). If you have an error, check if accessing your body
alone work (try to call the body url directly). If yes, it should work
with tabs. If problem persist, let me know.
Cedric
Charles McClain wrote:
All:
Okay, I successfully integrated Struts Tiles with my app, and it's
01, 2002 9:19 AM
To: 'Struts Users Mailing List'
Subject: RE: ValidatorForm
Hey Charles,
Thanks for the input ... what I ended up doing is creating 2
actions-mapping for one LookupDispatchAction. One mapping validates and
the other doesn't. So my logic remians intect within one
(form) strings to other data types?
Thanks Charles,
I even got a book (Professional JSP Site Design) where Ted Husted is a
co-author. I also found two lines of code on his website
(www.husted.com), but I still can't find out how this will do in my
example with the select input field. Should I convert
Mailing List
Subject: Re: Where do you convert (form) strings to other data types?
Thank you very much Charles!
I will try to do it with that. If anyone feels great today and feels
like adding some sample code it would make my day complete! ;-)
Regards,
Ronald
- Original Message -
From
that that all properties of the source bean for which the target bean
has a property of the same name -- and a corresponding setter method --
will be transferred. Okay, my key field passes that test. Can anyone
tell me why it doesn't get transferred to the data bean?
Charles McClain
Phone: 603.659.2046
me to go back and re-test.
-Original Message-
From: Dave Weis [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 8:49 AM
To: Struts Users Mailing List
Subject: Re: html:hidden fields
On Mon, 30 Sep 2002, Charles McClain wrote:
I have what seems to be a fairly common situation
to guide me. And I haven't found anything in the
documentation to guide me, either.
Sorry if my question isn't very coherent; I'm confused enough that I'm
having trouble formulating the question properly. Anyway, any help or
guidance will be greatly appreciated.
Thanks in advance,
Charles McClain
Darren:
Bear in mind that I'm relatively new to Struts and don't have all the
answers, nevertheless, I'll try to point you in the right direction. I
had exactly the same problem, with the exception that I used a simple
DispatchAction rather than a LookupDispatchAction.
I found Struts Tip #5
Ryan:
No, I don't think internationalization is broken -- I've tested it in my
app under 1.12b. Do you have a tag like.
html:html locale=true
.in your JSP?
-Original Message-
From: Ryan Cuprak [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 2:53 PM
To: Struts
requests to the ajp13 worker. I've done
some light testing, and there do not seem to be any adverse side effects
to including this mapping, but I do have to caution everyone that I
haven't yet done through testing.
-Original Message-
From: Charles McClain [mailto:[EMAIL PROTECTED]]
Sent
manage transfer of a field that I want hidden
on the JSP? -- hiding an artificial key seems like a routine thing to
do, and I apologize for raising the question here, but I've done at
least some homework and can't find anything definitive.
Charles McClain
Phone: 603.659.2046
email:[EMAIL
(acceptably, I hope).
Charles McClain wrote:
All:
I made the original post in this thread, and thanks to the replies I
received, was able to implement FORM-based CMA in my application.
As you can see in the message below, I was left with one residual
problem: Although FORM-based CMA worked fine
Juan:
Yes. I cribbed some code from the Struts example app that was reworked
for Struts 1.12b. It appears below:
logic:messagesPresent
ul
html:messages id=error
libean:write name=error//li
/html:messages
/ulhr
* that I had Apache configured to pass everything through to
Tomcat, but obviously, I have something wrong in my Apache
configuration. I'll take a look at that in the near future.
Thanks again,
-- Charlie
-Original Message-
From: Charles McClain [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
the servlet specification itself.
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
Charles McClain
Phone: 603.659.2046
email:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto
To: Struts Users Mailing List
Subject: Re: Logout in a container-managed security environment
Charles McClain wrote:
Mohan:
I just finished setting up container-managed FORM-based authentication
and getting it working, based on advice from several people on this
mailing list. I'll pass
of ActionForm
HTH
Jin
- Original Message -
From: Charles [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 7:16 PM
Subject: [ActionForm] Extending existing ActionForm classes
Hi,
I got question about new actionform classes extending
to login again.
If he closes the browser, of course, he has to login again, but I'm
looking for the same kind of forced re-login behavior that the original
application-controlled login mechanism gave me.
Any ideas?
Charles McClain
Phone: 603.659.2046
email:[EMAIL PROTECTED]
--
To unsubscribe
, but
it still seems to be looking for a page by that name rather than
invoking the method.
Anyone have any ideas?
Charles McClain
Phone: 603.659.2046
email:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
I got question about new actionform classes extending existing actionform
classes. For example, I have this CreateUserProfileForm that has all the
fields for User Profiles, which I would like to use them in my new form
UpdateUserProfileForm. Is it possible that the UpdateUserProfileForm
-- or something kind of icky like that.
Thanks in advance,
Charles McClain
Phone: 603.659.2046
email:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 8:58 AM
To: Struts Users Mailing List
Subject: Re: Re-using JSP pages
Charles McClain wrote:
snip /
According to one of Ted Husted's tips, no problem; you can give a
different form-bean name to the same ActionForm and reference
, and I
can't figure out how . Can anyone help?
Thanks again in advance. You guys were very responsive before; I just
needed to phrase my question more simply.
Charles McClain
Phone: 603.659.2046
email:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
is stored in the request under the key
org.apache.struts.action.mapping.instance. The above code should help
you get the form bean's name and a reference to the bean itself.
chris
-Original Message-
From: Charles McClain [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 11:13 AM
a large number of simple JSP vs a small
number of complex ones, i'd recommend the former. If you haven't looked
into Tiles yet to help you manage your presentation, you might give it a
whirl--very cool stuff.
chris
-Original Message-
From: Charles McClain [mailto:[EMAIL PROTECTED
: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 3:55 PM
To: 'Struts Users Mailing List'
Subject: RE: Re-using JSP pages -- Follow-up
-Original Message-
From: Charles McClain [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 10:46 AM
To: 'Struts
Hi,
I'm utilizing the MessageResources class in a non-struts class.
Compiling it isn't an issue because the struts.jar is added in the
classpath. However when running on the servlet container i get the problem:
NoClassDefinitionFoundEror for org.apache.struts.util.MessageResources.
This problem
be the way. Any ideas?
TIA,
Charles
p/s I'm using Weblogic 7.0 and ServletExec 4.1
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-
- Original Message -
From: Charles [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 3:49 PM
Subject: [ExceptionHandler] NoClassDefFoundError:
org/apache/struts/action/ExceptionHandler
Hi,
I'm using declarative exception handling
greeting:
I'm sorry for this message, but really I cann't do it by mailing to :
mailto:[EMAIL PROTECTED]
for at least 30 times and WebMaster of Aparch.
Is the maillist administrator included in the maillist? I wish so.
Please do my fever!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
), his/her userid and prvious session object is still stored
in the hashtable and the next time he/she logs in the old session can be
retrieved and invalidated.
Hope this helps
Charles
- Original Message -
From: Cohan, Sean [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED
Installed the patched from your link and the example struts application
works fine now :)
Robert thanks alot for the help!
Charles
- Original Message -
From: Robert Taylor [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 9:34 AM
Subject: RE
on the net for ServletExec (although
there are help for Weblogic and JBuilder). Is there anyway around this or am
I missing something?
Thanks,
Charles
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
problems?
Thanks
Charles
- Original Message -
From: Charles [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 29, 2002 2:00 PM
Subject: Deploying struts-example (Struts 1.1) on ServletExec 4.1 -
MessageResources Nullpointer exception
Hi,
I have a question, for the struts example
(20020711) to get past other file
upload problems under weblogic 7.0.
Thanks
charles
if you don't
obtain what's expected.
You will need to add the following to the bottom (check the TLD for the
exact location) of the struts-config.xml file:
controller
processorClass=com.topdrawer.action.TDRequestProcessor
/controller
--
Charles E Brault
[EMAIL PROTECTED]
Where are we going
Thanks. I figured as much, but thanks for responding. I've officially given
up :)
charles
-Original Message-
From: Jeffrey Bonevich [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 6:56 PM
To: Struts Users Mailing List
Subject: Re: include a dynamically created page in my jsp
Web.xml:
servlet-mapping
servlet-nameaction/servlet-name
url-patterntiles/*/url-pattern
/servlet-mapping
Struts-config.xml:
action path=/tiles type=com.us.view.web.GetTileAction
/action
Any ideas?
tia
charles
] RequestProcessor - -Processing a 'GET' for path '/foo/bar'
[ERROR] RequestProcessor - -Invalid path /foo/bar was requested
So it appears the /tiles servlet mapping worked, and the action mapping is
failing.
Thanks anyway
charles
(I am not a lawyer, but often play one in bed)
method works fine. What I want to do is convert the servlet to an
action to take advantage of other features we have built into our
ActionServlet and Action class heirarchies.
Thanks
charles
?
JM
Although the OP wasn't interested in that, I am. Can this be done? Say get
the text out of a database, and have it be parsed/compiled/included?
Tia
charles
the answer is that you
don't. :)
Tia
charles
JM
P.S. Please forgive my stupidity, I am a lawyer ;)
I'll forgive you this one time :)
Is there a Struts compatible tag available for building a breadcrumb trail?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I'll just add that it's a shame to throw the baby out with the bathwater,
avoiding use of JavaScript altogether. Yes, the cross-browser issues are
real, for even reasonably substantial use. But there are lots of things one
can do that are simple yet supported in the oldest implementations of
I have successfully run the struts-example. The difference I can see right
now between your configuration of JBuilder and mine will be:
(1) I have installed nostruts.zip and another opentool extension in the
JBuilder6/lib/ext folder.
(2) I make everything always included in the webapp
Hi All,
I am new to Struts. What will be the best approach in using frames in a JSP file?
How should the struts-config.xml file be modified? Thanks in advance!
--Charles
Besides the recommendation below to use that particular code, the example
also points out that another solution (with whatever popup code you use) is
to simply refer to the form by relative reference rather than the form's
NAME, as it seems you wanted to do. For example, instead of using
Quick question,
Im using VA s Web Test Env and Im getting an error using a simple test
page from the IBM web site. Im still new to Struts so can someone let me
know if this is a simple mistake that Im making? The single page JSP and
full error message are following.
Message:
Hello,
Has anyone done any work with a table custom tag that can pull directly
from a TableModel class? The need for this stems from the fact that my table
columns are potentially dynamic both in number and content.
CEB
_
I seem to recall a
mention of DW extensions for 0.5does anyone know where
I can get such
extensions?
charles beckham
Iplanet 6.0 Application Server has war support..it is J2EE
certifiedIplanet Web Server will
Include a war deployment tool and support in version 5 due out shortly...
charles Beckham
-Original Message-
From: Paul Hendley - Sun Microsystems [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
89 matches
Mail list logo