Re: Database Access Problem.Need Help?

2002-03-01 Thread Anant Sagar
Thanks Kanoza , I have tried and its working that way as well. In fact after posting my query i tried to solve the problem .The problem was due to the Driver which I was using , I changed the driver and it started working with the the existing code. But i m surprised why the Exception was not

internationalization

2002-03-01 Thread @Basebeans.com
Subject: internationalization From: Damien Wavrant [EMAIL PROTECTED] === Hi, After read URL http://www.anassina.com/struts/i18n/i18n.html, i have a question to internationalized an application with struts : How to change dynamicaly the language of my application, without the default language of

RE: O'Reilly Example

2002-03-01 Thread Tapas Bhattacharya
Thanks rgiri i remove the attribute and now it's working. Cheers, Tapas -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:10 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: O'Reilly Example from one

Re: internationalization

2002-03-01 Thread LI, Chung-Yuen
It's in the FAQ. http://www.husted.com/struts/FAQ/view-i18n.htm - Original Message - From: Struts Newsgroup @[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, 1 March 2002 5:10 PM Subject: internationalization Subject: internationalization From: Damien Wavrant [EMAIL PROTECTED]

EJB and Struts?

2002-03-01 Thread @Basebeans.com
Subject: EJB and Struts? From: Dirk Breitenbach [EMAIL PROTECTED] === Hi, does anybody know, how i can bind EJBs to my Struts-Application? Is it possible to make a connection over the data-Sources-Entries in struts-config.xml? What driver to use? JNDI?? The EJBs are deployed on an IPlanet

RE: EJB and Struts?

2002-03-01 Thread Jon.Ridgway
Hi Dirk, If you want to talk from tomcat to iAS you will need to create IIOP/RMI aware EJB in iPlanet. This will give you some remote stubs. Add these to your web app in tomcat. Add a CXS process to iAS. Your web app will need to create an InitialContext using

Help: Internationalization:I can't see Arabic or Chinese script?

2002-03-01 Thread Aroui, Dr. Djelloul
My application is based on jsp, struts and weblogic. I read my text from the properties files (Resources.properties). My application is running for weasten European languages (English, german, French). In the same way, I have create Arabic (Resources_ar.properties) and Chinese

html:select and html:options tags

