Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Ted Husted
Feel free. If you would like to document it, I'd be happy to find a place for it in the users guide. Calvin Yu wrote: I think that this potential exploit should probably be thoroughly documented, along with potential workarounds. Last thing we want is to have Struts being tagged as being

Re: Potential Security Flaw in Struts MVC

2001-05-07 Thread Ted Husted
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: Potential Security Flaw in Struts MVC

2001-05-07 Thread Ted Husted
Feel free to submit some code. Jeff Trent wrote: I like it! I second this request totally!

Struts in Action!

2001-05-11 Thread Ted Husted
The Struts application framework is running an annual auction for a public broadcasting station at http://data.wxxi.org/wxxi-gavel/ The auction runs through next week, and the code will be released as open source thereafter. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Ted Husted
I'm using a standalone container, and I find that everything works transparently (only one session) if I resort to hard coding the scheme. Right now, I'm doing this in the Struts-config. forward name=standard path=http://data.wxxi.org/wxxi-gavel/register/logon.jsp/ forward name=secure

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Ted Husted
ActionForward actionForward = new ActionForward(url,true); The forward here is a bit of a misnomer. Using true forces a redirect. Ian Kallen wrote: Are you saying that an http request can be forwarded to an https request? That doesn't make sense; if the browser doesn't have an https

Re: textarea and wrap

2001-05-12 Thread Ted Husted
The Struts Action works through introspection. It doesn't know (or care) whether the value in a form was rendered by a Struts custom tag or not. This means if you use a standard textarea tag in your form, and give it a name that matches a property in your form bean, Struts will use that attribute

Re: Determining odd-even table rows

2001-05-12 Thread Ted Husted
Many people like the pager tag at jsptags.com. http://jsptags.com/tags/navigation/pager/ For more on alternating colors, see http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/36/topic_id/207/question_id/821 though most of

Re: REPOST: HOW TO: check for null property value

2001-05-12 Thread Ted Husted
that the communication is free of errors, virus, interception or interference. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Determining odd-even table rows

2001-05-13 Thread Ted Husted
direct support in Struts for RowSets would be a Very Good Thing. If we can enhance the HTML tags to work as easily with RowSets as they do with ActionForm beans, we could eliminate a layer of classes in many cases. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical

Re: Determining odd-even table rows

2001-05-13 Thread Ted Husted
That sounds cool, Bill. I'm making extensive use of RowSets now myself. Right now, I pump the RowSet into a bean or collection of beans and pass that to iterate or a form. I use a custom constructor for the bean with a parameter for each property so that I can pass everything once. On the 1.1

To SSL and back again

2001-05-12 Thread Ted Husted
Craig R. McClanahan wrote: You can calculate an absolute URL for this web app, based on things like request.getServerName(), request.getContextPath(), and so on. So, one way to do this would be to have an action that calculated the new absolute URL, wrapped it in a new ActionForward with the

Re: Struts and Sun's J2EE Patterns

2001-05-23 Thread Ted Husted
be appreciated. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Production uses of Jakarta STRUTS 1.0

2001-05-27 Thread Ted Husted
Deadman, Hal wrote: The links below are from http://www.husted.com/about/struts/. Also, http://data.wxxi.org/wxxi-gavel which I just added to the list. We've been running an online auction for several weeks now, and it will continue through the end of June. The source for this project

Re: SV: Any hosting sites that use Struts?

2001-05-30 Thread Ted Husted
Here are two other Java hosting sites: Imagine Internet Services - www.imagineit.com Web APP Cabaret - www.webappcabaret.com (free, Tripod-style ISP) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about

OT: LIKE with PrepareStatement

2001-05-31 Thread Ted Husted
way? -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Using Javascript to cancel submit?

2001-06-01 Thread Ted Husted
the browser sees. Struts isn't otherwise involved in how your page renders. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Redirecting to secure server (ie from http:// to https://)

2001-06-01 Thread Ted Husted
Mok -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Proposed feature: Bean property transformations

2001-06-01 Thread Ted Husted
to the Commons ... I'm cross-posting this to Struts user in case someone can suggest a package that already provides this functionality. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Ron Smith wrote

Re: Proposed feature: Bean property transformations

