Re: Newbie question about struts and Tomcat 4

2002-03-02 Thread Ted Husted
with strong background in delivering scalable and robust enterprise web and IT applications. http://www.surgam.net -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web

Re: Methods In Action Class

2002-03-03 Thread Ted Husted
are starting a new transaction without first going to a form, then you would need to replicate the behavior of the html:form tag, and put the new token into the request to start the new transaction. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel

Re: internationalisation

2002-03-03 Thread Ted Husted
The framework provides a common Locale object in the users session, which you can maintain and then pass as part of something like a database query. http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/action/Action.html#LOCALE_KEY -- Ted Husted, Husted dot Com, Fairport NY US

Re: Best way to deal with Form object String parameters into another bean?

2002-03-03 Thread Ted Husted
be set up anyway at all. Sometimes the model may be set up to handle conversions from Strings (as ResultSets and RowSets are), and sometimes you need to do this yourself. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web

Re: Urgent help - Connection reset by peer error with Struts ..

2002-03-03 Thread Ted Husted
For a production application, use Poolman www.codestudio.com You can then have your data access objects get the connection using the Poolman findDataSource method, and leave the Struts controller out of it. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications

Re: Ping on 1.1 or Tiles/Nightly working

2002-03-04 Thread Ted Husted
My understanding is that the Tiles in the contrib folder of the Nightly Build does work with the latest changes to ActionServlet. When the beta is posted, it will just be a snapshot of the current Nightly Build. There's only the one CVS and only the one development list. There's nothing behind

Re: design question

2002-03-05 Thread Ted Husted
A third option people have mentioned is to serialize the form-bean as a single hidden field. As part of validate, you can repopulate any null fields. Never actually tried this one myself, but it seems clever. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications

Re: design question

2002-03-05 Thread Ted Husted
. Most of what the Actions do is very predictible, it's just the wee-bit of business logic in the middle that makes one different from the other. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services

Re: parameter attribute in the action-mapping... what is it?

2002-03-05 Thread Ted Husted
own properties. Matt Raible does this with his workflow extension. http://www.livinglogic.de/Struts/ After that, you're into modifying how the ActionServlet parses the config. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463

Re: Simper with MySQL

2002-03-05 Thread Ted Husted
/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 - Web: http://husted.com/about/services -- To unsubscribe, e

Re: Struts Community Opportunity

2002-03-06 Thread Ted Husted
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 NY US -- Developing Java Web Applications with Struts -- Tel: +1 585

Re: Struts Community Opportunity

2002-03-06 Thread Ted Husted
Yes -- see http://jakarta.apache.org/struts/newbie.html and if people want start submitting enhancement requests to Bugzilla regarding the new 1.1 features, that would be helpful too. Just don't be afraid to frontload the work, and give us something we can just cut-and-paste (or even an XML

Re: Traffic

2002-03-06 Thread Ted Husted
as they become available. Please post any contributions to Bugzilla as an enhancement request to the documentation. http://jakarta.apache.org/site/bugs.html -- Ted Husted -- Web: http://husted.com/struts -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Need help getting a production/stable version of v1.1

2002-03-06 Thread Ted Husted
before the latest development wave began. http://husted.com/struts/resources/jakarta-struts-src-20011226.zip This would have the indexed attribute, but not the nested tags, multiple configs, or dynabeans. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts

[Fwd: Introducing Enterprise Object Broker]

2002-03-07 Thread Ted Husted
Since hooking up a with a persistence layer is an important part of using Struts, I thought I would pass this along. -Ted. Original Message Subject: Introducing Enterprise Object Broker Date: Thu, 07 Mar 2002 09:08:24 + From: Paul Hammant [EMAIL PROTECTED] Reply-To:

Re: [Off Topic] Poolman Setup

2002-03-07 Thread Ted Husted
and !-- Copy any configuration files -- copy todir=classes includeEmptyDirs=no fileset dir=src/java patternset include name=*.xml/ /patternset /fileset /copy -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web

Re: How to properly map actions for form edit and save functions?