2002-03-01 Thread Viet Kevin
Hello all My question is about the struts html:select and html:options tags public class xxxForm extends ActionForm { private Person choosed; private Collection persons; public get... // accessors for this attributes are defined but I do not display

Re: internationalization

2002-03-01 Thread @Basebeans.com
Subject: Re: internationalization From: Damien Wavrant [EMAIL PROTECTED] === It works fine !! Thank LI, Chung-Yuen [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] It's in the FAQ. http://www.husted.com/struts/FAQ/view-i18n.htm - Original Message - From: Struts

Re: Tiles not working, I'm using a recent nightly build.

2002-03-01 Thread Cedric Dumoulin
Have you try the struts-tiles.war or tiles-doc.war example ? Does it run for you ? To use Tiles with the latest nightly builds, you should specify appropriate RequestController in the struts-config.xml file. Check the syntax in the struts-config.xml file coming with the example. Also,

Re: Struts and the UML modeling approach

2002-03-01 Thread Jon Ferguson
Greetings, I'm currently using Visio with UML templates. One reason I like it is that it is not pedantic like Rose.. Doesn't try to do too much - allows you to use license to say what you mean and leave out unimportant detail. IMHO trying to be to detailed in UML forces design decisions that

Re: EJB and Struts?

2002-03-01 Thread Dirk Breitenbach
And do you know, if EJBs are supported by Struts?? Can I Access EJBs like a Database in Struts, but only with JNDI instead of JDBC?? Dirk Jon.Ridgway [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... Hi Dirk, If you want to talk from tomcat to iAS you will need to create

Re: Usage of Action Tokens - preventing application 'damage' by impatient users

2002-03-01 Thread Tom Bednarz
Brad, You can prevent multiple submits in the client side using JavaScript. Below is some code that you can see in action at I do NOT want do it in JavaScript on the client side. JavaScript may be turned off or not supported by a browser. So anything written in JavaScript is very browser

RE: Help: Internationalization:I can't see Arabic or Chinese script?

2002-03-01 Thread Chris Birch
Hi, BEA Weblogic 6.0 fails to set the charset properly because it gets the writer before the content-type is set. Refer to http://tagunov.newmail.ru/i18n/i18n.html for details. Chris. -Original Message- From: Aroui, Dr. Djelloul [mailto:[EMAIL PROTECTED]] Sent: 01 March 2002 10:28 To:

RE: User Registration with Struts query

2002-03-01 Thread Jesse Alexander (KADA 12)
I'd suggest writing a helper to solve this. The helper would be built with plug-in realm-specific classes. To make it easier to get access it from a model-class you could design it as a singleton, if you want to access it only form an action, store it in the servlet-context (==

RE: Templates!

2002-03-01 Thread Ian Hunter
Sorry Folks, Just found the bit about useing flush - did the job! Perhaps this is an FAQ? It certainly stumped for a while. Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

JavaDoc

2002-03-01 Thread David Corbin
Is the struts javadoc available as a download, or as part of the binary package? I can't find it. (I know it's available on the web-site, but that's a) online, and b) the 1.1 stuff. Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: JavaDoc

2002-03-01 Thread jmcabello
Download the source. -Mensaje original- De: David Corbin [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 01 de marzo de 2002 13:58 Para: [EMAIL PROTECTED] Asunto: JavaDoc Is the struts javadoc available as a download, or as part of the binary package? I can't find it. (I know it's

Newbie problem

2002-03-01 Thread Stelian Iancu
Hello all ! I've just downloaded and installed Struts for the first time. I have Tomcat 4.0.1 on a win2k box. I have a problem with struts-example. When I try to access it, it gives me the following exception: javax.servlet.ServletException: sun/tools/javac/Main (Unsupported major.minor version

RE: Memory consumption of tags

2002-03-01 Thread MARK NICHOLS
Maybe posting it under a subject that matches the topic would help /\/\ark ___ - mark h. nichols - dhsv022 at dhs dot state dot il dot us Ooo. They've got the Internet on computers now. - Homer Simpson [EMAIL PROTECTED] 02/28/02 03:20PM This is posted

Digester Link Question

2002-03-01 Thread Stacy Weng
Does anyone have any idea where the link for digester on apache.org has gone? Does anyone know if maybe the digester project is getting merged into another xml project? If so, is a better alternative for using xml parsing in struts? Thanks in advance for any input. --Stacy

Re: tiles-config.dtd - 403 Forbidden Error

2002-03-01 Thread c tang
In tile-def.xml, there is no SYSTEM resource specified. What is the machanism used to located tiles-config.dtd? Thanks! --- Cedric Dumoulin [EMAIL PROTECTED] wrote: The dtd is not available at this address, but this doesn't affect Tiles validation process. When Tiles digester want to

JavaDocs

2002-03-01 Thread Galbreath, Mark
The question of the location of the latest JavaDocs keeps recurring here. If you have the source code, run the JavaDoc utility yourself and voila! The latest documentation. If you don't know how to do this, look it up in any basic Java book (or type javadoc at a command prompt without any

Struts MySQL Hosting

2002-03-01 Thread Matt Koidin
I have a small web site built using Struts with a simple JDBC connection to a MySQL database - can anyone recommend a good site hosting company that can support my configuration? Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Struts MySQL Hosting

2002-03-01 Thread Galbreath, Mark
STFW Mark -Original Message- From: Matt Koidin [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 9:39 AM To: Struts Users Mailing List Subject: Struts MySQL Hosting I have a small web site built using Struts with a simple JDBC connection to a MySQL database - can anyone

RE: internationalization

2002-03-01 Thread Galbreath, Mark
Read Chapter 13 of Jason Hunter's Java Servlet Programming, 2d. ed. Mark -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 4:10 AM After read URL http://www.anassina.com/struts/i18n/i18n.html, i have a question to internationalized an

Re: sorting a collection obtained through iterate tag

2002-03-01 Thread Adam Hardy
It doesn't say anything about such functionality in the docs, and the way I do it is by filling the collection (I use an ArrayList) with the results of a query which I specified an Order By clause in. If you use a hashtable, it loses the ordering. Adam On Fri, 01 March 2002, Dua, Amit

RE: Struts MySQL Hosting

2002-03-01 Thread Juan Alvarado \(Struts List\)
What does STFW mean??? ** Juan Alvarado Internet Developer -- Manduca Management (786)552-0504 [EMAIL PROTECTED] AOL Instant Messenger: [EMAIL PROTECTED] -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, March

RE: EJB and Struts?

2002-03-01 Thread Jon.Ridgway
Hi Dirk, Struts is just a web app framework. EJB support is provided by your container; nothing what so ever to do with Struts. If your container supports it crab an InitialContext and lookup your ejb in a Struts Action class. See previous email in this thread for details. Jon. -Original

RE: Struts MySQL Hosting

2002-03-01 Thread Galbreath, Mark
See How To Interpret Answers at http://www.tuxedo.org/~esr/faqs/smart-questions.html Mark -Original Message- From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 9:42 AM To: Struts Users Mailing List Subject: RE: Struts MySQL Hosting What does

Re: Struts MySQL Hosting

2002-03-01 Thread Eddie Bush
It means you might like to do a web search =) HTH, EDDIE - Original Message - From: Juan Alvarado (Struts List) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 01, 2002 8:42 AM Subject: RE: Struts MySQL Hosting What does STFW mean???

Re: Struts MySQL Hosting

2002-03-01 Thread Eddie Bush
LOL - Excellent, Mark! (I've seen this before - gotta love it!) - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 01, 2002 8:50 AM Subject: RE: Struts MySQL Hosting See How To Interpret Answers at

Re: OT: Struts MySQL Hosting

2002-03-01 Thread dderry
Not really a very good recommendation. Such a search could only turn up a list of hosting companies; with no information as to wheather they are a GOOD company, or just a bunch of opportunistic blood-sucking leaches. It is much more likely that subscribers to this list would be able to provide

Re: Newbie problem

2002-03-01 Thread Adam Fields
Stelian Iancu says: I've just downloaded and installed Struts for the first time. I have Tomcat 4.0.1 on a win2k box. I have a problem with struts-example. When I try to access it, it gives me the following exception: javax.servlet.ServletException: sun/tools/javac/Main (Unsupported

Re: OT: Struts MySQL Hosting

2002-03-01 Thread Oliver Kiessler
hey you guys, come on, does anybody know a good java hosting company? Am Fre, 2002-03-01 um 15.57 schrieb dderry: Not really a very good recommendation. Such a search could only turn up a list of hosting companies; with no information as to wheather they are a GOOD company, or just a bunch

RE: Struts MySQL Hosting

2002-03-01 Thread Galbreath, Mark
It's Friday ;-) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 9:51 AM To: Struts Users Mailing List Subject: Re: Struts MySQL Hosting LOL - Excellent, Mark! (I've seen this before - gotta love it!) - Original Message - From:

Re: Struts MySQL Hosting

2002-03-01 Thread Luis M. Rosso
Hi, Matt Take a look at www.webappcabaret.com They support a wide range of open source tools for java web apps, have very good prices, and let you try their service for free for 30 days. Hope this helps Cheers Luis - Original Message - From: Matt Koidin [EMAIL PROTECTED] To: Struts

Getting a ServletContext

2002-03-01 Thread Eddie Bush
Hey guys/gals =) I'm trying to get a ServletContext object in one of my actions... but I don't seem to be having any luck. Here is what I've tried: servlet.getContext(); getServlet().getContext(); ... neither of which seem to work, in spite of the fact that ActionServlet extends

Re: Newbie problem

2002-03-01 Thread Stelian Iancu
well, it is 1.4 rc. I think it's a tomcat problem because it seems to give me the same error no matter what .jsp I try to run. Regards, Stelian Iancu -- Eclipse. Probably the best IDE. Ever. (www.eclipse.org) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: tiles-config.dtd - 403 Forbidden Error

2002-03-01 Thread Fernando Esteban Barril Otero
Tiles digester uses the public id specified in tiles-def.xml -//Apache Software Foundation//DTD Tiles Configuration//EN to link the dtd that should be used for validation. The dtd is retrieved from the jar. Using digester, you can register a DTD URL for the specified public id, so you can pass a

Fw: Struts and the UML modeling approach

2002-03-01 Thread Jean-Guillaume LALANNE
RE: Struts and the UML modeling approach - Original Message - From: Pierre-Yves Chauveau To: 'Jean-Guillaume LALANNE ' Sent: Friday, March 01, 2002 8:57 AM Subject: RE: Struts and the UML modeling approach Salut, Use-case and use-case realizations are nice for the business-tier

Re: Struts and the UML modeling approach

2002-03-01 Thread Jean-Guillaume LALANNE
RE: Struts and the UML modeling approachHi, Thanks a lot for the tips. I am getting to the same type of conclusion. Too often, the use cases generated by the business analysts are compelling the architect and the developpers to mix up processes related to the presentation tier with the

logic:iterate String.

2002-03-01 Thread FARINE Arnaud - SOP ( [EMAIL PROTECTED] )
Hi! I use a Vector object which contains String Object. This Vector is in a JavaBeans, so I've got a getter method, which returns the Vector. When I want to iterate the list by: logic:iterate id=val type=java.lang.String name=user property=infoDB /logic:iterate How replace the

RE: Getting a ServletContext

2002-03-01 Thread David Cypers
httpservlet documentation == HttpServlet.getServletContext() -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: vrijdag 1 maart 2002 15:57 To: Struts Users Mailing List Subject: Getting a ServletContext Hey guys/gals =) I'm trying to get a ServletContext object in

Re: Getting a ServletContext

2002-03-01 Thread Eddie Bush
Ok now I feel stupid. Is it Friday yet? I'm sorry I had it so pinned in my mind the method was getContext that I never even thought to consult the docs. Thank You! - Original Message - From: David Cypers [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday,

nasty prob with action forwards, formbeans, http requests and submit() methods

2002-03-01 Thread Paul Devalier
I've got a nice little STRUTS app working by sticking to the path set by the community examples and keeping my views gray and skeleton-like. I'm digging STRUTS, my form beans are not volatile through various wizard-style screens, so now I move on to fleshing things out by prettyfacing the JSPs

Re: OT: Struts MySQL Hosting

2002-03-01 Thread Dan Trevino
AOIndustries (http://www.aoindustries.com) has been very good for me. On Fri, 2002-03-01 at 14:57, Oliver Kiessler wrote: hey you guys, come on, does anybody know a good java hosting company? Am Fre, 2002-03-01 um 15.57 schrieb dderry: Not really a very good recommendation. Such a

RE: OT: Struts MySQL Hosting

2002-03-01 Thread Vogel, Kent
http://www.servlets.com/isps/servlet/ISPViewAll -Original Message- From: Oliver Kiessler [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 9:58 AM To: Struts Users Mailing List Subject: Re: OT: Struts MySQL Hosting hey you guys, come on, does anybody know a good java

RE: Getting a ServletContext

2002-03-01 Thread David Cypers
hey, those things can happen, don't worry :-) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: vrijdag 1 maart 2002 16:23 To: Struts Users Mailing List Subject: Re: Getting a ServletContext Ok now I feel stupid. Is it Friday yet? I'm sorry I had it so pinned in my

Re: JavaDocs

2002-03-01 Thread David Corbin
Galbreath, Mark wrote: The question of the location of the latest JavaDocs keeps recurring here. If you have the source code, run the JavaDoc utility yourself and voila! The latest documentation. If you don't know how to do this, look it up in any basic Java book (or type javadoc at a command

Re: Get MessageResource in ActionForm

2002-03-01 Thread Bruce Geerdes
Struts Newsgroup (@Basebeans.com) wrote: can someone give me a hint, how i can access MessageResources (From ApplicationResources.properties) within a Subclass of ActionForm??? My prpoblem is, the ActionForm does not know anything about the ActionServlet, and so I have no Chance to get the

Re: Persisting values from a form

2002-03-01 Thread Bruce Geerdes
David Hoots wrote: I have a form that is a set of criteria used for performing a search. I don't need to persist the search criteria across Web sessions, but would like to persist them within a session. Every time I go to the page that has the search criteria a new form instance gets

RE: Get MessageResource in ActionForm

2002-03-01 Thread Juan Alvarado \(Struts List\)
I do the following in the perform method of my action classes: //Load our message resources MessageResources messages= getResources(); String message = messages.getMessage(messageString); This works for me. I hope it helps!!! ** Juan Alvarado

Re: Struts MySQL Hosting

2002-03-01 Thread Stephen Welds
Hi Matt, I have been using MMA since September 2001 to host a struts based application (ad-hoc Survey and poll system). MMA supports servlets using apache, tomcat and if required jboss. They provide access to mysql or postgresql databases. Their web site is http://www.mmaweb.net/index.html. So

Tomcat is Marking servlet action as unavailable

2002-03-01 Thread Dick Starr
Tomcat is Marking servlet action as unavailable when I try a test using the struts-blank sample app with struts-config modified for a data-source. I am using Tomcat 4.0.2, SDK 1.4.0, and Netbeans 3.3.1. I did recently upgrade from Caldera OpenLinux Server 3.1 to 3.1.1 and upgraded from Java 1.3

[Announce] Simper 0.2

2002-03-01 Thread Bryan Field-Elliot
Simper is a simple JDBC persistence mechanism for Java web apps It features many of the interesting features of EJB, such as automatic transaction demarcation (by way of Servlet Filters), and automatic change detection of database rows (by way of DynaBeans) Lastly, the notation by which you

connection pooling

2002-03-01 Thread bilal
Does anyone know of a decent (recommended for production) open source implementation of JDBC DataSource or so other connection pooling mechanism. thanks. bilal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Memory and Struts Tags/ActionForms

2002-03-01 Thread John M. Corro
I'm running into a situation where I've added a number of extra form fields (as Struts tags) to a page that was working before. Now that I've added them, the page will still display, but when I try to submit the form I get an exception saying java.lang.reflect.InvocationTargetException:

RE: Struts MySQL Hosting

2002-03-01 Thread Jakkampudi, ChandraseKhar
Anyone notice that the quality of the questions has gone up since Mark's post? Maybe a link to this article should be provided on the Jakarta site about the right way to ask questions. -JC -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 8:51

Re: connection pooling

2002-03-01 Thread Oliver Kiessler
poolman Am Fre, 2002-03-01 um 17.33 schrieb [EMAIL PROTECTED]: Does anyone know of a decent (recommended for production) open source implementation of JDBC DataSource or so other connection pooling mechanism. thanks. bilal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Struts and the UML modeling approach

2002-03-01 Thread Galbreath, Mark
Me too! -Original Message- From: Jean-Guillaume LALANNE [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 10:37 AM I haven't got any answer... But I'd like to get some !!! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: connection pooling

2002-03-01 Thread Chappell, Simon P
I was completely unable to get PoolMan working, but I found that http://www.bitmechanic.com/projects/jdbcpool worked quite well on a few other things (non-struts) that I've worked on. Simon - Simon P. Chappell

Re: connection pooling

2002-03-01 Thread Matt Raible
Most appservers have their own connection pooling built-in and automatic registration with JNDI. For instance, Tomcat 4.x uses Exolab's Tyrex (tyrex.exolab.org). This is probably your best solution, then you can just register your datasource as a resource entry in your web.xml and grab it using

Is html:html locale attribute needed for internationalisation?

2002-03-01 Thread JEWeaver
Have a struts app that is going to be internationalised this year. In a quick spike, I added an application resources file for a new country/language, deployed the app, and accessed it with several different browsers. I'd set these browsesr so their preferred country/language was the new

RE: Struts MySQL Hosting

2002-03-01 Thread Chris Birch
It already is under Ask Smart Questions at http://jakarta.apache.org/site/mail.html -Original Message- From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]] Sent: 01 March 2002 16:40 To: 'Struts Users Mailing List' Subject: RE: Struts MySQL Hosting Anyone notice that the quality

RE: Is html:html locale attribute needed for internationalisation?

2002-03-01 Thread Rustad, Aaron
You don't absolutely need it, but it may help in some instances of internationalizationread the synopsis at: http://www.w3.org/TR/html4/struct/dirlang.html#adef-lang It list where you might need to use something like that. Aaron. -Original Message- From: [EMAIL PROTECTED]

Digester and inheritance

2002-03-01 Thread Stacy Weng
Has anyone encountered problems with inheritance using Digester? It seems to me that the addSetProperties() does not when its object is inherited from a parent class...hence it assumes the get/set methods aren't defined, when they are actually defined in its parent class. I've looked into

Struts Validator Questions

2002-03-01 Thread Ben Kafka
Hi, I started using the struts validator package about a week ago and have the following questions: 1 - How do I get the validator to validate a required field for a selection box? My selection is on an integer property. I noticed in the validator-rules.xml file it is checking for

Re: OT: Struts MySQL Hosting

2002-03-01 Thread Matt Raible
http://www.wantjava.com - worth the money - they host big names like servlets.com and jboss.org Matt --- Dan Trevino [EMAIL PROTECTED] wrote: AOIndustries (http://www.aoindustries.com) has been very good for me. On Fri, 2002-03-01 at 14:57, Oliver Kiessler wrote: hey you guys, come on,

Re: Digester and inheritance

2002-03-01 Thread Fernando Esteban Barril Otero
I'm using digester and inheritance without problems. What kind of exception are you getting? Fernando - Original Message - From: Stacy Weng [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 01, 2002 1:20 PM Subject: Digester and inheritance Has

ActionForward question

2002-03-01 Thread Thomas Bednarz
Hi, Is it possible to send pages to a browser depending on the processing status of an action? Lets say you have to process a long operation in the background such as a credit card validation or the like, is it possible to show the user an intermediate page telling him that some work is in

Re: Struts Validator Questions

2002-03-01 Thread David Winterfeldt
--- Ben Kafka [EMAIL PROTECTED] wrote: Hi, I started using the struts validator package about a week ago and have the following questions: 1 - How do I get the validator to validate a required field for a selection box? My selection is on an integer property. I noticed in

RE: ActionForward question

2002-03-01 Thread Kanoza, Douglas (NCI)
I'm interested in the answer to this one myself. I was wondering if you could use the Response object to stream status messages out to the user. Has anybody done anything like that? -Original Message- From: Thomas Bednarz [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 11:58 AM

Re: Digester and inheritance

2002-03-01 Thread Stacy Weng
I have a parent class called Component, and several child classes extending from it. All the common get/set methods are defined in Component. So, after each child is getting created from addObjectCreate() method, I call addSetProperties() method to initialize their values (values are from

RE: ActionForward question

2002-03-01 Thread Robert Nocera
Your best bet is to set up an intermediate page that uses Javascript to do automatic refreshes. There were a couple other suggestions on this list a little while ago. One was to set up a page that lists the transactions in progress and their status and have the user refresh the page themselves.

RE: Digester and inheritance

2002-03-01 Thread Galbreath, Mark
You are misusing inheritance. Instead of extending Component, give HelperClass (was ChildClass) a private field that references an instance of Component (a design pattern known as composition).Each instance method in HelperClass invokes the corresponding method on the contained instance of

Re: ActionForward question

2002-03-01 Thread Eddie Bush
I may be wrong, but I believe the suggested work-around is to use a refresh of the 'status page'. Anyone? Other suggestions welcome =) - Original Message - From: Kanoza, Douglas (NCI) [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 01, 2002 12:59

Problem with Struts, Tiles, getAString, and bean:write

2002-03-01 Thread Molitor, Stephen
I'm using Tiles with Struts. In my tiles layout page, I'm setting the title for the page using 'getAsString'. The instantiating page sets the 'title' property using Struts' bean:write tag, to get the internationalized title string. Usually this works. However, sometimes it blows up, with the

Re: logic:iterate String.

2002-03-01 Thread Mikael Eriksson
Hi Use bean:write name=val / Inside your iterate As I understand you you just want to display things... Bean:write does a toString (or something like that) of the bean if not property is mentioned. Regards Mikael At 14:50 2002-03-01 +0100, you wrote: Hi! I use a Vector object which

Re: Digester and inheritance

2002-03-01 Thread Stacy Weng
Wouldn't that be a has-a relationship? If I do that, than I would end up with this (since originally I have many child classes extending from Component): public class Component { public String name = null; public String getName() { return this.name; } public void

RE: Struts MySQL Hosting

2002-03-01 Thread Robert
I knew I could count on you Mark to have a quick answer on a Friday... Robert -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 8:51 AM To: 'Struts Users Mailing List' Subject: RE: Struts MySQL Hosting See How To Interpret Answers at

Re: Digester and inheritance

2002-03-01 Thread Fernando Esteban Barril Otero
Try writting a small class to list the properties of your classes (using the JavaBeans API - PropertyDescriptor, etc.). Then, you can figure out what could be wrong. Digester doesn't has limitations of this kind. I have the same hierarchy and it works fine. Fernando - Original Message

RE: Digester and inheritance

2002-03-01 Thread Galbreath, Mark
It appears from your listings and descriptions that Component is basically a JavaBean and your helper classes should have has a relationships with it, not is a. Essentially, what I am suggestion is that you wrap Component in the helper classes. Wrappers are far more functional than subclasses

RE: Struts Validator Questions

2002-03-01 Thread Ben Kafka
Hi, Was able to fix the first problem by going into the js and checking for select-one and value=0. Regarding the 2nd issue, I have specified the class where I put the method in the valiation-xml e.g. my clasname=com.mypackagename.ui.RegistrationForm and I have a method there called

Can't get ActionError back from Action class

2002-03-01 Thread MARK NICHOLS
I know it must be late on Friday or I would be able to see what is wrong with the following code. I am trying to display the exception error message via html:errors/ with no luck so far. == Action code snippet = public final class TestFinishReasonAction extends Action { //

RE: Can't get ActionError back from Action class

2002-03-01 Thread Kanoza, Douglas (NCI)
Insert this: saveErrors(request, errors); before your return statement. -Original Message- From: MARK NICHOLS [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 4:07 PM To: [EMAIL PROTECTED] Subject: Can't get ActionError back from Action class I know it must be late on

How to use the value attribute in html:text

2002-03-01 Thread Alex Colic
Hi, I am trying to get the value attribute to work in the text tag. I have an 'ITEM' bean with two properties. One is set up when the user selects an item. When they go to a page I want the page to display the existing value in 'item.primeLocation' and I want the text box to be prefilled with

RE: Can't get ActionError back from Action class

2002-03-01 Thread MARK NICHOLS
Doh! thanks /\/\ ___ - mark h. nichols - dhsv022 at dhs dot state dot il dot us Ooo. They've got the Internet on computers now. - Homer Simpson [EMAIL PROTECTED] 03/01/02 03:15PM Insert this: saveErrors(request, errors); before your return

Re: Can't get ActionError back from Action class

2002-03-01 Thread Eddie Bush
you called saveErrors, right? =) ... snipped that part out, maybe? If not, that's probably the reason they're not being displayed! HTH, Eddie - Original Message - From: MARK NICHOLS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 3:07 PM Subject: Can't get

Re: Digester and inheritance

2002-03-01 Thread Stacy Weng
But these helper classes all have the same methods and attributes, I would have to define all the methods in all the helper classes like the example code from the previous email. And you are suggesting I do that? --Stacy - Original Message - From: Galbreath, Mark To: 'Struts

RE: Problem with Struts, Tiles, getAString, and bean:write

2002-03-01 Thread Molitor, Stephen
Correction: I'm setting the 'title' value via the bean:message tag (not the write tag, obviously.) -Original Message- From: Molitor, Stephen Sent: Friday, March 01, 2002 1:42 PM To: 'Struts Users Mailing List' Subject: Problem with Struts, Tiles, getAString, and bean:write I'm using

newbie question: is it ok to use struts selectively?

2002-03-01 Thread rgiri
Suppose I have a login page, with username and password and submit button. Is it ok to have something like the following? is it ok to use struts html tags only for the input type form but not for the others? if the output of the tags is same as what I have here, why should I be inclined to

JNDI Lookup, Websphere Vs Tomcat

2002-03-01 Thread hemant
Here is how we proceed for a DataSource JNDI Lookup with WebSphere //- ... java.util.Properties parms = new java.util.Properties(); parms.setProperty(Context.INITIAL_CONTEXT_FACTORY, com.ibm.ejs.ns.jndi.CNInitialContextFactory); // Create the Initial Naming

Re: JNDI Lookup, Websphere Vs Tomcat

2002-03-01 Thread Eddie Bush
I'm not sure how to do it, but I bet you could find the answer on the tomcat site. http://jakarta.apache.org/tomcat/index.html I believe they have a users' mailing list too =) - Original Message - From: hemant [EMAIL PROTECTED] To: struts [EMAIL PROTECTED] Sent: Friday, March 01, 2002

Re: newbie question: is it ok to use struts selectively?

2002-03-01 Thread Eddie Bush
You certainly can pick and choose which pieces you want to use. You can use the tag library without a thought of using the controller servlet. However, which would you rather write? input type-submit name=submit value=Login or html:submit value=Login/ The tag library (in many cases) isn't

RE: Struts Validator Questions

2002-03-01 Thread David Winterfeldt
Could I see your xml for the validator definition? Do you have the depends in the xml validator set to something so it is never getting to this validation? If you put debug code in the method, you never see it run either? David --- Ben Kafka [EMAIL PROTECTED] wrote: Hi, Was able to

RE: newbie question: is it ok to use struts selectively?

2002-03-01 Thread rgiri
yeah i understand the part that you have to type less and its simpler, but I want to know how is the performance hit? suppose I have a huge form with lots of input type, just to put something simple as input type-submit name=submit value=Login and its brothers and sisters, is it worth using the

Methods In Action Class

2002-03-01 Thread subhendukumar mohanty
Hi I found the following methods in Action.java which I think may help to control the session ID. That means if the user submits the page and press the back button and submit the page again it will throw an error. generateToken(HttpServletRequest request) saveToken(HttpServletRequest

RE: newbie question: is it ok to use struts selectively?

2002-03-01 Thread Sampige, Srinivas
Also I am interested in the maintenance aspect. What if the HTML developer sends the Web App developer a revised version of the screen with additional input fields? -Srinivas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 3:53 PM To:

Re: Struts Workflow Extension Package V0.9 and Struts 1.1

2002-03-01 Thread Robson Miranda
Hi... I also did some testings with this package in Struts 1.1, and got it working. There was some modifications in that must be done in the example application so it can work: In web.xml, the init-parameter mapping is not used anymore. Instead, you must add

  1   2   >