Re: Question ?

2001-10-31 Thread Ted Husted
_ Click to add my contact info to your organizer: http://my.infotriever.com/bjia -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail

Re: Form Bean

2001-10-31 Thread Ted Husted
When you create the ActionForm, are you calling setServlet()? Cameron Ingram wrote: Hi all! Ok here is the problem I have a form bean that I create in an action class, I then set the variables in it and then add it to the session. This is before the corresponding jsp has been loaded

Re: parameterized redirecting forward

2001-11-01 Thread Ted Husted
) parameter. In that case, you could just forward to /do/viewForum and it would automatically find the original forum parameter in the request, retrieve the required data, and forward the result along to the JSP. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical

Re: Form Bean

2001-11-01 Thread Ted Husted
Use the source, Luke, use the source. Cameron Ingram wrote: No... should I be? Ted could you enlighten us a bit on how to do this? :) Am I missing some thing? My code to do this consists of a few lines to do this. I figure the problem is probably something pretty small. Ex.

Re: Check Box,Radio button (Urgent)

2001-11-02 Thread Ted Husted
It's hard to say without seeing your code. They should automatically select the current value. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ yogesh borse wrote: Hi All, I'm populating

Re: Setting bean property with custom tag

2001-11-02 Thread Ted Husted
it yourself. Also note that the Struts bean tags are not coupled to the ActionForm names in the Struts config. They obtain the type through introspection, not by looking things up in Struts config, and work equally well with any bean. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software

Re: ActionForms extending ActionForms

2001-11-02 Thread Ted Husted
of the Struts config. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Richard Dallaway wrote: I've been wondering about the best way to go about using struts in this situation I have two types

Re: Common User Interface for JSP's

2001-11-02 Thread Ted Husted
a CUI is a CUI, and you could compare each on its own merits. What other interface rendering utilities did you have in mind? -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ John Regan wrote: Can

Re: Professional JSP Site Design BOOK

2001-11-02 Thread Ted Husted
Lots. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Nicolas Parisé wrote: Anybody knows how much Struts related pages will be in this book ? Nicolas -- To unsubscribe, e-mail: mailto

Re: exceptions

2001-11-02 Thread Ted Husted
the control flow. That's the Action's job: handle (routine) errors and exceptions, and control the flow. I would say if the Action invokes the business object, and it can throw LDAP exception, then the Action should catch those, and do whatever is needed to recover. -- Ted Husted, Husted dot Com

Re: ActionForward to url outside of the web app

2001-11-02 Thread Ted Husted
not share the session, even if both were written in Java. You might be able to share information with cookies, the old-fashioned way. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Fu, Walter wrote

Re: Using Struts with XSLT

2001-11-03 Thread Ted Husted
in the request. However, that would not help with your requirement to render different markup for different devices. It may be possible to use the Tiles to create different styles of pages for the different devices, but I really haven't looked at that myself. -- Ted Husted, Husted dot Com, Fairport NY USA

Re: struts with tiles

2001-11-03 Thread Ted Husted
It is not known when 1.1 will be released. http://jakarta.apache.org/struts/userGuide/kickstart.html#release It's easy to incorporate Tiles into your current project now, which is what I would recommend. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services

Re: struts / tiles / ApplicationResources problem

2001-11-03 Thread Ted Husted
. Anywhere under classes should do. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ peter wrote: Hi Just installed tiles, which I'm running with struts1.0, and I get the following error when I try

Re: forward action - basic understanding

2001-11-04 Thread Ted Husted
); if (mapping.getInput()!=null) return (new ActionForward(mapping.getInput())); // If no input page, use error forwarding return (mapping.findForward(error)); } -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737

Re: Using a Map like a bean?

2001-11-12 Thread Ted Husted
would have to be done to get something like the ValidatorForm to work with this arrangement. But, personally, I'm good with the JavaBeans ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts

Re: Re-usability of struts

2001-11-13 Thread Ted Husted
if (!errors.empty()) { saveErrors(request, errors); return (mapping.findForward(error)); } // -- Save the result request.setAttribute(RESULT,modelResult); // -- Return continue return mapping.findForward(continue); }; -- Ted

Re: multiple html:submit buttons with different names?

2001-11-13 Thread Ted Husted
http://jguru.com/faq/view.jsp?EID=543699 Rob Breeds wrote: Hi Is it possible to have multiple html:submit tags in a html:form different only in name such that the action can differentiate between them. The docs indicate there is no 'name' attribute for the html:submit tag