2001-06-01 Thread Ted Husted
was accessed for presentation, perhaps via a bean:writeTransform tag. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Strut by Strut

2001-06-03 Thread Ted Husted
patterns discussed here would work well with the way people are now using EJBs. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: visual changes based on state

2001-06-04 Thread Ted Husted
You can either 1. Route users to different pages based on their state, or 2. Deliver the current state to the presentation layer in the form of JavaBeans that the Struts logic tags can test. logic:present name=logon ... -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software

Re: Problems with struts and resin

2001-06-04 Thread Ted Husted
I haven't had this problem myself. I've kept busy Struts applications in play for several weeks without any unscheduled downtime under Resin. Matthew Heaton (Software Engineer) wrote: I'm trying to deploy a couple of struts apps on resin which I've deployed successfully on Weblogic and on

Re: Newbie to struts - jdbc/dbtags

2001-06-04 Thread Ted Husted
/ActionForm or can i create a package above WEB-INF as at the moment i am creating/modifying examples from the taglib's and packaging them under mt Struts-bbnpa (my re-named struts app's. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463

Re: Multipage forms and validation

2001-06-04 Thread Ted Husted
When the time comes, David's Validation servlet would get my vote. Unfortunately, we need to get 1.0 out the door before voting on anything like this. Beta 3 is counting down now, so we only talking a couple of weeks now. In any event, what features Struts, or any Jakarta product, will offer in

Re: Managing resource life cycle during request

2001-06-04 Thread Ted Husted
Following the rendering? By Struts? None. It's a straight JSP (or other view technology, like a Velocity template). Generally, things go into the request, and are disposed when the request is disposed. There's an enhancement to the iterate tag in the works that uses a RowSet directly.

Re: Managing resource life cycle during request

2001-06-04 Thread Ted Husted
I doubt that overriding ActionServlet.process() would work. The controller sends back the response, and it's done. It's then up to HTTP to deliver the view, usually a JSP. Any clean-up routine would have to be the responsibility of the view, which puts you into the scriplet zone. Jeff Trent

Re: newbie to struts - confirm hierachy( packages - webapps)!!

2001-06-05 Thread Ted Husted
Some people like to keep the source Java files at a separate location, and then have Ant copy them over to the classes directory, but mixing the class and java files in the same folder works too. Personally, when using a package hierarchy for my classes, I tend to just name things

Re: Newie question

2001-06-05 Thread Ted Husted
the result to another JSP for display. [JSP] - [ACTION] - [JSP] ... -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Torsten Terp wrote: Hi, Im I have just started using Struts and the idea

Re: Action before loading a page

2001-06-05 Thread Ted Husted
should be able to request an Action instead. Your tag might also include the database ID as part of the request (/Action.do?ID=XXX), so you don't have to bother with the session. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http

Re: Problems with logic:equals tag, session timeouts

2001-06-05 Thread Ted Husted
. The ProcessSession idea is interesting, but any discussion of this should be moved to Struts-Dev. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Andreas Prohaska wrote: Hi, during

Re: Please help with logic notPresent

2001-06-05 Thread Ted Husted
Be sure you've included the logic tld. The I am here would display regardless, since the browsers ignore tags they don't understand. Alex Colic wrote: Hi, I have an object in the session that if it is not there I want to display and error msg to the user. My error code is as follows:

Re: How to remove history list?

2001-06-05 Thread Ted Husted
Alas, it is not permitted. SHROM,BENJAMIN (HP-USA,ex1) wrote: Hello, Does anybody know how to remove history list from browser using JavaScript? Benjamin Shrom.

Re: Proposed feature: Bean property transformations

2001-06-05 Thread Ted Husted
method to retrieve the native Property type (and then perhaps perform any business logic validations). It's just a matter of whether you prefer converting the data in the Action or in the ActionForm validation method. A reuseable helper class could be implemented in either case. -- Ted Husted

Re: input in XML config

2001-06-05 Thread Ted Husted
Could you create these request scope beans as properties of the ActionForm? David Noll wrote: Max, I don't know if it's the official way to do it, but in my ActionForm's validate() method, I call mapping.setInput() with the full path of the original Action. An important thing to note is

Scratch RowSets

