Doing a sendRedirect from an Action

2002-07-09 Thread James Turner
Question of the morning: I'm in an Action, and I decide that I need to redirect off the current application (say to cnn.com) I can't do it with a forward because they only work inside the current application. My initial instinct is to do a response.sendRedirect inside the Action, but this br

RE: Doing a sendRedirect from an Action

2002-07-09 Thread James Turner
Never mind, good case of RTFJ (read the friendly Javadoc). You know, there's nothing like writing a book to really make you probe all the nooks and crannies of a technology... From Action.perform: Process the specified HTTP request, and create the corresponding HTTP response (or forward to

Re: [ARTICLE] Using JAAS and Struts

2002-07-09 Thread @Basebeans.com
Subject: Re: [ARTICLE] Using JAAS and Struts From: "Sebastian Millies" <[EMAIL PROTECTED]> === You're right that there is as yet no standard and portable way of integrating JAAS with container-based security. Different vendors approach this problem differently. So it's either 1) select a contain

Re: Doing a sendRedirect from an Action

2002-07-09 Thread @Basebeans.com
Subject: Re: Doing a sendRedirect from an Action From: "Sebastian Millies" <[EMAIL PROTECTED]> === yep. -- Sebastian "James Turner" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]... > Question of the morning: > > I'm in an Action, and I decide that I need to redirect off the c

shouldn't html taglib support _ALL_ HTML 4.x default attributes?

2002-07-09 Thread @Basebeans.com
Subject: shouldn't html taglib support _ALL_ HTML 4.x default attributes? From: Serge Shikov <[EMAIL PROTECTED]> === Hello, I mean - id, lang, class, and many other attributes, defined in HTML 4.x specs? Why I coudn't specify id or class in to do some DHTML tricks later? -- To unsubscribe,

ActionError() question

2002-07-09 Thread r2d2onsteroids
Hello, I have a question regarding the ActionError method. When I have a form used for creating a new user, I can use the ActionErrors method in the UserForm class for validating the inserted values for this new user. The UserAction class then actually creates a new user with the values speci

problem with error messages

2002-07-09 Thread Jonathan Corbin
Hello, I am getting the following error message on one of my jsps: javax.servlet.ServletException: Exception creating bean of class com.valleyrec.toteboard.beans.Toteboard: {1} I know from browsing the struts source that the {1} should be the forward.forward property from org.apache.struts.tagl

container managed security