2002-03-19 Thread Ted Husted
is providing objects or data that do not come from the HTMl form, you would have to go back through an Action to create them again. The cleanest thing is to link input to an action-mapping rather than a page. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications

Re: [RE: Redirecting to login page when session expires

2002-03-19 Thread Ted Husted
So my question is how can I do an ActionForward from a .jsp? %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=login/ -Ted. Brad Rhoads wrote: I assume you mean processActionPerform; I don't see perform() in the ActionServlet. Here's what I ended up with and it works

Re: Domain deployment problem

2002-03-19 Thread Ted Husted
It would seem that your client is using port 88 instead of port 80, and so Struts is including the port number in the link, to be sure it gets back to the right place. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web

Re: Holding on to request data

2002-03-19 Thread Ted Husted
the session context to keep information on the server instead, and cookies can be used to keep the same sort of informatoin in the client's browser. But that's the end of the road. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web

Re: Need to link to another page when cancel is pressed.

2002-03-19 Thread Ted Husted
In this instance, you could do without the html:cancel button, and try something like input name=Cancel type=button value=bean:message key='mainMenuChoices.text' / onclick=html:rewrite forward='mainMenu' target='_top' -- Ted Husted, Husted dot Com, Fairport NY

Re: Passing Multiple Parameters do a .do

2002-03-19 Thread Ted Husted
I haven't tried it myself, but people have reported serializing a number of properties and then passing the serialized object. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15468.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts

Re: Struts config, can it have includes?

2002-03-19 Thread Ted Husted
You might want to look into the modular capabilities in the nightly build (soon to be 1.1 beta 1). This allows you to break your application into modules, so each developer can work be working their ownmodules within the same application. -- Ted Husted, Husted dot Com, Fairport NY US

Re: Using struts across multiple .war files

2002-03-19 Thread Ted Husted
Not a lot. Mostly what's in the Javadocs and on the Struts Dev list. Contributions welcome. -T. Steve Earl wrote: Hi all, I noticed from the struts site that a nightly build (from about mid-Jan onwards) has included the facility to have developers working on different areas of a

Re: Will Struts 1.1 be backward compatible with 1.0.x?

2002-03-19 Thread Ted Husted
own classes may need to be changed. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Hi Will Struts 1.1 be backward compatible with 1.0.x? Will I just be able to replace

Re: using url's under struts

2002-03-19 Thread Ted Husted
to never link to JSPs, and to always go through action-mappings (/do/* or *.do URIs). -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Jeff Haenn wrote: Andrew, Thanks for answering

Re: Migrating from 1.0.2 to 1.1: servlet initialization parameter questions

2002-03-19 Thread Ted Husted
, just when I figure out where everything is, they move it all around :o) -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Bill Boland wrote: Feel free to give snappy answers to stupid

Re: best way to encode parameters into path?

2002-03-20 Thread Ted Husted
Unfortunately, the servlet is matches action paths without considering whether they may contain extra information or not, so the ../param1/param2 scheme is not supported. There have been posts on this before that you might be able to followup on.

Re: Extra Path Info Problem!!! HELP!!!

2002-03-20 Thread Ted Husted
much appreciated, as I need this functionality myself soon :-) Mike -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 4:10 AM To: Struts Users Mailing List Subject: Re: Extra Path Info Problem!!! HELP!!! Not supported

Re: Properties

2002-03-21 Thread Ted Husted
message regarding the field, without messing about with StringBuffers and such. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services [EMAIL PROTECTED] wrote: I have noticed that the example

Re: a NEWBIE question: Cannot Resolve Symbol

2002-03-22 Thread Ted Husted
://jakarta.apache.org/struts/doc-1.0.2/userGuide/introduction.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

Re: 'dynamic' form elements in a ActionForm

2002-03-22 Thread Ted Husted
It's difficult to do this in the 1.0.x release, but simple as pie in the 1.1 beta and nightly build. http://jguru.com/forums/view.jsp?EID=567079 -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about

Re: Keep a session in different war

2002-03-22 Thread Ted Husted
is floating a proposal regarding a common convention we call can use. http://jcorporate.com -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Laurent Goncalves wrote: Hi, I'm

HOWTO: Lessons learned from using Struts, Tomcat and Oracle

2002-03-22 Thread Ted Husted
Original Message Subject: Lessons learned from using Struts, Tomcat and Oracle Date: Thu, 21 Mar 2002 19:43:22 -0800 (PST) From: Walter S. So [EMAIL PROTECTED] Hi Ted, I just want to share this information in case someone else also goes through the same problems I did. I was

Re: Web application with my own authentication process

2002-03-22 Thread Ted Husted
. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Fabien Lesire wrote: Hi, I want use Struts to develop some web application but i

Re: Single Servlet Controller Model

2002-03-25 Thread Ted Husted
through the servlet single-file. A single servlet is *not* a bottleneck. Each request gets its own thread, and they are processed in tandem. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services

Re: when does STRUTS call reset() on form beans ?

2002-03-25 Thread Ted Husted
will autopopulate the Action form for the next action. (It doesn't actually know that the request was forwarded.) If that's a problem, you can use a mutable property on your form-bean to tell the mutators not to accept new data. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web

Re: How to use one image as submit button?

2002-03-26 Thread Ted Husted
You'd want to use the image tag for this. See also my Struts Tip #1 on the MVC Programmers newsgroup. news://news.basebeans.com -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services

Re: RES: Error processing message properties file.

2002-03-26 Thread Ted Husted
It usually means that the ApplicationResources.properties file is not on the container's class path. The simplest thing is to put it directly under the classes folder. The message and error tags are designed to work with the resource file, and become upset when they cannot find it. -- Ted

Re: RES: Newbie Question - Please Helpme (Cannot find ActionMapping or...)

2002-03-26 Thread Ted Husted
pursue these days. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Gilson Nascimento D Elrei wrote: Thanks for your suggestions. I don't use data-sources/data-sources on my

Re: PropertyUtils and NoClassDefFoundError WLS6.1, struts 1.0

2002-03-26 Thread Ted Husted
/ -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Jouanny wrote: Hello I'm working on Weblogic 6.1 using Struts 1.0. I'm making use of the method getPropertyDescriptor(Object object

Re: Where are the commons-*.jar files?

2002-03-26 Thread Ted Husted
into bugzilla. http://jakarta.apache.org/site/bugs.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Lawlor, Frank wrote: The nightly builds used to have the commons-*.jar files

Re: HTML:select multiple=true

2002-03-26 Thread Ted Husted
It's difficult to tell what the exact problem is without seeing at least the interface code for the bean you are trying to expose. The tags access the beans, so the beans are an essential part of the equation. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Ted Husted, Husted dot Com

Re: message keys

2002-03-26 Thread Ted Husted
. IMG src='html:rewrite name=url//home10-08-00/img/b_cvfut.gif' width='93' height='56' border='0' This is also a good way to cope with paths to stylesheets, Javascripts, and other HTML assets. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1

Re: Struts Validator: Use of anchor tag

2002-03-26 Thread Ted Husted
You probably need to escape the quote character, either by using '' or maybe \' -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Struts Newsgroup (@Basebeans.com) wrote: Subject

Re: FW: URL Probleme II

2002-03-26 Thread Ted Husted
. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services [EMAIL PROTECTED] wrote: hello everybody i have the followinfg problem and i have no idea to solve it I have an action called cashaction

Re: [STRUTS]: MAPPING configuration error for request URI

2002-03-26 Thread Ted Husted
The best thing might be to register it with bugzilla, and include a copy of the configuration elements that might be generating the event. http://jakarta.apache.org/site/bugs.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737

Re: The reset() and validate() in the form.

2002-03-26 Thread Ted Husted
http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_view.html http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/action/ActionForm.html http://jakarta.apache.org/struts/resources.html#tutorials http://jakarta.apache.org/struts/resources.html#articles -- Ted Husted

Re: Is there any problem using Struts in Cluster Environment

2002-03-26 Thread Ted Husted
The best people to consult regarding this would be Weblogic support. Most vendors consider Struts compatability a priority. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Boyalla

Re: html:link and additional parameters

2002-03-26 Thread Ted Husted
/msg26530.html But, AFAIK, someone has to actually write it yet =:o) If someone did write it, I'd be happy to make it available to the community, either in the Struts distribution or in the Scaffold package under Contrib. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web

Re: Form Beans - Vector

2002-03-27 Thread Ted Husted
to have problems, and if it's possible to use another collection class, like ArrayList, I'd do that. If not, I'd add a helper method that returned the Vector as an array. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http

Re: Using MessageTag for handling plural/singular

2002-03-27 Thread Ted Husted
tier and lets us write Java programs like Java programs. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Fabien Modoux wrote: I am trying to use the Message tag to handle the display

Re: Need example on using roles in struts-tiles

2002-03-27 Thread Ted Husted
is initialized Jakarta taglibs also has a handy IsUserInRole tag in the request taglib. http://jakarta.apache.org/taglibs/doc/request-doc/index.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com

Re: Save/Update data to XML-File

2002-03-28 Thread Ted Husted
profiles, but I'm not aware of a published implementation. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services [EMAIL PROTECTED] wrote: Hi, in the struts-example the user data can

Re: Logical OR, AND etc....in Struts

2002-03-28 Thread Ted Husted
that Struts encourages the use of tags as way of exposing JavaBean properties, not as a true programming element. The logic tags can be nested, but resolving complex equations is outside the intended scope. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts

Re: Error: Cannot find message resources

2002-03-28 Thread Ted Husted
If it seems like JRUN issue then take it up with JRUN. It's a commercial product and should have people who are paid to solve problems like this. If it works under Tomcat, Sun's reference implementation, but not under JRUN, then the implication is that JRUN is non-compliant. -- Ted Husted

Re: Which action to go back?

2002-03-28 Thread Ted Husted
It sounds like that you need some type of JavaBean in the session that will store that you can set to the name of an ActionForward representing the current SomeCaller. A html:link tag on the page could then look for that bean, and obtain the correct action forward for that user. -- Ted Husted

Re: email format

2002-03-28 Thread Ted Husted
I wasn't actually aware that a change had taken place. If it has changed, it was at the system admin level. It would probably affect all the digest, not just ours, and so you might want to take it up with the PMC on the General list. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing

Re: Struts and Client Side JavaScript Design Question

2002-03-28 Thread Ted Husted
by an Action. Of course, JSP tags can also write dynamic scripts into the file, as the Struts Validator does. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services [EMAIL PROTECTED] wrote

Re: html:options Iterator Creation error -

2002-03-28 Thread Ted Husted
If PersonalForm has a Collection getSecurityOptions(); method then it does look OK. This shouldn't matter, but you could try a type property with bean:define -Ted. Sunder wrote: Hi, I am trying to implement the html:options tag in one of our applications, I have a form bean with

ANN: Struts BOF-2293 / Thu 28 Mar

2002-03-28 Thread Ted Husted
Original Message Subject: Design Strategies Using Struts Date: Wed, 27 Mar 2002 10:19:33 -0800 (PST) From: Christine Eckstein [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: [EMAIL PROTECTED] I'm currently on a project that is one-year into implementing

Re: struts and tomcat - Welcome list

2002-04-06 Thread Ted Husted
then use a global forward to send them to index.do, or whatever. forward name=welcome path=/index.do/ -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services

Re: Dynamic Bean Populate on Submit.

2002-04-06 Thread Ted Husted
String setter on your value object could be called or set this way, so think about that before exposing them to HTTP clients on an ActionForm. This would include more deeply nested properties like vo.something.somethingElse. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web

Re: wizard-kind interaction

2002-04-06 Thread Ted Husted
?page=2/ I haven't tried, but it should be possible to write a standard Action that could do with any given ActionForm bean and set of local forwards. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com

Re: ApplicationResources.properties part 2

2002-04-06 Thread Ted Husted
It depends on the container. Some reload resource bundles, others may not. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services K J wrote: So everytime you change something

Re: visual Struts editor

2002-04-06 Thread Ted Husted
as well with Struts as JSPs. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Yu, Yanhui wrote: Arron, I am new to Struts but I have been following the emails on this list

Re: How to avoid a separate .jsp page for body definition when usingTemplates?

2002-04-06 Thread Ted Husted
name=titlevalue=Preview Item / put name=content value=/pages/item/Preview.jsp / /definition action ... forward name=success path=.item.Preview/ /action -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463

Re: data connection limit

2002-04-06 Thread Ted Husted
I'd strongly recommend going with Poolman instead. You could pop that into your getConnection method, and the rest of the application would never know the difference. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web

Re: usage of html:options

2002-04-06 Thread Ted Husted
If the collection is stored on the ActionForm, you have to use bean:define under Struts 1.0.x For Struts 1.1, there is another tag that gets around this. -Ted. Slava_L wrote: we have and ActionForm with Collection field (4xmpl list of smthing) how should i use tag html:options to

Re: logic:equal ... AND ...

2002-04-06 Thread Ted Husted
With the Struts logic tags, the best you can do is nest the tags to generate the logical expression you are looking for. Often, complex logical operations are better handled as helper methods on a JavaBean. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications

Re: bean message repost.

2002-04-06 Thread Ted Husted
. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Ivan Siviero wrote: Sorry for reposting but i had the date one year older. :) :) Hi. I have downloaded the latest struts stable

Re: how to add data into a form?

2002-04-06 Thread Ted Husted
-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/SuperForm.java for an example. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services yanming lu wrote: Here is what i'd like

Re: Using Adalon

2002-05-13 Thread Ted Husted
is also donating the Adalon/Struts classes to the Apache Software Foundation, and I will be working to integrate them into the Scaffold package under contrib. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http

Re: Want one Action servlet to forward to another Action servlet

2002-05-13 Thread Ted Husted
. If the database query returned a single record, you can have the Action select the single ActionForward. Or multiple or empty as the case may be. The ActionServlet will then forward control to the indicated Action. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web

Re: stuck with 1.0.2

2002-05-14 Thread Ted Husted
, but in practice that's what happens. You might want to use a YES/NO Radio Button for Delete though. This way the control will always succeed and submit something that can be caught on the other side. For more see, http://jguru.com/forums/view.jsp?EID=749162 -- Ted Husted, Husted dot Com

Re: Reg the Action Errors and Action class

2002-05-14 Thread Ted Husted
Yes, the best practice would be to use ActionErrors from within your Action, just as the ActionForm does. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Mannem, Taati wrote: Guys

Re: Ted Husted's Site

2002-05-14 Thread Ted Husted
My provider is suffering from DoS issues. The Struts Web site should have all the same resources, but perhaps I should copy the link page over as well. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http

Re: Dynamic control of errors.header and errors.footer

2002-05-15 Thread Ted Husted
for Struts 1.0 you might be able to load them from an older version of that http://home.earthlink.net/~dwinterfeldt/. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Mark Nichols wrote

Re: javascript and struts1.0.2

2002-05-15 Thread Ted Husted
Properties files. You could use the Struts ApplicationResources for this, but loading one of your own might be better. Alternatively, you can also do quick-and-dirty things like use bean:write filter=false ... / to output a JavaBean property with the text of your script. -- Ted Husted, Husted dot Com

Re: JSP error

2002-05-15 Thread Ted Husted
You might consider posting this to JSP-interest or searching the archives there. http://archives.java.sun.com/archives/jsp-interest.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about

Re: Application State == View or Business Logic

2002-05-15 Thread Ted Husted
, including Web applications, MVC is usually moderated by the Layers pattern, so that the View and the Controller interact and the Controller and Model interact, but the View and Model do not interact. V - C - M - (persistent store) -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web

Re: Application State == View or Business Logic

2002-05-15 Thread Ted Husted
within an action class. Is this worth worrying about, or is this just semantics? From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Application State == View or Business Logic Date: Wed, 15 May 2002 12:44:15 -0400 The Model represents application

Re: Logic:Iterate:sort, what do you think?

2002-05-17 Thread Ted Husted
. In end, whereever you do it is going to require a comparable amount of work. The question is whether the work is going to be resuable or not. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services

Re: Getting a list from a session bean and displaying the data in a jsp

2002-05-17 Thread Ted Husted
and then subclassing that with different validate() methods. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Michael Delamere wrote: Thanks, I´m starting to get it now :-). I think it´s

Re: Javascript submit

2002-05-17 Thread Ted Husted
to go. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Matt Read wrote: I did consider your first suggestion but there's no guarantee that there won't be other forms on the same

Re: How do you recommend doing this with Struts?

2002-05-17 Thread Ted Husted
to translate the text. ActionError does the same thing in bulk, but you can use the same technique on your own. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Michael Marrotte wrote

Re: How do you recommend doing this with Struts?

2002-05-17 Thread Ted Husted
to write it out. This will make it a drop-in replacement for action:errors. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Michael Marrotte wrote: One way I thought of to do

Re: How do you recommend doing this with Struts?

2002-05-17 Thread Ted Husted
component and not part of the view. It lives on the layer between the view and model, and so can be bound with either and both. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Michael

Re: Need some help with generateToken

2002-05-17 Thread Ted Husted
() clears it from the request. Loop closed. The Core J2EE Patterns book covers this and a ton of other handy strategies and patterns. Highly recommended. See the Struts Resource page for a link. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel

Re: Small Complaint - Struts Impl.

2002-05-18 Thread Ted Husted
in one place. For more see, http://jguru.com/forums/view.jsp?EID=811382 -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Jacob Hookom wrote: Is it just me, or on large projects do

Re: Small Complaint - Struts Impl.

2002-05-20 Thread Ted Husted
the session) are stored. If two clients manage to share a cookie (or page with a rewritten URL), they will share whatever is in the session. Struts has no say in the matter. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web

Re: Small Complaint - Struts Impl.

2002-05-20 Thread Ted Husted
POV. In 1.1 beta, there is a processPopulate() hotspot where you should be able to experiment this type of functionality, and if it works out, don't hestitate to report back to the list. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585

Re: stuts-config.xml file

2002-05-22 Thread Ted Husted
You might want to consider rephrasing the question. http://www.tuxedo.org/~esr/faqs/smart-questions.html JM wrote: Can you help me with my struts-config? I'm trying to run this in VBA (Visual Basic for A##holes) actionpath=/editSubscription.aspx

Re: JSTL

2002-05-22 Thread Ted Husted
. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Graham Lounder wrote: Is there any word on if Struts will be moving to the JSP Standard Tag Library? I'm finding that there is a lot

Re: html taglib usage slooow

2002-05-22 Thread Ted Husted
] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services -- To unsubscribe, e-mail: mailto

Re: Iterator Simple

2002-05-22 Thread Ted Husted
there is enough going on there already. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Mannem, Taati wrote: Guys, When I iterate thru logic:iterator how do I know that I am

Re: form bean variable type conversions

2002-05-23 Thread Ted Husted
based, so should your ActionForms be. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services [EMAIL PROTECTED] wrote: Hi, Quick question: if I have a html:text element in a JSP, can I map

Re: Need help with Token stuff - URGENT

2002-05-23 Thread Ted Husted
PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: 'm*n' no of dynamic Text boxes in form Bean ???????

2002-05-23 Thread Ted Husted
Yes, you can just use an array for for each row. On the HTML form, all the textboxes on one of your rows will have the same name. In the ActionForm, they will each be a subscript of the array. http://jguru.com/forums/view.jsp?EID=749162 -Ted. Boyalla, Raveendra wrote: Hi I have the

Re: keep up the great work!

2002-05-23 Thread Ted Husted
that has been tested. -- 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

<    7   8   9   10   11   12   13   14   15   >