2001-06-06 Thread Ted Husted
is to create a MetaDataRowSet object and pass that to a new RowSet (instead of making the SQL call), and then see if I can insert a row. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: ActionForm/Action with edit mode

2001-06-06 Thread Ted Husted
yet? TIA. JohnH _ Get your free E-mail at http://www.ireland.com -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Scratch RowSets

2001-06-06 Thread Ted Husted
Good reference, Steve. So, given a CachedRowSet, it's easy to snag a data set and puruse it at your leisure, since the database connection is automatically closed by the RowSet. I've been using them for retrievals extensively, and they are an absolute pleasure to use. CachedRowSets are also

Re: Problem with nested html:form

2001-06-06 Thread Ted Husted
Struts doesn't have anything to do with it at this point; it's all up to the client (e.g. browser). The client eventually sends a request to an Action, and then Struts can go to work again. The only option when HTML doesn't meet your needs is to move to an applet. Marc Eckart wrote: I do

Re: Moving from Struts 1.0b1 to Struts 1.0b3

2001-06-06 Thread Ted Husted
Could you subclass the Actions so that they can reuse the validation code? Be sure to register this at Bugzilla if you believe it is a bug. Graeme Miller wrote: Unfortunately in my case the controller is not reused but the form bean is, meaning if I was to do this validation in the controller

Re: Nested logic:iterate tags ServletExec

2001-06-07 Thread Ted Husted
Be sure to report this to your vendor; people are starting to use Struts as a compatibility test of their containers with the specifications ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts

Re: Problems with CSS and TEMPLATE !!

2001-06-07 Thread Ted Husted
This doesn't seem to match what was given in the other message. I believe the other cited a /tlds/ folder. Chuck Amadi wrote: Hi this is what's in my xml file beaneath /webapps/struts-bbnpa(myapp)/WEB-INF/xml taglib taglib-uri/WEB-INF/struts-template.tld/taglib-uri

Re: Scratch RowSets

2001-06-07 Thread Ted Husted
Ted Husted wrote: Now, the next step is to create a RowSet from scratch to insert a new record to a new table. Given this, there doesn't seem to be any reason to have a seperate value object bean for a data set that is coming from or going to a persistent store. In case anyone is interested

Re: ACtionError Issues

2001-06-07 Thread Ted Husted
()) { saveErrors(request, errors); saveToken(request); return (new ActionForward(mapping.getInput())); } I need to write out errors if the user has not filled in all the items. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software

Re: problem with invoking struts-template!!

2001-06-07 Thread Ted Husted
gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: FW: Scope of the form

2001-06-07 Thread Ted Husted
1. Yes. Using the standard forward or redirect Servlet services. 2. It is forwarded to the JSP or Action specified by the input property. 3. The form is disposed when the request is disposed, which would happen after the JSP was rendered. Joyce Tang wrote: -Original Message-

Re: Scratch RowSets

2001-06-07 Thread Ted Husted
I've seen the same problem with updating via the CachedRowSet, but had been blaming MySQL's lack of transaction support (with the default tables at least). As a workaround, I'm using PreparedStatements for update/insert/delete but drawing the data from the RowSets to avoid defining another

Re: Is this possible with Struts?

2001-06-07 Thread Ted Husted
http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/36/topic_id/207/question_id/821

Re: FW: Scope of the form - TED

2001-06-07 Thread Ted Husted
I don't believe that there is a reliable way for Struts to determine dynamically where a submit actually started, since things can get passed around. There is history information in the request, but that can be iffy. If you want that behaviour, you should be able to script that through the

Re: Can I have NO action?!

2001-06-07 Thread Ted Husted
If you truly don't need the Action to do anything, you might be able to specify the JSP as the target for your form's submit Action. If you did use an Action, it would return an ActionForward to the JSP, which is its main purpose. An empty perform() is not permitted since it must return an

Re: error regarding invoking css from struts-template

2001-06-08 Thread Ted Husted
There is a sample Web app that demonstrates how to use the struts-template tags, but you don't need to deploy that with your applicaton. Struts-template is one of the custom tag libraries, like bean, html, and logic. All you just need is the stuts-template.tld, same as any of the others. The

Re: input in XML config

2001-06-08 Thread Ted Husted
. ActionForm validation is great for simple, domain-type validations. But any validation that causes a problem here should be performed in the Action instead where there is more elbow room. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463