2002-07-09 Thread Jürgen Weber
Hello, I am into evaluating Struts. The struts-example.war does authentication for its users programmatically. Why doesn't it use container managed security? Wouldn't it be simpler (not having to reenvent the wheel), safer (the container will do it better) and standards compliant (servlet s

RE: More that one application resource file

2002-07-09 Thread Rajeshwar Rao V
yes..you can do it. But u have to extend Struts framework for that u need to write MultiBundleActionservlet which extends Action Servlet... and need to override protected void initApplication () of Action Servlet. write meta properties file..which contains properties for property files... if

Validation downfalls?

2002-07-09 Thread brockheinz
Hello Everyone, Forgive me if this topic has been previousy posted, and please point me to the appropriate posts. I have been working with the Struts validation framework, and so far I like what I see. I've also dug into the struts-validator.war project and I have a good idea of what is going o

RE: DynaActionForm Advantages

2002-07-09 Thread Eddie McGreggor
But are DynaActionForm's compatible with JSTL? A discussion on taglibs-user made me think not: http://marc.theaimsgroup.com/?l=taglibs-user&m=102433015725228&w=2 Eddie >On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote: > >> >> Tell me again why I should use the standard form beans? >> >> >> I'm tryin

Re: DynaActionFormBean Advantages -- Complicates JSTL usage?

2002-07-09 Thread Stuart Robertson
This is really a question, since I'm not familiar with the details of how DynaBretheren pull off their magic. To what extent does reliance on DynaActionForm beans tie the view impl to using Struts tags? Does using DynaStuff require that tags use the commons introspection utils? Specifically,

Tomcat 4 cross ServletContext attributes and standalone server

2002-07-09 Thread dbt1
I curently have 2 issues and hope someone may quickly point me to the right solutions. Environment: Tomcat 4.03, Struts 1.1 Issue 1: Tomcat standalone to serve other file types such as .pdf .ppt .doc Previously I use Apache as a web server connected to Tomcat 3.3 for jsp pages. URLs to the above

AW: To Manfred Wolff < Struts + EJB ? >

2002-07-09 Thread Manfred Wolff
Hi Boney. We use in our project: Struts 1.1b (Release not nightly build) Tomcat 4.0.3 JBoss 3.0 (we use also the bundle with Jetty) The Tomcat bundle may have some problems with SSL PostgreSQL 7.1.2 hsqldb ?? Part from JBOSS XDoclet 1.1.2 Ant 1.4.1 Log4J 1.2.3 Junit 3.7 We have two configurati

[ARTICLE] Issues in Struts Adoption

2002-07-09 Thread John Yu
A new article "Issues in Struts Adoption" is available at: http://www.scioworks.net/servlets/Redirect?pid=13 ABSTRACT: This article discusses issues in Struts adoption, covering both technical considerations and business issues like total cost of ownership, maintenance, future direction a

Tomcat crashes on too many custom tags in a jsp

2002-07-09 Thread Karthikeyan A
Hi, I am working with tomcat 4.0.1 We have our own custom tag library. We display all the data using custom tags. We have noticed that when the number of custom tags for a jsp page is too large, our tomcat crashes. Our JSP has more than 125 tag apart from other custom tags. If we comment out so

RE: Tomcat crashes on too many custom tags in a jsp

2002-07-09 Thread Amol
Hi karthik, the problem is because of the size of the try catch block. When the JSP is precompiled the number of lines of the try catch block should be restricted to around 3000 line or less. There is no link about this info. But this is what defines the max size a server can handle. Weblo

html:text initial value

2002-07-09 Thread Sann, Stephan
Hello all, is there a way to give an initial value to a -tag that is not shown again in an error-case? Here is an example: I put the initial value "00.00." into this text-field to show the user the format for the field. Now there is a user who forgets the last Digit of the year: > 18.

RE: squeaky wheel with struts experience needs a job

2002-07-09 Thread Mark Nichols
I have wondered about the possibility of there being an "announcement" mailing list for Struts, and this posting gives me an opportunity to ask my question. In a previous development lifetime I used Forte TOOL and was active with the Forte mail list. There was the primary questions list and a sepa

Re: html:text initial value

2002-07-09 Thread SATISH.T
set the value of the textbox property of the form in ur action class before u throw it and also remove the value="" from the tag if u want to retain the value if an error is thrown. satish - Original Message - From: "Sann, Stephan" <[EMAIL PROTECTED]> Date: Tuesday, July 9, 2002 4:05 p

WebWork vs. Struts

2002-07-09 Thread Dave Johnson
I wrote the editor/admin GUI portions of the Roller Weblogger using Struts. Now, it is been suggested that I look at WebWorks as an alternative to Struts. I've been looking for comparisons of WebWorks vs. Struts, general comments about WebWorks, and anything else. I've summarized what I hav

Announcement List - WAS: RE: squeaky wheel with struts experience needs a job

2002-07-09 Thread James Holmes
This is something Ted Husted proposed on the dev list awhile back. I think it makes sense and would help "partition" the messages. Ted, what do we have to do to get this rolling? -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Mark Nichols <[EMAIL PROTECTED]> wrote: > I have w

Re: shouldn't html taglib support _ALL_ HTML 4.x default attributes?

2002-07-09 Thread @Basebeans.com
Subject: Re: shouldn't html taglib support _ALL_ HTML 4.x default attributes? From: "Matt Raible" <[EMAIL PROTECTED]> === I've never heard of a "lang" attribute on a form. The documentation states: http://jakarta.apache.org/struts/userGuide/struts-html.html#form That you can use styleClass and

AW: html:text initial value

2002-07-09 Thread Sann, Stephan
Hello Satish, > set the value of the textbox property of the form in ur action class > before u throw it and also remove the value="" from the tag if u want > to retain the value if an error is thrown. thanx a lot for your answer. I tried it this way: but it didn't worked out for me :-(

RE: DynaActionForm Advantages

2002-07-09 Thread Jerry Jalenak
Java 1.4.x provides a very nice implementation of regexp. Jerry -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 10:52 PM To: 'Struts Users Mailing List' Subject: RE: DynaActionForm Advantages I agree with James on the extra level aspect. I'

Re: AW: html:text initial value

2002-07-09 Thread SATISH.T
hi i meant do a form.setTextBoxPropertyName(value); in ur action class and in the jsp remove the value="" from the tag. should work. satish - Original Message - From: "Sann, Stephan" <[EMAIL PROTECTED]> Date: Tuesday, July 9, 2002 6:32 pm Subject: AW: html:text initial value > Hello Sa

RE: AW: html:text initial value

2002-07-09 Thread Rahul Kumar Saxena
Satish is quite right, you just call setTextBoxPropertyName("00.00."); method in the action class which forwards to your JSP. This will take care of displaying the default value.So you need not set 00.00. in the value attribute of text tag.Becuase this always sets the value to 00.00. i

Re: html:text initial value

2002-07-09 Thread @Basebeans.com
Subject: Re: html:text initial value From: "Sebastian Millies" <[EMAIL PROTECTED]> === How about and you set the initial value of the form property to "00.00." in the forms constructor. Please let me know if this actually works. -- Sebastian "Sann, Stephan" <[EMAIL PROTECTED]> schrieb i

Re: html:text initial value

2002-07-09 Thread @Basebeans.com
Subject: Re: html:text initial value From: "Sebastian Millies" <[EMAIL PROTECTED]> === Come to think of it, Satish was exactly right: Simply should be enough, provided you set the initial value of the form property to "00.00." in the form constructor, or in the action class from which you

Re: More that one application resource file

2002-07-09 Thread Davor Cengija
> yes..you can do it. > But u have to extend Struts framework for that > u need to write MultiBundleActionservlet which extends Action Servlet... > and need to override protected void initApplication () of Action Servlet. > write meta properties file..which contains properties for property fil

preview view of a form

2002-07-09 Thread rainer jünger
Hi, after filling in the form I want to present the user a preview of what she/he entered. Pushing save will make data persistance, pushing edit brings back the form with the data in the form fields. How can I realize this with struts? When I send the control back to the form it always is empt

IllegalStateException on action chaining

2002-07-09 Thread Garg, Sanjay
Hi, I am using Struts 1.1b1 with Websphere 4.02. In one of my action I am forwarding to another action which in turn forwards to the final JSP. I always get the error pasted below. This does not cause any harm, other then cluttering up the log file. I have read that the workaround is to use red

Re: container managed security

2002-07-09 Thread Joe Germuska
At 5:48 PM +0200 2002/07/08, Jürgen Weber wrote: >Hello, > >I am into evaluating Struts. > >The struts-example.war does authentication for its users programmatically. > >Why doesn't it use container managed security? I would assume simply because that's easier for an example. There's nothing pre

struts-config deployment descriptor file syntax

2002-07-09 Thread Heligon Sandra
Hi, I am searching a description of struts-config.xml descriptor deployment syntax (version1.1). The DTD format is not easy to read, I would like to have a description in a word or pdf document. If someone has a such document, thanks to send it.

Re: struts-config deployment descriptor file syntax

2002-07-09 Thread James Holmes
At this point in time there is not something like you mention that I know of. However, Ted Husted has recently updated the DTD and User Guide a bit. http://jakarta.apache.org/struts/userGuide/building_controller.html -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Heligon Sand

Re: DynaActionForm Advantages

2002-07-09 Thread Glen Mazza
> Fecha: Mon, 08 Jul 2002 23:37:03 -0400 > A: [EMAIL PROTECTED] > De: James Turner <[EMAIL PROTECTED]> > Asunto: RE: DynaActionForm Advantages > > My two cents on the topic. > > As mentioned, once you move to a good Java IDE like > JBuilder, writing > getters and setters is no longer nearly th

DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-09 Thread Jennings, Christofer J.
Looking at the JSTL 1.0 specification, section 3.3, leads me to believe that DynaActionForm "properties" can be accessed through the JSTL EL but with a different syntax than a regular JavaBean property. Example: Regular JavaBean (e.g., ActionForm) EL syntax:

RE: struts-config deployment descriptor file syntax

2002-07-09 Thread Heligon Sandra
Thanks, what a pity! http://edocs.bea.com/wls/docs61/webapp/web_xml.html gives the elements of a web.xml deployment descriptor, it is easier than web-app_2_2.dtd file. I hope that in the future a such format will exist for struts-config file. Sandra -Original Message- From: James Holm

Re: DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-09 Thread @Basebeans.com
Subject: Re: DynaActionForm and JSTL (was RE: DynaActionForm Advantages) From: "Vic C." <[EMAIL PROTECTED]> === This works for me to use JSTL: Vic Jennings, Christofer J. wrote: > Looking at the JSTL 1.0 specification, section 3.3, leads me to believe that > DynaActionForm "properties" can be a

RE: Re: More that one application resource file

2002-07-09 Thread wbchmura
Maybe I am misunderstanding the post, but why not just concat during the build process? I know you mentioned some sort of internal purtubations or something... Can you be more specific? I have the same thing going, and just have an ant task that does it... No changes to struts or anythin

[ANN] Chapter 11 of the O'Reilly Struts book now available

2002-07-09 Thread chuckcavaness
Chapter 11 "Using the Struts Validator " has been posted on theserverside.com. http://www.theserverside.com/resources/strutsreview.jsp Chapters 8 and 20 will also be posted this week. As always, I look forward to the feedback. Chuck -- To unsubscribe, e-mail: Fo

help! Exception

2002-07-09 Thread Lana M. Stillwell-Soller
I get the following exception when I submit my form using Struts html tag multibox. I cannot figure it out. Please help if you can. javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:774) -- --/-National Center for Atmosph