Re: Session objects -- optional?

2001-11-13 Thread Ted Husted
initialization parameter for LOCALE is set to false. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Esbrook, Scott wrote: Hello, Are session objects optional in a Struts application? Currently

Re: Re-usability of struts

2001-11-13 Thread Ted Husted
think ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Jain, Sanjeev (GEAE, Foreign National) wrote: Thanks Ted Imran. The approaches you guys have suggested sound good but the problem

Re: Should dynamic OPTIONS data be in the Formbean?? (vs separate beans)

2001-11-13 Thread Ted Husted
=imageTexts type=java.util.Collection/ html:options collection=imageTexts property=value labelProperty=label/ -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Greg Callaghan wrote: Hi, I've got

Re: Question on Framework..for display data.

2001-11-14 Thread Ted Husted
HTML pages, not JSPs. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Shan Gopalakrishnan wrote: I have a portal like jsp page which is the aggregator page which has some bunch of include

Re: Action structure for CRUD

2001-11-14 Thread Ted Husted
thing is to be sure to use the JDBC beans, and not embed business logic into the Action. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: struts-newbie I used David

Re: Help-URGENT!!

2001-11-15 Thread Ted Husted
I usually put things like this in a thin JavaBean wrapper, so properties like size can be returned by a proper getSize() method call. Ashoka Murthy wrote: I have a vector object available in request. Now I want to check in the JSP whether its size is 0 or more, if it is 0 I want to print a

Re: HTML Link Tags Seem Clumsy

2001-11-20 Thread Ted Husted
help (and understanding...) -Tom -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Design Question. Better to have jsp files in root or in WEB-INF/jsp-files

2001-11-20 Thread Ted Husted
the sensitive information. Last I knew, Weblogic did not support this part of the spec, so it's not an option for many people. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: Hi

Re: How to prevent FormBean validate() errors from showing up on logon page

2001-11-20 Thread Ted Husted
You may want to send them to a logon Action instead, which displayed the logon page but had validate set to false. The page would then submit to another Action with validate set to true. You could also add a redirect option to that mapping. (Which would also cure any problem with orphan

Re: HTML Link Tags Seem Clumsy

2001-11-20 Thread Ted Husted
I'd suggest you try the alternative syntaxes as a separate tag, rather than trying to overload the existing link tag. Be sure to include support for the forward property. I avoid use of href myself, since it has the affect of embedding additional Action paths into the JSP. (Bad enough that we

Re: Struts salability

2001-11-21 Thread Ted Husted
the same servlet. Though, in either case, there are other considerations that would overshadow this point. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Resetting a bean

2001-11-21 Thread Ted Husted
the browser's viewpoint, the values returned after the valuation fails are the original values, and the ones it should return to if reset is pressed. The only alternative would be to simulate a reset button using Javascript that set the fields to their default values. -- Ted Husted, Husted dot Com, Fairport

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-23 Thread Ted Husted
removed before the value is updated. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: !! Problem whith struts anchor !!

2001-11-24 Thread Ted Husted
Struts doesn't control whether a page is reloaded. That's up to the browser. Are these relative or absolute URLs? Are you preventing pages from being cached? -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com

Re: What is the best way to display pictures from a database using Struts

2001-11-24 Thread Ted Husted
to look at using PDF or an applet. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: Hi I need to retrieve pictures from a database and use struts to display them. I am

Re: Question

2001-11-26 Thread Ted Husted
; } It's stored under a key in the user's session, so you can get to it anywhere you can get to the session. To change locales for a user, you should change the one under the Action.LOCALE_KEY. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-26 Thread Ted Husted
. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Hoang, Hai wrote: I used session scope because I want the form to remember or correctly selected my value dropdown list. But I don't know why all

Re: init-param for Actions.

2001-11-26 Thread Ted Husted
://webmail.netscape.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport

Re: What does CRUD mean?

2001-11-27 Thread Ted Husted
Robert has it right here. In straight SQL terms, it maps to Insert, Select, Update, and Delete. Often comes up in Enterprise JavaBean literature too. Robert wrote: Create Retrieve Update Delete (referring to database operations mostly) If I remember right... -Original

Re: quick question - next release

2001-11-27 Thread Ted Husted
on the DEV list, so if you're following that you know as much as anyone. http://jakarta.apache.org/struts/userGuide/kickstart.html#release -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Nathan

Re: How to link to empty form page?

2001-11-27 Thread Ted Husted
an Action to restore some Java-request objects that were lost in the HTTP-request. This often happens in the context of drop-down boxes and the like. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ T