Re: Hidding .jsp files

2001-06-08 Thread Ted Husted
You might try setting validate=false in the action mapping. Mikkel Bruun wrote: Hi Craig, A blast from the past...I believe this post is a month old... Anyways...I see your point, but consider this... If I only refered to the functionaly (pages, actions whatever), I would have the

Re: Struts Beta 03 Build Problem

2001-06-08 Thread Ted Husted
Did you build Ant from the source and include the optional package? My recollection is that TraXLiason is not included in the binary distribution. McLure, David wrote: Hello Oleg, I tried this on both linux as well as NT, but unfortunately I still get the same error. I even tried adding

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

2001-06-08 Thread Ted Husted
It's not wrong to have a form in the session context, so long as it is disposed in the normal course; it's just a convenience that you do not want to overuse. Dudley Butt@i-Commerce wrote: yes, but this is a form that is being filled in like a wizard type of thing, i need the form to be

Re: Scratch RowSets

2001-06-08 Thread Ted Husted
, so that all package's programtic settings are all together.) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: reference input page from inside action?

2001-06-08 Thread Ted Husted
extra state checking inside action, and if that fails, to forward back to input. The explicit forward mapping is fine, but it would seem more simple if input was a default mapping. Any tips or pointers would be much appreciated! Thanks, Seth -- Ted Husted, Husted dot Com, Fairport NY USA

Re: reference input page from inside action?

2001-06-08 Thread Ted Husted
()); We are using mapping.findForward() in all cases (that a struts-config mapping exists). return (new ActionForward(mapping.getInput())); -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about

Re: struts-config.xml question

2001-06-08 Thread Ted Husted
action path=/insertQuestion type=com.companyname.actionmap.InsertQuestionAction name=questionForm scope=request validate=false forward name=success path=/strutstest.jsp/ /action should be all you need. -- Ted Husted, Husted dot Com

Re: Scratch RowSets

2001-06-08 Thread Ted Husted
Oleg V Alexeev wrote: So I can place several struts-config sections to the config file and all stuff will be parsed. Is it right? Yes. Are there any differences between file with one big section and file with several sections in case of whole content of such files is identical? A

Re: Scratch RowSets

2001-06-08 Thread Ted Husted
Just as an aside, Oleg: When I use RowSets as value object beans, the type is determined by the JDBC metadata. I've been putting some wrappers around that so the properties have ordinary getters and setters. I see that BeanFactory includes code to create tables, but what about reading tables

Re: ActionForm/Action with edit mode

2001-06-08 Thread Ted Husted
input=/WEB-INF/jsp/donor/Form.jsp /action This way you don't have to check for an add request for each form type. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: struts-config.xml question

2001-06-08 Thread Ted Husted
on the apache site, I have only found www.husted.com , which has lots of useful tips. Any others out there? -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Pre populate

2001-06-11 Thread Ted Husted
/jsp/setup/Form.jsp parameter=post forward name=success path=/WEB-INF/jsp/account/setup/View.jsp/ /action In your Action: String task = mapping.getParameter(); // handle task for pre or task for post // ... // ... return (mapping.findForward(success)); -- Ted Husted

Re: ActionForms for read-only data??

2001-06-11 Thread Ted Husted
in the form, then it will be reset, and your validation has to cope with that. One caveat: ActionForms are not meant to be a panacea for the presentation layer. There are often other JavaBeans in play on this layer, with ActionForms being specialized for use with HTML forms. -- Ted Husted, Husted dot Com

Re: difficulty with logic:forward in template

2001-06-11 Thread Ted Husted
The template is flushing the write buffer, and you can't redirect once the browser starts writing to the screen. Tom Miller wrote: I'm trying to use logic:forward in a .jsp file that is used in a template (via template:put). Apparently this is problematic, as I get the following exception

Re: Handling Multipart forms (sort of Wizard)

2001-06-12 Thread Ted Husted
step in Action String step = mapping.getParameter(); // .. analyze form, if needed, and route to next step -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ [EMAIL PROTECTED] wrote: Hello

Re: ActionForms for read-only data??