Re: DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-09 Thread Joe Germuska
This would only work if ${form} implemented the Map interface. Making the DynaBean interface extend the Map interface seems like a lot of overkill considering the number of places people might want to use it that have nothing to do with the JSTL... Maybe you could make a case for having DynaAc

RE: struts-config deployment descriptor file syntax

2002-07-09 Thread Joe Germuska
At 5:26 PM +0200 2002/07/09, Heligon Sandra wrote: >what a pity! >http://edocs.bea.com/wls/docs61/webapp/web_xml.html gives the elements of >a web.xml deployment descriptor, it is easier than web-app_2_2.dtd file. >I hope that in the future a such format will exist for struts-config >file. Many o

RE: struts-config deployment descriptor file syntax

2002-07-09 Thread chuckcavaness
Sandra, Chapter 4 of my O'Reilly Struts book covers both the neccessary web.xml modifications that you have to do for Struts as well as complete coverage of the 1.1 struts config file. Give it a read and feel free to provide feedback to me. You can get Chapter 4 here: http://www.theserv

Re: Validation downfalls?

2002-07-09 Thread Joe Germuska
At 1:55 PM -0500 2002/07/08, [EMAIL PROTECTED] wrote: >Hello Everyone, > >Forgive me if this topic has been previousy posted, and please point me to >the appropriate posts. I have been working with the Struts validation >framework, and so far I like what I see. I've also dug into the >struts-val