Re: MVC security?

2001-11-27 Thread Ted Husted
inadvertently disable security by breaking some scriptlet. If the user is not authorized, the data is neither retrieved nor handed to the JSP. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Daniel Jimenez

ALERT: Peace .. whatever

2001-11-27 Thread Ted Husted
wanted everyone to be aware. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: AW: JDBCRealm

2001-11-27 Thread Ted Husted
JDBCRealm is container managed security, so you set it up through the container (web.xml). From the container's viewpoint, everyone who is not logged in is going through the anonymous Web user account. From your application's viewpoint, they would not be logged in at all, and have no role.

Re: Security for Actions or ActionClasses?

2001-11-28 Thread Ted Husted
Struts can also use the Tomcat JDBC Realms. Nic Hobbs has put together a Role-based security package at http://husted.com/struts/resources/struts-security.htm I'm about to give it a whirl myself. Let me know if you like it. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software

Re: Struts modifications policy

2001-11-28 Thread Ted Husted
We welcome derivative works, so long as the license is kept intact. Many of the extensions posted on our resource page rely on modified code. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Jeff

Re: Security for Actions or ActionClasses?

2001-11-28 Thread Ted Husted
for this? -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 1:30 PM To: Struts Users Mailing List Subject: Re: Security for Actions or ActionClasses? Struts can also use the Tomcat JDBC Realms. Nic Hobbs has put together a Role-based security

Re: Struts modifications policy

2001-11-28 Thread Ted Husted
need to send infomation to get my modifications posted? Thanks again, Jeff Ted Husted wrote: We welcome derivative works, so long as the license is kept intact. Many of the extensions posted on our resource page rely on modified code. -- Ted Husted, Husted dot Com, Fairport NY USA

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
around that would be to replace the call to BeanUtils.describe withy a custom version that generated the appropriate hashmap for the target bean. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts

Re: Hidden Field in a form. Do I use struts taglib or vanilla ht ml?

2001-11-29 Thread Ted Husted
a sendMessage method instead. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: The data I am storing in the bean is logically different from what the hidden field value

Re: Struts Error Page Approach - Recommended / Struts Support

2001-11-29 Thread Ted Husted
I basically do the same thing as Paul. My business objects throw their own exceptions, which I can catch. These exception classes are chained and often include more than one message: the initial cause and my business explanation. I use the ActionError class to send this to the JSP. Since they

Re: hidden tag and request object

2001-11-29 Thread Ted Husted
handling, which is the controller's job. But that's just me. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Jon.Ridgway wrote: Hi Derek, This is a recurring question in the list. The solution

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
case. The recommended control flow is to go through an Action first, and populate the ActionForm there. Populating the ActionForm from the JSP is a Model 1 strategy. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http

Re: Struts Error Page Approach - Recommended / Struts Support

2001-11-29 Thread Ted Husted
the cause? Also: the business error -- is it the last one thrown or the first? The cause: is this the last one thrown or the first? thanks, Sandeep --- Ted Husted [EMAIL PROTECTED] wrote: I basically do the same thing as Paul. My business objects throw their own exceptions, which I can

Re: Removing session scope form bean on short-circuit

2001-11-29 Thread Ted Husted
forward. I use it as a logout Action. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: Hi, I have a multi-page transaction that uses a session-scoped form bean

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
should the initialization really occur? Thanks for your attention -David Lauta [EMAIL PROTECTED] Ted Husted wrote: In Struts 1.0.1, init() is called if the ActionForm is instantiated by the JavaServer Page. In Struts 1.0, this only happens when the ActionForm is instantiated

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
The cleanest thing is to put the ArrayList on the ActionForm. The syntax of the options tag is suboptimal, so you need to expose the property as a bean. html:select property=namesId bean:define id=names name=actionForm property=names type=java.util.Collection/ html:options

Re: Does struts provide a function to escape special characters received from a form?

2001-11-29 Thread Ted Husted
I use prepared statements which escapes the text for me ;-) I've seen other people use utilities to escape the text, but this is not something that is provided by the framework. Struts is model neutral. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services

Re: FW: Dynamically Developing HTML forms

2001-11-30 Thread Ted Husted
. These are precompiled by another service (e.g. Jasper) in cooperation with the container. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Rajeev Singh wrote: Hi all , I am repeating my question as to is there I can

Re: browser platform compatibility

2001-11-30 Thread Ted Husted
for a workaround for this Netscape bug. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Elena Yee wrote: Hi, I was wonder if the HTML generated by the Struts tag libraries are compatible in IE Netscape