2001-06-12 Thread Ted Husted
Struts tries to recycle ActionForm beans between requests. Perhaps Struts is not creating a new bean for the next request, but recycling the old one by calling reset(), and so the nested beans are being set to null. Michael Mok wrote: Hi Ted Since you mentioned about this. I have tried a

Re: Struts Questions

2001-06-12 Thread Ted Husted
,property0); values.updateString(property1,property1); values.updateString(property2,property2); values.updateString(property3,property3); } The helper class can then expose the properties to the EJB, or other data access object, in their native type. -- Ted Husted, Husted

Re: General Struts J2EE question

2001-06-13 Thread Ted Husted
with one sweep with search and replace. (At least until I get around to writing a real code generator!) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Kris Vandenberk wrote: Hi, I work

Re: General Struts J2EE question

2001-06-13 Thread Ted Husted
!) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Kris Vandenberk wrote: Hi, I work in a company where 90% of all applications being developed are mostly data-entry kinda

Re: Type conversions - issues on where to do them

2001-06-13 Thread Ted Husted
validator is doing it's job, the conversions should not fail. Personally, I let the RowSets do most of my type conversions for me, which happens within the Action. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com

Re: Type conversions - issues on where to do them

2001-06-13 Thread Ted Husted
;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Re: Type conversions - issues on where to do them

2001-06-13 Thread Ted Husted
Jonathan Asbell wrote: As we are both being nightowls in the same timezone, let me continue with this. We are using a Broker. So, in my case each Action would call the Broker, which is our link to the enterprise layer. Also, if the business object rejected the data, as you said, than it

Re: Server-side form validation - anything in STRUTS?

2001-06-14 Thread Ted Husted
that the String can be converted to a native type. And then perform range validations in the Action, which may need to reference the business logic tier. The actual data-type conversion can be done anywhere along the way. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical

Re: Accessing session attributes

2001-06-14 Thread Ted Husted
accessor). -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ James Howe wrote: This is probably a stupid question, but here it goes. I have a handful of string values that I'm storing in the session

Re: Multiple Forwards

2001-06-14 Thread Ted Husted
You could start by adding a method to a base class for your application that would append a tag according to the browser detected, and then use this scheme: forward name=ie_success path=/ie/test.jsp/ forward name=ns_success path=/ns/test.jsp/ forward name=wap_success

Re: Having problems passing more than one parameter with html:link tag

2001-06-14 Thread Ted Husted
I think you would need to use a map here. http://jakarta.apache.org/struts/struts-html.html#link Normally, the hyperlink you specify with one of the attributes described in the previous paragraph will be left unchanged (other than URL rewriting if necessary). However, there are two ways you

Re: Other Frameworks?

2001-06-14 Thread Ted Husted
Have you seen this: http://barracuda.enhydra.org/cvs_source/Barracuda/docs/landscape.html Steven Leija wrote: Hey All, I was asked to evaluate java frameworks that are available such as Struts, Turbine, Barracuda, Smartmode, Velocity, Expresso, Niggle, Tapestry, and Swinglets. Does

Re: How can I use an Iterator's value twice?

2001-06-15 Thread Ted Husted
=_blankbean:write name=row property=website filter=true//a/font /td /tr /logic:iterate -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Digico wrote: This problem loosely related to a couple of others

Re: nested logic:present tags do not short-circuit

2001-06-15 Thread Ted Husted
/logic:present /logic:present -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Steve Salkin wrote: Hi- Am I correct to say that in the case of nested logic:present tags, the false

Re: FormBeans necessary for every form

2001-06-15 Thread Ted Husted
properties. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Felix von Delius wrote: Is there any disadvantage in *not* having separate (Form-)Beans for every form in an application? -Felix

Re: General DATABASE programming question