Re: container managed security

2002-07-09 Thread Craig R. McClanahan
On Mon, 8 Jul 2002, Jürgen Weber wrote: > Date: Mon, 08 Jul 2002 17:48:29 +0200 > From: Jürgen Weber <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: container managed security > > > > Hello, > > I am into evaluating Struts. > > Th

Off-Topic: JMS Design Question...

2002-07-09 Thread Ajay Chitre
Hello, This is kind of off-topic, so I apologize in advance. We do have some J2EE gurus on this mailing list so I decided to ask it here. (Is there any other *active* mailing list where I can post JMS related questions?) Anyway, I need some help to develop a JMS based solution. Here's what w

Re: XML based application resources?

2002-07-09 Thread Craig R. McClanahan
There were some messages on this topic over the last few days -- please check the mailing list archives. Craig On Mon, 8 Jul 2002, Struts Newsgroup wrote: > Date: Mon, 8 Jul 2002 10:40:03 -0700 > From: Struts Newsgroup <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED

RE: DynaActionForm Advantages

2002-07-09 Thread Craig R. McClanahan
On Mon, 8 Jul 2002, Eddie McGreggor wrote: > Date: Mon, 08 Jul 2002 21:18:54 -0400 > From: Eddie McGreggor <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: DynaActionForm Advantages > > But are DynaActionForm's compatible with