Re: Simple discussion forum

2001-12-02 Thread Ted Husted
the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463

Re: Icons next to form elements with validation errors

2001-12-02 Thread Ted Husted
in a different font when it is null. So, the required field start out in red or maroon, but turn black if the form is retruned for validation, and they pass. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts

Re: Want to use html:link forward but do not want jsession included in new link

2001-12-02 Thread Ted Husted
/shoppingcart/displayCart.do again after the form submission? How can we re-write the URL? Thanks John --- Ted Husted [EMAIL PROTECTED] wrote: URL rewriting is built-into the tags, and would have to be turned off in the container. Though, I'm not sure that all containers support disabling

Re: When to store files in DB vs. File system

2001-12-03 Thread Ted Husted
. If you need something to index those files, I'd have a look at Lucene ;-) http://jakarta.apache.org/lucene -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Darryl Nortje wrote: Hi. Everyone

Re: formatting dates

2001-12-03 Thread Ted Husted
commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts

Re: URL rewriting and cookies

2001-12-04 Thread Ted Husted
if the images are in a public location. If the images are on another server, you may want to pass the URL in a bean, or as part of your own tag. If not, you can also use the conventional img tag with relative references, or a scriplet to insert the path to the current context. -- Ted Husted, Husted dot Com

Re: Re-using JavaBeans as ActionForm Beans (Clarification)

2001-12-04 Thread Ted Husted
.html If your JavaBean only uses String and boolean properties, and doesn't make immediate state changes to your model, you can nest it and use the dotted syntax. Otherwise, it's a wild goose chase. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716

Re: Business objects as ActionForms

2001-12-05 Thread Ted Husted
: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Action an overkill ??

2001-12-05 Thread Ted Husted
or in the JavaBean that the tag exposes. HTH, Ted. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Abhishek Srivastava wrote: Hello All, I render a table through my jsp page. The user can sort

Re: Action an overkill ??

2001-12-05 Thread Ted Husted
in the future. Why not have the delegate do the sorting, as you might (heaven forbid) use something other that taglibs in the future? ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
this will never be committed. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Joe Faith wrote: Hi, I want to 'chain' actions, by setting the forward of one to be 'my_action.do' The problem

Re: General Struts Usage/Deployment Question

2001-12-06 Thread Ted Husted
complaint all the time. One reason for this is the popularity of frameworks like Struts which expose places where they have strayed. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe

Re: Question/Issue with forward specifications

2001-12-06 Thread Ted Husted
if the forwards went someplace. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
is to provide for invoking the Action directly. This would work better for you, and is an easy change to the ActionServlet. This would also allow you to share ActionForms and ActionMappings between Action objects. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
Volker Krebs wrote: I'm intrested, can you please post a patched JAR. We are doing some Action chaning in our application. OK, see http://husted.com/struts/resources/invoke.zip -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463

Re: Alternate Query String( no ? or )

2001-12-06 Thread Ted Husted
then also have to add an ExtraInfo property for the mapping to put the /parm/parm into, or otherwise trick the request into doing it. I'd like to see this happen myself, but, well, you know ... -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737

Re: Action an overkill ??

2001-12-07 Thread Ted Husted
developing a base line for comparison. The effort spent on maintaining this one Javascript might be better spent on some other optimization which will have a greater overall effect. Early optimization is the root of all evil. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software

Re: Mapped properties

2001-12-07 Thread Ted Husted
Rey, Is my answer here correct? http://jguru.com/forums/view.jsp?EID=567079 I *really* haven't done enough work with the mapped properties, and have just been cribbing things from your messages ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services

Re: Action an overkill ??

2001-12-07 Thread Ted Husted
Martin Fowler tells a good story about the Chrysler payroll system. After spending some time noodling what was probably needed fixing, Kent Beck broke out a profiler. Turned out the real problem was creating empty date ranges. (It takes awhile to create nothing.) They created a constant for the

Re: Action an overkill ??

2001-12-07 Thread Ted Husted
The Action would call the business logic, as opposed to the view. The actual code resides in the business layer, but there would be a method call in the Action. People have been known to code the actual business logic into an Action, but have usually lived to regret it. If data were stored in a

Re: action chaining without resetting action forms

2001-12-07 Thread Ted Husted
the same approach for your project. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Best Struts Web Server

2001-12-07 Thread Ted Husted
. They have their own custom app for the pages, but the text search is through Lucene. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: All, What is your experience with the Web