2001-06-15 Thread Ted Husted
leaves fetching block 1 and block 2 to get to block 3. (Hoping 1 and 2 haven't changed in the meantime). -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Mindaugas Idzelis wrote: This may

Re: Missing configuration resource for path /WEB-INF/struts-config.xml in Webspere 3.5.2 under not Default server

2001-06-15 Thread Ted Husted
; - create /WEB-INF subdirectory in servlets/ with struts-config.xml and web.xml in it. None of them worked out. Does somebody has the same experience? Thanks in advance, Igor Karmanov -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463

Re: General DATABASE programming question

2001-06-15 Thread Ted Husted
. Otherwise you will need to keep the resultset in the session and tie up memory. A lot of people like to use the pager tag from JSP tags for this sort of thing. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about

Re: html:checkbox

2001-06-15 Thread Ted Husted
They are actually cached in the request. It's just that with boolean checkboxes, you should reset them them to false first, or there are side effects. You really, really don't have to do anything else. It's important to remember that there is not a direct connection between the HTML form and

[ANNOUNCMENT] Strut by Strut

2001-06-17 Thread Ted Husted
A new article regarding building Struts applications is available at http://www.husted.com/about/struts/ entitled Strut by Strut. Feedback is welcome. A followup article regarding using a database with Struts (Stepping Out) is nearly complete. Stay tuned. -- Ted Husted, Husted dot Com

Re: [ANNOUNCMENT] Strut by Strut

2001-06-20 Thread Ted Husted
/about/struts/struts-stub.zip Ted Husted wrote: A new article regarding building Struts applications is available at http://www.husted.com/about/struts/ entitled Strut by Strut. Feedback is welcome. A followup article regarding using a database with Struts (Stepping Out) is nearly

Re: [ANNOUNCMENT] Strut by Strut

2001-06-20 Thread Ted Husted
If you want to convert an integer to a String on the fly, you can do this: /** * Return the script as int * * @return the script as int */ public int getScriptInt() { return ( Integer.valueOf(this.script).intValue() ); } Assuming the String has been

Re: ActionForm Bean and Action class relation

2001-06-20 Thread Ted Husted
is in use with String task = mappings.getParameter(); For multipage wizard forms, David W's validator has a page feature that helps with that. http://home.earthlink.net/~dwinterfeldt/ -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463

Re: Subsessions needed?

2001-06-20 Thread Ted Husted
I would try and put the big form into the session context myself, and then update it from the sub forms as I go. When the workflow is complete, and the record sets are updated, I'd remove the big form from the session context. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software

Re: creating ActionError inside a jsp page

2001-06-20 Thread Ted Husted
/ -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Nanduri, Amarnath wrote: Hi All, Is it possible to create an Action Error object inside a jsp page. When i am trying to forward the user from

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Ted Husted
The ActionForm beans can contain nested references, so you could just set some other bean to it, then refer to myBean.propertyThis and myBean.propertyThat. Of course, the other bean would have to have standard String accessor and mutators, which is where it starts to fall down. The other beans

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Ted Husted
They could. This is especially convenient when your value object bean contains a RowSet, since the *String versions are already built in. So, you end up with something like thisForm.set( thisValue.getItemString(), thisValue.getDonorString(),

Re: running struts in other application server

2001-06-22 Thread Ted Husted
frmxx.submit(); the browser give erorr alert. how can i inplement the javascript in jsp+struts..? thank's in advace for all of response regards gohin -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com

Re: html action links

2001-06-22 Thread Ted Husted
If you just want to use html:link, you don't necessarily have to use an ActionForm class (though you can, if you want). Here's some code for generating a list with links. Result is a bean that exposes a collection named rows. logic:iterate name=result property=rows id=row p html:link

Re: html action links

2001-06-22 Thread Ted Husted
to receive my request? How is this done? thnxs again, David -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: Re: html action links If you just want to use html:link, you don't necessarily have to use

Re: HP Bluestone Struts Trailmap

2001-06-23 Thread Ted Husted
I believe using request tokens to prevent duplicate submits is not covered by any of the tutorials right now. BONAIUTO,JAMES (HP-NewJersey,ex1) wrote: I will be adding to HP Bluestone's Struts trailmap: http://gallery2.bluestone.com/scripts/SaISAPI.dll/Gallery.class/demos/trailM

Re: Query string in struts-config.xml

2001-06-24 Thread Ted Husted
the servlet parse them out for you. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Jacob Thomas wrote: Hi Jon, I was trying this out earlier using the Struts beta 1 release and found

Re: initial population of html form from database --- ActionForm or ActionClass

2001-06-24 Thread Ted Husted
to the Action. If the problem persists, you may need to post some code samples. The description sounds correct. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Smith Chris wrote: I am trying to setup

  1   2   3   4   5   6   7   8   9   10   >