Re: With Struts tag, Size of ArrayList

2002-07-09 Thread Daniel Jaffa
Thank u very much, i do not know how i messed that but i did. This will be very helpfull dan - Original Message - From: "Struts Newsgroup" <@[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 6:55 PM Subject: Re: With Struts tag, Size of ArrayList > Subject: Re: Wit

RE: Off-Topic: JMS Design Question...

2002-07-09 Thread Rathore, Pavan
Yes, Durable Subscriptions would be useful in that case. Pavan -Original Message- From: Ajay Chitre [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 9:15 AM To: [EMAIL PROTECTED] Subject: Off-Topic: JMS Design Question... Hello, This is kind of off-topic, so I apologize in adv

Re: DynaActionForm Advantages

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Glen Mazza wrote: > Date: Tue, 9 Jul 2002 09:58:29 -0500 (CDT) > From: Glen Mazza <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: DynaActionForm Advantages > > > Fecha: Mon, 08 Jul 2002 23:37:03 -0400 > >

RE: container managed security

2002-07-09 Thread Jason Rosen
I implemented a Struts controlled authentication mechanism because I needed a custom authentication routine not already available via any servlet container. In addition, because there is no standard for implementing custom container-based authentication (different API's in every container) and I

Re: DynaActionFormBean Advantages -- Complicates JSTL usage?

2002-07-09 Thread Craig R. McClanahan
On Mon, 8 Jul 2002, Stuart Robertson wrote: > Date: Mon, 8 Jul 2002 22:35:43 -0400 > From: Stuart Robertson <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: DynaActionFormBean Advantages -- Complicates JSTL usage? > > This is r

Re: Off-Topic: JMS Design Question...

2002-07-09 Thread Kevin . Bedell
To begin with, I'd recommend using a web service instead of just JMS. It's more reusable, has the ability for a variety of clients to access it and comes with fewer networking headaches. Plus they are especially good for sending XML. Given the fact that you are simply sending messages and getti

Re: Doing a sendRedirect from an Action

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, James Turner wrote: > Date: Tue, 09 Jul 2002 04:16:42 -0400 > From: James Turner <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Doing a sendRedirect from an Action > > Question of the morning: > > I'm in an Ac

Re: shouldn't html taglib support _ALL_ HTML 4.x default attributes?

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Struts Newsgroup wrote: > Date: Tue, 9 Jul 2002 01:55:02 -0700 > From: Struts Newsgroup <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: shouldn't html taglib support _ALL_ HTML 4.x default attributes? > > Subje

Re: [ARTICLE] Issues in Struts Adoption

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, John Yu wrote: > Date: Tue, 09 Jul 2002 18:01:20 +0800 > From: John Yu <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [ARTICLE] Issues in Struts Adoption > > A new article "Issues in Struts Adoption" is availa

Re: IllegalStateException on action chaining

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Garg, Sanjay wrote: > Date: Tue, 9 Jul 2002 10:05:24 -0400 > From: "Garg, Sanjay" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: IllegalStateException on action chaining > > Hi, > > I am using Struts 1.1b1 wit

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Greg.Reddin
Something that has always bothered me in Struts is the "disconnect" between Form Beans and Model Beans. How many times do you have a Form Bean and a model bean that contain the same data? The disconnect makes some sense because you want everything that could come in from a JSP page to be String-

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Dan Cancro
How does your PageField list handle iterative and nested properties? Can a PageField's value be a String array? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 10:22 AM > To: [EMAIL PROTECTED] > Subject: RE: DynaActionForm Advantag

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Greg.Reddin
The PageField's internal storage is a simple String. It could easily be changed to anything else, though. If the field maps to a model bean, it handles nested and indexed properties the same way Struts does. In fact it uses BeanUtils and PropertyUtils. If the field does not map to a bean, it c

[ANNOUNCE] Struts Console v2.0

2002-07-09 Thread James Holmes
Struts Console version 2.0 is now available. http://www.jamesholmes.com/struts/ Download Now: http://www.jamesholmes.com/struts/struts-console-2.0.zip -- OR -- http://www.jamesholmes.com/struts/struts-console-2.0.tar.gz Struts Console is FREE software. This release is adds new features and f

Nested Classes problem

2002-07-09 Thread Matt Sales
Hello, I'm having a problem nesting classes. I'll try to keep it simple: MyActionForm contains an instance of MyClass. MyClass contains an instance of MyNestedClass. When displaying values in a struts form, I can refer to the form property "myClass.myNestedClass.id", and it displays the correc

RE: DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Jennings, Christofer J. wrote: > Date: Tue, 9 Jul 2002 11:19:05 -0700 > From: "Jennings, Christofer J." <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: DynaActionForm and JSTL

Re: Announce: J2EE MVC training using Struts with Standard Tags (JSTL)

2002-07-09 Thread @Basebeans.com
Subject: Re: Announce: J2EE MVC training using Struts with Standard Tags (JSTL) From: "Vic C." <[EMAIL PROTECTED]> === Standard J2EE MVC training using Struts with Standard Tags (JSTL) -We have done more Struts training than anyone. This class adds Standard Tag Libs (JSTL) with MVC and a portal

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Greg.Reddin
> The preferences for Strings in form beans is to deal with bad > user input > (such as typing "1a3" into a text field destined to be an > integer). Any > solution that does not redisplay the bad data that the user > typed (just > like every GUI program in the world does it) is not acceptable,

RE: DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-09 Thread Jennings, Christofer J.
My mistake. I was thinking DynaActionForm is a Map. It'd be a shame to not be able to use JSTL and DynaActionForm together (I think). As a general question, How much work would it be to have a MappedDynaActionForm subclassing DynaActionForm as an optional base class for our forms? ,boz -Ori

dynamically collect a series of String values to a vector property in an ActionForm

2002-07-09 Thread @Basebeans.com
Subject: dynamically collect a series of String values to a vector property in an ActionForm From: "tom" <[EMAIL PROTECTED]> === How can I initialize a vector of Strings and assign values to the Strings in jsp (view component) so that an ActionForm can collect the vector property (a collection o

Re: shouldn't html taglib support _ALL_ HTML 4.x default attributes?

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Struts Newsgroup wrote: > > http://jakarta.apache.org/struts/userGuide/struts-html.html#form > > > > That you can use styleClass and styleId attributes to render "class=" and > > "id=" respectively. > Thanks. But why not simple "class" and "id"? > In JSP 1.1, "id" is a rese

Re: shouldn't html taglib support _ALL_ HTML 4.x default attributes?

2002-07-09 Thread @Basebeans.com
Subject: Re: shouldn't html taglib support _ALL_ HTML 4.x default attributes? From: Serge Shikov <[EMAIL PROTECTED]> === Matt Raible wrote: > I've never heard of a "lang" attribute on a form. HTML 4.01 loose.dtd: > The documentation states: > > http://jakarta.apache.org/struts/userGuid

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002 [EMAIL PROTECTED] wrote: > Date: Tue, 9 Jul 2002 12:21:44 -0500 > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: DynaActionForm Advantages (A different approach) > > Something that has always bothered m

Re: preview view of a form

2002-07-09 Thread Mikael Eriksson
The reset() method of the formbean is called when you get back to the form. So if you clean things up there your form gets empty. You can avoid this by leaving the reset() method empty. /Mikael At 15:00 2002-07-09 +0200, you wrote: >Hi, > >after filling in the form I want to present the use

Re: Tomcat 4 cross ServletContext attributes and standalone server

2002-07-09 Thread Craig R. McClanahan
On Mon, 8 Jul 2002, dbt1 wrote: > Date: Mon, 8 Jul 2002 10:31:31 -0600 > From: dbt1 <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Tomcat Developers List <[EMAIL PROTECTED]>, > Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Su

RE: HOw to define the action ..??

2002-07-09 Thread James Mitchell
Accomplishing this is no more difficult than posting to another webapp on the same server. You simply agree on the sending/receiving fields required by both sites. (or in the case of 3rd party, you make YOURs conform to what THEY want ;) Then use any normal jsp view on your site (modified slight

Checkbox Issues

2002-07-09 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I'm having an issue with my checkboxes. I know you're supposed to set the corresponding boolean property to false in the reset method, and I do just that. However, for some reason the checkboxes cannot be unchecked. After they are checked for the first time, the property is always

FW: Checkbox Issues

2002-07-09 Thread Kamholz, Keith (corp-staff) USX
One little addition to my question... I have an to the form JSP to avoid it being validated before being submitted. Do I need to go through an action in order for reset() to be called? ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Kamholz, Keith (corp-staff) USX [m

Validator

2002-07-09 Thread Chilukuri, Pratap N Mr USAREC
Hi, we are using struts 1.02 and want to know how to use validator with this version. I went to jakarta commons site to download commons-validator.jar and jakarta-oro.jar and could not find them and do i need to work on 1.1 release for validator to work? Any inputs would be appreciated. -- To

RE: Validator

2002-07-09 Thread Ajay Chitre
Check this out... http://home.earthlink.net/~dwinterfeldt/ -Original Message- From: Chilukuri, Pratap N Mr USAREC [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 12:19 PM To: 'Struts Users Mailing List' Subject: Validator Hi, we are using struts 1.02 and want to know how to

Re: DynaActionForm Advantages

2002-07-09 Thread Glen Mazza
> Fecha: Tue, 9 Jul 2002 09:47:07 -0700 (PDT) > De: "Craig R. McClanahan" <[EMAIL PROTECTED]> > A: Struts Users Mailing List > <[EMAIL PROTECTED]> > Asunto: Re: DynaActionForm Advantages > > > > > The problem was that the DAF class was not made > final. > > Allowing it to be subclassed is creat

RE: Tomcat crashes on too many custom tags in a jsp

2002-07-09 Thread Stuart D. Robertson II
Which version of tomcat? The latest snapshot of 4.1 (.7 I think) mentions in the release notes that this is fixed. It had to do with a java limitation of 64k in a block or method (can't remember which). -- To unsubscribe, e-mail: For additional commands, e-mail:

ActionServlet question

2002-07-09 Thread rainer jünger
Hi, I have a general problem in understanding a Action servlet. Is the servelt always involved when I access the belonging URL? e.g.: I access the *something*/trinkwasserform action. In that action I am logging a text to the serverlog. I am realy supprised that the logged text showes

Struts and JetSpeed

2002-07-09 Thread Ryan Cuprak
I was just curious as to whether one can use both struts and jetspeed (integrated). I have gotten a pretty good handle on Struts but recently discovered jetspeed and liked what I saw. Thanks, Ryan -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-09 Thread Scott Ganyo
Could you just have the DynaActionForm expose a Map as a property? If it implemented, for example, a method like: "public Map getProperties();" you could do this: Scott > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 1:26 PM >

Re: DynaActionForm Advantages

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Glen Mazza wrote: > Date: Tue, 9 Jul 2002 14:33:46 -0500 (CDT) > From: Glen Mazza <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: DynaActionForm Advantages > > > Fecha: Tue, 9 Jul 2002 09:47:07 -0700 (PDT)

RE: Tomcat crashes on too many custom tags in a jsp

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Stuart D. Robertson II wrote: > Date: Tue, 9 Jul 2002 12:09:52 -0500 > From: Stuart D. Robertson II <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Tomcat crashes on too many custom tags in a jsp > > Which

Re: ActionServlet question

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, rainer jünger wrote: > Date: Tue, 9 Jul 2002 19:56:53 +0200 > From: rainer jünger <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: ActionServlet question > > Hi, > > I have a general

Re: Announcement List - WAS: RE: squeaky wheel with struts experience needs a job

2002-07-09 Thread Ted Husted
They've been threatening to give me more karma in the Apache Mail group (since moderating the Struts list gets very squeaky from time to time), and the first thing I was going to do with it is create this list. Stay tuned. James Holmes wrote: > > This is something Ted Husted proposed on the de

RE: Validator

2002-07-09 Thread chuckcavaness
It would also be great if you could read my chapter on the Validator and provide some feedback on how helpful it was to you. You can download the draft chapter from here: http://www.theserverside.com/resources/strutsreview.jsp The perspective from someone new to it would be very helpful, and

RE: Struts and JetSpeed

2002-07-09 Thread Dan Cancro
>From http://jakarta.apache.org/jetspeed/site/resources.html, JetSpeed relies on these Xerces Xalan Turbine Cocoon Castor ECS Hypersonic-SQL Velocity Working Dogs (Village) Tomcat CVS, WinCvs I don't think you can use both Turbine and Struts for the same application. > -Origina

RE: Use of

2002-07-09 Thread mtstruts
Joe, Thanks for your post! I'm actually doing what you suggest here, with one slight difference: My tries to define a collection which is the property of another bean on the page. My defines go like this: First get a foo bean from the fooFormBean. The foo bean contains a collection wh

RE: Struts and JetSpeed

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, Dan Cancro wrote: > Date: Tue, 9 Jul 2002 13:22:22 -0700 > From: Dan Cancro <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Struts and JetSpeed > > > >From http://jakarta.apach

Re: DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-09 Thread @Basebeans.com
Subject: Re: DynaActionForm and JSTL (was RE: DynaActionForm Advantages) From: "Vic C." <[EMAIL PROTECTED]> === I like to unit test my beans... and am also looking to design a propertyChangedEvent() and even SOAP to my beans; so no maps for me. Vic Scott Ganyo wrote: > Could you just have the D

RE: Use of

2002-07-09 Thread Joseph Barefoot
The tag usage seems to be fine, except you probably want to make the beans "page" scope (rather than "session") in both cases, unless you plan on using the beans somewhere else besides the JSP you are in. As for the error, make double-sure that the collection is not null, as this may be causing t

Tag>

2002-07-09 Thread Kevin . Bedell
Anyone heard of this tag? We received an app from a vendor that is built on Struts and it's throwing an exception in this tag - it's using an old version od Struts. Not sure the version number - I do't have the code right here. The vendor built this app on Struts and is distributing it without

RE: [ANN] Chapter 11 of the O'Reilly Struts book now available

2002-07-09 Thread Robert Taylor
Perfect timing Chuck. I just started to dig in on this particular issue. Once again, great job. Below are my comments. Sections are demarcated using 'Section:' and quotes from the document are identified with double quotes around them. Section: Required Packages "All of the dependent package

html:base misunderstood, broken, or misleading?

2002-07-09 Thread @Basebeans.com
Subject: html:base misunderstood, broken, or misleading? From: Eric Rizzo <[EMAIL PROTECTED]> === I've got a problem using Struts under Jetty that I think is related to the tag. The comments for this tag read: "Renders an HTML element with an href attribute pointing to the absolute location o

Oracle interMedia and Struts - any context contention?

2002-07-09 Thread Eva Garabedian
Hi All, I am attempting to use Oracle 9i's interMedia classes to manage images and thumbnails, and when attempting to display them in JSPs, I notice that if I run this outside of Struts, all is well, but within Struts, the image is no longer displayed. Can anything be done to work around thi

Re: Tag>

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002 [EMAIL PROTECTED] wrote: > Date: Tue, 9 Jul 2002 16:59:26 -0400 > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Tag> > > > Anyone heard of this tag? > > We received an app from

  1   2   >