This is a test message, please ignore.
- Original Message -
From:
Rama
KrishnA
To: [EMAIL PROTECTED]
; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:34 PM
Subject: Re: quicK question : form
Thanks much Melissa. But, i want to know why it
does like this,
This is a test message, please ignore.
- Original Message -
From:
Rama
KrishnA
To: [EMAIL PROTECTED]
; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:34 PM
Subject: Re: quicK question : form
Thanks much Melissa. But, i want to know why it
does like this,
This is a test message, please ignore.
- Original Message -
From:
Rama
KrishnA
To: [EMAIL PROTECTED]
; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:34 PM
Subject: Re: quicK question : form
Thanks much Melissa. But, i want to know why it
does like this,
Test message ... please ignore.
- Original Message -
From:
Jeff
Trent
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:46 PM
Subject: Re: quick question : form
This is a test message, please
ignore.
- Original Message -
From
Test message ... please ignore.
- Original Message -
From:
Jeff
Trent
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:46 PM
Subject: Re: quick question : form
This is a test message, please
ignore.
- Original Message -
From
What is this message mean?
- Original Message -
From: Paladin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:46 PM
Subject: Report to Recipient(s)
Incident Information:-
Originator:Jeff Trent [EMAIL PROTECTED]
Recipients:[EMAIL PROTECTED]
Subject
o "*.do". This fixed the problem. Note: rules.properties didn't
seem to work either since the servlet is running from tomcat, not
iPlanet.
-jeff
- Original Message -
From:
Jeff
Trent
To: [EMAIL PROTECTED]
Sent: Tuesday, June 26, 2001 10:57
AM
Subject: Problem
This page did not display for me. Not a 404, but no content shown.
- Original Message -
From: BONAIUTO,JAMES (HP-NewJersey,ex1) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 22, 2001 4:46 PM
Subject: HP Bluestone Struts Trailmap
I will be adding to HP Bluestone's Struts
Matt,
Just curious, how have you faired with struts and IAS in general?
- jeff
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 15, 2001 9:20 AM
Subject: Struts and iPlanet
Has anyone been successfully able to get the struts-template
Try looking in www.mail-archive.com under struts-user for the keywords
Grid or Matrix. You'll find some material there.
- Original Message -
From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED]
To: struts-user@jakarta. apache. org (E-mail)
[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001
Another approach I would recommend to solve this problem (haven't tried it
though), would be to check the request referer. If it is an empty string
then the user either clicked refresh or they typed in the URL into the
address field on their browser.
- Original Message -
From: William
Title: Logic-Iterate not finding scope of Bean
I would suggest keeping a hidden property on your
form that keeps the state that you are in (ie., 1stTimeQuery, or
useQueryResults)...
- Original Message -
From:
Luna, Kat
To: [EMAIL PROTECTED]
Sent: Thursday, June 07,
where others can try it out.
The committers can then [VOTE] as to whether it should be added to the
public codebase.
Jeff Trent wrote:
How does one go about proposing / making struts src contributions for
next release?
Nevermind, I found it. Very anticlimatic.
- Original Message -
From: Jeff Trent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 10:02 AM
Subject: Re: making src contributions
Thanks. BTW, how does one achieve the envious title of commiter :^)?
- Original
you into the scriplet zone.
Jeff Trent wrote:
Well, it looks to me that short of overriding ActionServlet.process(),
there
is no way one can clean-up resources after the page has been rendered...
on Garbage collection in Java, you may not like its
behaviors, but its all you get. Also, I would never suggest that you rely
on
garbage collection to free, non-memory resources, like db-handles.
-- Levi
-Original Message-
From: Jeff Trent [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
I was wondering how other people deal with physical
resource objects (eg. db result sets, etc.) during a request. Before
struts, I use to allocate the resource, call request.setAttribute() with the
resource object, call request dispatcher (to do jsp presentation), then clean up
the resource
/struts/
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/
Jeff Trent wrote:
I was wondering how other people deal with physical resource objects
(eg. db result sets, etc.) during
and
garbage collected. Here we would be talking about standard collections
of mainly Strings and maybe a few primitive types. Anything kinky would
be handled in the action. The view gets everything handed to it on a
silver platter.
Jeff Trent wrote:
Ted,
Just because the objects are held
Well, it looks to me that short of overriding ActionServlet.process(), there
is no way one can clean-up resources after the page has been rendered...
- Original Message -
From: Jeff Trent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 04, 2001 10:54 PM
Subject: Re: Managing
I guess you didn't look very hard. There are examples as early as yesterday
in the archives.
- Original Message -
From: du Clos, John [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 31, 2001 9:19 AM
Subject: Grid Support in Struts
We currently have a business requirement
Struts web apps hosted on www.aoindustries.com for several months
now, and am happy with the service. They provide the entire Jakarta project
software suite. They are a small shop, but have very friendly, competent tech
support.
Jeff Trent wrote:
Anyone know of a hosting
Ted,
I am assuming your query uses bind variable and you already know that
offsets start with 1, and not 0. So besides that, the way I would get
around this is by doing something like this:
searchStr += % + searchStr + %;
String strSql = select x from y where y.z like ?;
Never wrote a wireless app, but the code looks real nice...
- Original Message -
From: Richard Backhouse [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 7:55 PM
Subject: Sample HDML/Wireless Struts Application
For anyone who is interested, I have put together a
Anyone know of a hosting facility that offers Java
web hosting + Struts?
Here are two examples:
logic:iterate id=product name=products
html:multibox property=productsInstalled
bean:write name=product property=id/
/html:multibox
bean:write name=product property=name/br
/logic:iterate
I've sure my ears will be ringing at home that night :^)
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 31, 2001 1:01 AM
Subject: Re: Potential Security Flaw in Struts MVC
On Mon, 7 May 2001, Jeff Trent wrote:
Ah
I disagree with this proposal. Your so called disallowed characters could
be perfectly reasonable in certain contexts. For example, question marks
are perfectly valid for capturing dailog. Parens are perfectly valid when
capturing phone numbers, etc.
There is some merit to your basic idea,
Title: RE: Question on the ActionForm design for dynamic data?
Yes Yes. While the form will be
automatically populated, you will, however, need to write your own validation
for the form collection(s).
- Original Message -
From:
Joyce Tang
To: 'Jeff Trent
'
Sent
Title: Question on the ActionForm design for dynamic data?
(1) Have a Vector / Collection of contributors (ie.
getContributors()) belonging to your form. Inside that function, check to
see if you need more rows by using code similar to the following:
public Vector
getCustomerContacts()
{
tr tdinput
type='text' name="customerContact[%= i++ %].contactName" value="%=
((com.mydomain.project.CustomerContact)customerContact).getContactName()
%"/td
/tr /logic:iterate
- Original Message -
From:
Jeff
Trent
To: [EMAIL PROTECTED]
Sent: Thursday, Ma
What really is needed is a new html tag called grid or something that
handles this more gracefully. Using the iterate tag seems to be a waste
since I'm not really using it for anything other than a counter placeholder.
I know its a departure from standard HTML form types but who the hell cares.
Do search for Wizard in mail-archive.com under struts-user. You'll find a
few examples.
- jeff
- Original Message -
From: Nathan Coast [EMAIL PROTECTED]
To: struts-user [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 10:09 AM
Subject: page flow control
Hi,
In the site I'm
I'd like my getters and setters on the form use
Vectors instead of string arrays. Can this be accomplished? When I
tried I got the following exception:
Error: 500
Location: /csr/admin/seq_participant.doInternal Servlet
Error:javax.servlet.ServletException: BeanUtils.populate
at
BTW, I found that this type of logic (forward) doesn't work if you are using
templates. I needed to resort to redirects.
- jeff
- Original Message -
From: Jim Richards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 15, 2001 1:52 AM
Subject: Re: is it a bug of CheckboxTag
Title: iterate header/footer
Mike,
You should use the logic:present ...
Tag. For example:
logic:present
name="org.apache.struts.action.ERROR"...table
header...
/logic:present
See the mail archives for more info.
- Original Message -
From:
Perham, Mike
To: '[EMAIL
I don't know if this is the right thread. But I just got multibox working
in my app (including preservation of checkbox entries between forwards).
Let me share with you what I have to see if this helps:
in Jsp: (cleanSolutionAreaTypes in an Application-scoped Vector)
tr
td
When myAction.do is called, I have a chance within
reset() to initialize my request-scoped objects. However, if myAction.jsp
is called instead then I can't seem to find a way to get initialized. Are
there any methods called in my Action class when the .jsp file is invoked
instead of the .do
Errors Are Encountered
Use 'validate="false"' as an action attribute to
prevent a return to the input page after a failed validate. Struts will
continue on to the action, and you'll need to decide what to do
there.
- Original Message -
From:
Jeff
In Form.Validate()
{
...
if
(getCustomerContactName().length() =
1)
errors.add("customerContactName", new
ActionError("error.customercontactname.required"));
if
(getCustomerContactPhone().length() =
1)
errors.add("customerContactPhone", new
think the html:error is using an Iterator.
there is no guarantee of ordering in an Iterator. Correct me if i am
wrong.
cheers,
Amar..
-Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent:
Wednesday, May 09, 2001 4:47 PMTo: [EMAIL PROTECTED]Subject:
Bug
of
properties is typical.
--
Martin Cooper
- Original Message -
From: Jeff Trent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 09, 2001 1:46 PM
Subject: Bug in order of error presentment (html:error)
In Form.Validate()
{
...
if (getCustomerContactName
What is the suggested method for singleton,
application scoped object initialization? Where how does it
happen?
I want to create a singleton containing shared
cached lists to be used in populating html:options with.
Thanks.
Nevermind, I found a solution in the Tomcat
archives regarding this. I created a dummy servlet that initializes my
singletons.
- Original Message -
From:
Jeff
Trent
To: [EMAIL PROTECTED]
Sent: Tuesday, May 08, 2001 10:51
AM
Subject: Application Scoped Object
When validate() returns an error collection, the
framework takes me back to the input page (page1). How do I override
this? I have a multi-page input wizard as shown below. I'd like to
stay on the page that resulted in the error instead of going back to page
1.
action
path="/someWizard"
wizardpageX.jsp
file to display as the body of the template.jsp. If there aren't any errors, my Action object
will update the page property to the page we want to go and forward control
back to wizard.jsp.
James Hicks
-Original Message-From: Jeff Trent
[mailto:[EMAIL PROTECTED
(referrer);
- Original Message -
From:
Jeff
Trent
To: [EMAIL PROTECTED]
Sent: Tuesday, May 08, 2001 5:12
PM
Subject: Re: Override Input Form / JSP
when Errors Are Encountered
That doesn't work - that is my problem. I
don't have
I may be wrong about this (only been working w/
Struts for a week now). But I do see a potential security flaw in struts
that I would like to hear from others regarding.
Consider a simple set of struts classes that
represent a user in a system. You would probably have classes that look
: Potential Security Flaw in Struts MVC
Jeff,
Are you asking if book marking a URL that contains query parameters might
be
a security risk?
Anthony
-Original Message-
From: Jeff Trent [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 8:37 AM
To: [EMAIL PROTECTED]
Subject
Curt,
I don't dispute what your saying. However, to the casual struts user this
fact may be easily overlooked and exploited by a hacker.
- jeff
- Original Message -
From: Curt Hagenlocher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 07, 2001 12:10 PM
Subject: RE:
Can I suggest to any Struts developers listening
that a new form tag called "static" be added which will simply return the
current form value as static text...
the user would
never be in the session on the target server?
-Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent:
Monday, May 07, 2001 11:37 AMTo: [EMAIL PROTECTED]Subject:
Potential Security Flaw in Struts MVC
I may be wrong about this (only been working w
: Jeff
Trent [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 9:50 AM To: [EMAIL PROTECTED]
Subject: Re: Potential Security Flaw in Struts MVC
That is not what my thinking was. But that could be an
issue also. My concern is someone intentionally
and maliciously creating
I like it! I second this request totally! I too have been involved with
large scale development projects and I can relate closely to what you are
saying Chris. A simple implementation could be a new derivation off of
Action called SecurityAction with an abstract method called validate (not
class into the classpath of
the
server since all of the code runs server side?
Jeff Trent wrote:
That is not what my thinking was. But that could be an issue also. My
concern is someone intentionally and maliciously creating a form to
supply
more parameters than originally intented
This is a bit off subject but since I'm in commentary-mode today I'll also
mention it.
I need to give some background here first:
As I mentioned in an earlier message, I worked on a fairly large web project
(several million hits per day, tens of thousand user sessions per day). The
app runs on
.
Pete
Jeff Trent wrote:
No, I can write a form locaally and have the action run on your
server...
- Original Message -
From: Peter Alfors [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 07, 2001 1:56 PM
Subject: Re: Potential Security Flaw in Struts MVC
Wouldn't
Ah, this maybe a problem in the way I've adapted
Struts. I reflect all UserForm method calls directly into the contained
User object owned by the UserForm. So for instance, I have
public class UserForm extends
ActionsForm
{
protected User
user;
...
public String
getName()
{
return
This is open source. Anyone is welcome to jump in and join the
management by submitting code.
Jeff Trent wrote:
Therefore, if I haven't reached my quota today, I'd like to suggest to
management that there is a bean property (or something) that results in
form
fields being propogated accross
Title: RE: locating .properties files
I have the same problem ... I need to keep the
properties file in two places or else something gets wacked. Haven't had
the patience to research it any further...
- Original Message -
From:
Jason
Chaffee
To: '[EMAIL PROTECTED]'
ation of html:errors
The best way to handle errors is to name them
separatly and then access each one indiviually in your jsp. See the
Java docs for more info on error handling. It covers this approach
quite well.
-Original Message-From: Jeff Trent
[mai
For example,
html:text property="firstName" size="%=
com.mydomain.personform.firstNameSize %" maxlength="%=
com.mydomain.personform.firstNameMaxLength %"/
I find this style to be somewhat
objectionable. Is there a better way?
Short of writing my own taglib(which I'd like
to avoid if I can), how does one iterate over the errors collection to present
them in a different way. Any examples would be helpful...
Thanks,
Jeff
Newbie here. Just wondering how to accomplish
this using templates.
template:put name='title'
content='bean:message key="app.title"/' direct='true'
/
Can't seem get the bean to evaluate the message
text... Suggestions? I tried direct on off but no
luck.
Thanks,
Jeff
Can any one point me the right direction for
finding a sample app built on struts that demonstrates multi-paged wizards
supporting previous,next, finish type actions for each page along the
way?
Thanks,
Jeff
65 matches
Mail list logo