Re: Doubt: how to handle Action threading?

2004-05-13 Thread Jason Miller
I have a similar hierarchy, with a base action providing generic services like VO manipulation, security methods, exception manipulation, and framework interaction, and in general I pass everything as parameters. This is mitigated by the fact that the action classes simply adapt the input to t

Re: Some further newbie woes

2004-05-06 Thread Jason Miller
Instead of using the "name" property, try the "path" or "absolutePath" properties. None None wrote: Ok, I've banged my head enough in the past two hours... I'm working on a file manager Struts app to get myself acquainted with Struts. The first logical step is a list of drives. Here's what I

Re: Remembering form values across requests

2004-05-03 Thread Jason Miller
What you are describing is the normal behavior of , which is the end product of . If you want to clear the form, you have two decent choices: a button that calls a client side function to run through the form and clear it, or server side logic to recognize the button press on submit and return

Re: Setting html:text readonly attribute

2004-05-03 Thread Jason Miller
Actually, you can't use a tag as the value of another tag's attribute. If you use the html-el taglib you can do something like this: John Moore wrote: I'm having a big problem trying to dynamically set a value for the readonly attribute of an tag. I'm using a JSTL core tag to try to set it

Re: Struts Application Security within the Controller Layer

2004-04-16 Thread Jason Miller
If your container supports servlet 2.3, use a filter. That's really the best place for a check like that. Jason Josh Holtzman wrote: Hello all, I'm working on a Struts application that contains 2 modules. Module 1 (default): a public website. Module 2: a user and administrative logi

Re: Module navigation

2004-04-08 Thread Jason Miller
I was faced with something similar in my last project - while the app was split into multiple modules (13, to be exact,) there were several things that I needed to be truly global, like various forwards, and certain resource bundles. I found a solution to this problem by defining the global for