Re: Action an overkill ??

2001-12-07 Thread Ted Husted
, we're not using browsers any more. Users an can now request a report as a PDF as an email attachment in any supported order. Now how does the data get ordered? -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com

Re: action chaining without resetting action forms

2001-12-07 Thread Ted Husted
Cakalic, James P. wrote: Okay. Sounds like an interesting possibility. I guess I should monitor the Velocity site/mail list for this announcement? Thanks again. I'm sure I would bring it up here. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services

Re: lost form data when validate returns errors

2001-12-07 Thread Ted Husted
to specify an Action for the input property, so it can generate it again, instead of going straight back to the JSP. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto

Re: Struts Design question

2001-12-07 Thread Ted Husted
. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts Design question

2001-12-10 Thread Ted Husted
the opposite -- accept or reject input, period. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: How to pass beans this way with Struts?

2001-12-10 Thread Ted Husted
controller is designed to autogenerate and autopopulate the ActionForm beans, but doesn't care if you use them or not. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Frank Lawlor wrote: I'm new

Re: Struts Design question

2001-12-10 Thread Ted Husted
Ted Husted wrote: If you find something that works better for you, be sure to report back. We aren't jealous ;-) Adopt and adapt. Or, if you find one I haven't listed here, be sure to let me know. http://husted.com/struts/links.htm#mvc/frameworks -- Ted Husted, Husted dot Com, Fairport NY

Re: As there any Expected Date The Next Version of Struts will Come Out?

2001-12-13 Thread Ted Husted
http://jakarta.apache.org/struts/userGuide/kickstart.html#release The best advice to make any strategic plans based on what is available today, period, and treat any new release as a pleasant surprise. Even our roughest estimates have proven to be wildly inaccurate, and so it would be cruel for

Re: Solved: RE: /do/do/AmIGoingCrazy? Help needed with /do/actionname

2001-12-14 Thread Ted Husted
] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: Pictures store in a data base

2001-12-18 Thread Ted Husted
Check for dynamic images in the archive. www.mail-archive.com Basically, you can write an action that writes the image as a response, and then just refer to like any image source. Fischer, Thomas wrote: Hello! Can anybody help me? How can I store pictures in a data base with struts

Re: 404 error when placing JSPs beneath WEB-INF

2001-12-18 Thread Ted Husted
PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

Re: AW: PLEASE: Image References in jsp

2001-12-18 Thread Ted Husted
The browser doesn't know *where* your page is, it only knows what URI was requested. The html:base tag corrects relative references. http://jakarta.apache.org/struts/struts-html.html#base -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716

Re: 404 error when placing JSPs beneath WEB-INF

2001-12-18 Thread Ted Husted
that they are JSPs back there to access ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: on referencing images

2001-12-18 Thread Ted Husted
to hide details in a HTML file. I'm not actually sure how that would work myself, but it would be only way I can think to do it. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote

Re: 404 error when placing JSPs beneath WEB-INF

2001-12-18 Thread Ted Husted
a lot of slashes, and lets you do things like switch between pages and actions, as needed. forward name=item path=/do/item/Form?action=new/ -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com

Re: jsp pages under WEB-INF..

2001-12-19 Thread Ted Husted
Use this for an index.jsp %@ page language=java % %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ And then put in a foward to whatever you want to handle the welcome action -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services

Re: Personalized content using Struts. Jetspeed?

2001-12-19 Thread Ted Husted
in portlets. But, if you need a plug-and-play Enterprise Information Portal, and what Jetspeed bundles meets your needs, definately go for it. Though, personally, I would be cautious when it came to actually developing new portlets, since there is still a lot of unproven ground there. -- Ted

Re: jsp pages under WEB-INF..

2001-12-19 Thread Ted Husted
of the struts-config rather than the web.xml. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: Right, first of all thanks for the replies to this question... If my login.jsp lives

Re: jsp pages under WEB-INF..

2001-12-19 Thread Ted Husted
Orginally, it came up in the context of enforcing MVC and preventing JSPs from linking to each other. Another use would be to protected selected JSPs. Though, once you start to discriminate, an actual security scheme might be a better option. -- Ted Husted, Husted dot Com, Fairport NY USA

Re: 1 ActionHandler and 2 ActionForms

2001-12-19 Thread Ted Husted
be passed to an Action. It just needs to know which one to expect. You could determine that through reflection, or looking at the type in the mapping, or via the generic parameter property. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463

<    1   2   3   4   5   6   7   8   9   10   >