Re: quick question : form

2001-07-16 Thread Jeff Trent
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,

Re: quick question : form

2001-07-16 Thread Jeff Trent
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,

Re: quick question : form

2001-07-16 Thread Jeff Trent
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,

Re: quick question : form

2001-07-16 Thread Jeff Trent
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

Re: quick question : form

2001-07-16 Thread Jeff Trent
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

Re: Report to Recipient(s)

2001-07-16 Thread Jeff Trent
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

Re: Problem w/ session id under iplanet web server

2001-06-26 Thread Jeff Trent
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

Re: HP Bluestone Struts Trailmap

2001-06-22 Thread Jeff Trent
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

Re: Struts and iPlanet

2001-06-15 Thread Jeff Trent
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

Re: Need help with updatable indexed properties.

2001-06-13 Thread Jeff Trent
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

Re: Can anyone help with solving the BACK button problem, in th e browser?

2001-06-08 Thread Jeff Trent
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

Re: Logic-Iterate not finding scope of Bean

2001-06-08 Thread Jeff Trent
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,

Re: making src contributions

2001-06-06 Thread Jeff Trent
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?

Fw: making src contributions

2001-06-06 Thread Jeff Trent
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

Re: Managing resource life cycle during request

2001-06-05 Thread Jeff Trent
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...

Re: Managing resource life cycle during request

2001-06-05 Thread Jeff Trent
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

Managing resource life cycle during request

2001-06-04 Thread Jeff Trent
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

Re: Managing resource life cycle during request

2001-06-04 Thread Jeff Trent
/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

Re: Managing resource life cycle during request

2001-06-04 Thread Jeff Trent
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

Re: Managing resource life cycle during request

2001-06-04 Thread Jeff Trent
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

Re: Grid Support in Struts

2001-05-31 Thread Jeff Trent
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

Re: Any hosting sites that use Struts?

2001-05-31 Thread Jeff Trent
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

Re: LIKE with PrepareStatement

2001-05-31 Thread Jeff Trent
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 ?;

Re: Sample HDML/Wireless Struts Application

2001-05-30 Thread Jeff Trent
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

Any hosting sites that use Struts?

2001-05-30 Thread Jeff Trent
Anyone know of a hosting facility that offers Java web hosting + Struts?

Re: Question on the ActionForm design for dynamic data?

2001-05-30 Thread Jeff Trent
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

Re: Potential Security Flaw in Struts MVC

2001-05-30 Thread Jeff Trent
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

Re: Donating Xml Configurable Character filter

2001-05-23 Thread Jeff Trent
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,

Re: Question on the ActionForm design for dynamic data?

2001-05-22 Thread Jeff Trent
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

Re: Question on the ActionForm design for dynamic data?

2001-05-20 Thread Jeff Trent
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() {

Re: Indexed Grid Representation on a Form

2001-05-17 Thread Jeff Trent
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

Re: Indexed Grid Representation on a Form

2001-05-17 Thread Jeff Trent
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.

Re: page flow control

2001-05-16 Thread Jeff Trent
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

Can a Multibox be wired to use Vectors instead of String[]

2001-05-16 Thread Jeff Trent
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

Re: is it a bug of CheckboxTag

2001-05-15 Thread Jeff Trent
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

Re: iterate header/footer

2001-05-14 Thread Jeff Trent
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

Re: Checkbox Arrays

2001-05-10 Thread Jeff Trent
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

Initialization of Request-Scoped Objects

2001-05-10 Thread Jeff Trent
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

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-09 Thread Jeff Trent
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

Bug in order of error presentment (html:error)

2001-05-09 Thread Jeff Trent
In Form.Validate() { ... if (getCustomerContactName().length() = 1) errors.add("customerContactName", new ActionError("error.customercontactname.required")); if (getCustomerContactPhone().length() = 1) errors.add("customerContactPhone", new

Re: Bug in order of error presentment (html:error)

2001-05-09 Thread Jeff Trent
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

Re: Bug in order of error presentment (html:error)

2001-05-09 Thread Jeff Trent
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

Application Scoped Object Initialization

2001-05-08 Thread Jeff Trent
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.

Re: Application Scoped Object Initialization

2001-05-08 Thread Jeff Trent
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

Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
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"

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
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

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
(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

Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
: 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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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:

Suggestion for Inclusion in HTML Bean

2001-05-07 Thread Jeff Trent
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...

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
: 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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
. 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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Jeff Trent
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

Re: locating .properties files

2001-05-03 Thread Jeff Trent
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]'

Re: Override the presentation of html:errors

2001-05-02 Thread Jeff Trent
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

What is the suggested style for including maxlength size parameters in a form

2001-05-01 Thread Jeff Trent
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?

Override the presentation of html:errors

2001-05-01 Thread Jeff Trent
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

How to embed bean:message within a template

2001-04-30 Thread Jeff Trent
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

Looking for struts sample demonstrating multi paged wizards

2001-04-26 Thread Jeff Trent
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