Re: connection pooling

2004-08-16 Thread David Durham
Saurabh Bhatla wrote: Now i want to know how to initialize the connection pool object and how to pass that object to all Action classes. I think you want to look at a piece of technology called JNDI. Here's a link to Tomcat's JNDI Datasource How-To: http://jakarta.apache.org/tomcat/tomcat-5.0-do

Re: connection pooling

2004-08-16 Thread David Durham
David Durham wrote: I think you want to look at a piece of technology called JNDI. Here's a link to Tomcat's JNDI Datasource How-To: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html Considering the list topic, I guess I should post this link instea

Re: connection pooling

2004-08-16 Thread David Durham
Jim Barrows wrote: Ah, okay.. I also posted a link to the struts way to do the JNDI data source stuff in that case.. you follow your web app servers guide on how to setup a data source, then you follow the destructions for a normal jndi data source. Something like: Additionally, Saurabh, hav

Re: Overwritting RequestProcessor, how to???

2004-08-16 Thread David Durham
Rick Reumann wrote: This is another reason why I still think calling validate() manually from your Action is a much better approach then relying on Struts do it for you. If you call form.validate() from your Action you then have control over what you want to do. So in your Action you could do...

Re: configuration violating J2EE spec?

2004-08-18 Thread David Durham
Craig McClanahan wrote: ... URI seen by the application properly reflects the one that the client sent, not the one that was internally passed from the proxy. What about a scenario where the proxy ends up mangling such details as the protocol. Specifically, Oracle 9ias' proxy has a nasty habit o

[OT]1,2,3,4 I declare a pun war!

2004-08-18 Thread David Durham
Jim Barrows wrote: Sometimes it's a real feta to get to work though That's cheesy. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT]1,2,3,4 I declare a pun war!

2004-08-18 Thread David Durham
Jim Barrows wrote: Sometimes it's a real feta to get to work though That's cheesy. Hey, as long is it doesn't make you blue, or throw bricks... No, it wouldn't make you bleu; it's a white cheese made from ewe or goat's milk... - Dave ---

Re: [OT]1,2,3,4 I declare a pun war!

2004-08-18 Thread David Durham
Jim Barrows wrote: Sometimes it's a real feta to get to work though That's cheesy. Hey, as long is it doesn't make you blue, or throw bricks... No, it wouldn't make you bleu; it's a white cheese made from ewe or goat's milk... Oh, now I feel sheepish. My bd... - Dave ---

Re: [OT]1,2,3,4 I declare a pun war!

2004-08-18 Thread David Durham
Jim Barrows wrote: Sometimes it's a real feta to get to work though That's cheesy. Hey, as long is it doesn't make you blue, or throw bricks... No, it wouldn't make you bleu; it's a white cheese made from ewe or goat's milk... Oh, now I feel sheepish. My bd... DIdn't mean to sound so gr

Re: configuration violating J2EE spec? [Auf Viren geprüft]

2004-08-19 Thread David Durham
[EMAIL PROTECTED] wrote: You may combine mod_rewrite and mod_proxy in Apache and do all kinds of wunderful and strange URL mangling things: That's all well and good, so long (AFAIK) as the original client's request is maintained when the servlet is called. Otherwise, as a servlet developer, I ha

Re: What's happening with include tags?

2004-08-20 Thread David Durham
Kris Schneider wrote: Which may, in fact, be a TC bug. Just tried it on WLS 8.1 SP3 and it worked I don't think it's a bug. > <%@ include file="splitHeader.jspf" %> Body <%@ include file="splitFooter.jspf" %> This is a static include -- meaning that the contents splitHeader, body, and splitFoot

Re: What's happening with include tags?

2004-08-20 Thread David Durham
Slattery, Tim - BLS wrote: Beats me. Clearly I don't understand the difference. The header.jsp page needs to have a parameter passed to it, and it looks like the syntax is the only way to do that. You can use the syntax, but you'll have to treat the include as a completely seperate jsp file. E.

Re: Struts 1.2

2004-08-25 Thread David Durham
Bill Siggelkow wrote: I am using Struts 1.2; Where do you download 1.2? Is it just a nightly build available here: http://cvs.apache.org/builds/jakarta-struts/nightly/ Thanks, - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Struts 1.2

2004-08-25 Thread David Durham
Bill Siggelkow wrote: Try here -- though 1.2.2 should be about the same as the nightly me thinks. Nah. These struts committers kick out shoddy nightly effluvia. :-D http://cvs.apache.org/dist/struts/ Thanks. - Dave - To unsubscr

Re: Struts 1.2.x

2004-08-26 Thread David Durham
Ted Husted wrote: GA grade Pardon my ignorance; what does GA stand for? I assume that it's not General Admission? Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Good luck Dream Team

2004-08-27 Thread David Durham
Guillermo Meyer wrote: Hey, Dream Team, Argentina wishes you good luck in bronze medal match! Is someone from the Dream Team on the list? Can I get a public key and a signed message? BTW, congrats! Effort and determination pay off (whether you win or lose). - Dave --

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread David Durham
Craig McClanahan wrote: (1) Scriptlets, since they are Java code, require someone at least passably familiar with Java to change them later. If you have folks that are primarily page authors, you are faced with a cost of teaching them enough about Java syntax to make the code it needs to do, or hav

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread David Durham
Erik Weber wrote: I found this JavaScript, which is supposed to listen for the "Enter" key on any browser (and submit the form on keypress). However, it doesn't seem to be working in IE: if (document.layers) document.captureEvents(Event.KEYDOWN); document.onkeydown = function (evt) { var keyCode =

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread David Durham
Erik Weber wrote: Also, does document.forms[0].submit() trigger the submit with a submit value of cancel? Does that make since? Hmm, would it not fail also on Mozilla if that were true? Perhaps. I just glanced at the thread, so I have a cursory understanding of the problem. - Dave -

Re: Hibernate VS ibatis, which is better?

2004-09-02 Thread David Durham
Way to shut down a perfectly good thread, Ted. ;-) BTW, I read your book. When's the book covering 2.0 due? Ted Husted wrote: On Thu, 02 Sep 2004 10:45:03 +1200, struts Dude wrote: Seeing so many support for either side, I might as well flip a coin to decide whether or not to learn hibernat

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread David Durham
Chuck Chopp wrote: I'm looking for some good solid examples that show how to configure the JSP files, struts-config.xml [global forwards, action mappings, form beans] and action classes where a JSP may forward/redirect to an action [may end up being a chain of actions] Dear God, please let no on

Re: [OT] Setting up a struts project in IDEA

2004-09-03 Thread David Durham
Denis Avdic wrote: Is there anyone out there using IDEA 4.5 that has a list of settings, paths and other things that need to be set in order for all the bells and whistles to work? I've got it installed and I can't stand what they did with Projects. With 3.0, it was easy to add a project and add

Re: Hibernate VS ibatis, which is better?

2004-09-07 Thread David Durham
Ted Husted wrote: On Thu, 02 Sep 2004 10:33:44 -0500, David Durham wrote: Way to shut down a perfectly good thread, Ted. -) BTW, I read your book. When's the book covering 2.0 due? 2.0 of what? :) Yeah, I guess it's too early to say. Someone could come along with a very comprehen

Struts XDoclet examples

2004-09-07 Thread David Durham
Is there a good site/spot for Struts XDoclet examples. I'm using: http://xdoclet.sourceforge.net/xdoclet/tags/apache-tags.html But, I'm also looking for some examples. Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Struts XDoclet examples

2004-09-08 Thread David Durham
That's good information; I read it with vigor... As you can tell, I'm excited by the prospects of using XDoclet instead of . And, I think I get the gist of Struts related support provided in XDoclet, but I have a couple of questions. 1 -- How good is the DynaValidatorForm support? I saw the

Re: Struts XDoclet examples

2004-09-08 Thread David Durham
I should probably post this stuff on XDoclet's list ... David Durham wrote: That's good information; I read it with vigor... As you can tell, I'm excited by the prospects of using XDoclet instead of . And, I think I get the gist of Struts related support provided in XDocle

Re: is strut a good choice in my case.

2004-09-08 Thread David Durham
Bill Siggelkow wrote: Brain spouts sludge Mouth obeys brain White coats come. I was going to post something about stress testing ... - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: [OT] Setting up a struts project in IDEA

2004-09-09 Thread David Durham
Rick Reumann wrote: David Durham wrote: Now you're forced into choosing from their "modules." You can basically almost always just choose the "java module" and then do as you say add what you need.. very easy. So you aren't really 'forced' into anything and

[OT] Re: Single sign-on

2004-09-09 Thread David Durham
Seaman, Sloan wrote: We use JNDI to hit our MS Active Directory server. MS Active Directory is for weenies. Are you browsing with Internet Explorer too? Works rather well :) Until you get fined by the worm police. BTW, this e-mail was typed from an XP workstation. Not *my* workstation, mind yo

Re: Moving from environment to environment

2004-09-10 Thread David Durham
Dave Bender wrote: How do you easily move a Struts application from one environment to another, e.g. from development to test to production, without having to change the struts-config.xml file to use a different database? If you're using ant, then you could maintain 2 seperate struts-configs and

Re: How to accress property set to action element

2005-12-06 Thread David Durham
nitin mandolkar wrote: I want to access property that i set in action element. Here is the action element in strust-config file. ^ How can i access 'authenticated'

Re: Unsupported major.minor version 49.0

2006-02-02 Thread David Durham
Laurie Harper wrote: Right, because by default a 1.4 compiler will target a 1.4 runtime. If you then try to run it on 1.3 you'll have problems unless you override the runtime target when using the 1.4 compiler. And this is typically done by specifying "-target" and optionally "-source" argume

Re: Struts in Action book

2006-02-02 Thread David Durham
I highly recommend this book for anyone. Yeah, the book has good info, even if it is a bit dated (published in 2002). Or is there a new edition out that I don't know of? -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Stress Load AJAX web application

2006-02-02 Thread David Durham
Stas Ostapenko wrote: Hi ! I have a Struts based web application where we using a lot of AJAX things. I want to test application under load - for example 100 concurrent users. Standard tools is not acceptable, so I need some kind of http client with XmlHttpRequest object supported. I know that t

Re: Struts in Action book

2006-02-02 Thread David Durham
Frank W. Zammetti wrote: Generally-speaking, anything in the "X in Action" series, or the "X: The Definitive Guide/Reference" from O'Reilly are worth your time, in my experience. I've yet to be disappointed by a book in either series. I haven't been dissappointed by X in action, either. I've

LazyValidatorForm FormFile instantiation exception

2006-03-21 Thread David Durham
Hi, I've got a form-bean definition like so: ... When I load the page the first time, I get an instantiation exception: java.lang.InstantiationException: org.apache.struts.upload.FormFile It doesn't seriously affect the application, but I'm curious about the solut

Re: Problem with Dyna Form

2005-07-28 Thread David Durham
Kade Jeevan Kumar wrote: Hi All, My requirement is to generate a set of dynamic rows(with checkbox and combo box) at client side using JSP and Struts 1.1. As of now, i am generating the above stuff using java script. How can i use Dyna Form to meet the above requirement (or) suggest me other w

Re: Loading properties

2005-08-03 Thread David Durham
[EMAIL PROTECTED] wrote: Hi! I would like my web-app to read in a *.properties file at startup (not for i18n, but the good old java.util.Properties, for example to get the e-mail address of the admin of the web-app). So I wrote a ServletContextListener which will load the properties-file and sto

Re: [OT] Re: I am need the solution too...

2005-08-03 Thread David Durham
[EMAIL PROTECTED] wrote: Readingyourmind...now. *sigh* I was unsuccesful. How ... to ... use ... onclick ... event ... to ... submit ... form ... Click me to submit form and populate a DynaActionForm - Dave - To

Re: [OT]: Struts and Hibernate lazy

2005-08-10 Thread David Durham
Konrad Billewicz wrote: Lindholm, Greg neom.com> writes: What I do is use a Hibernate Servlet Filter that closes the Hibernate session at the end of the request. This is used in conjunction with the HibernateUtils class that stores the Hibernate session in ThreadLocal storage. An example

[Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-19 Thread David Durham
Hi -- There's been some traffic on this list involving XMLHttpRequests and javascript, and since it's Friday ... My problem: How to use multiple asynchronous requests simultaneously without using the global namespace. For instance, I'd like to create a little DirectoryTree widget that I can

Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-22 Thread David Durham
Jeff Beal wrote: req.onreadystatechange = function() { processResponse(req); } yeah, I think this is what I was looking for. Thanks. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-23 Thread David Durham
Sudhaker Raj wrote: You may want to check OpenRICO - http://openrico.org Good link. Much appreciated. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [tiles] Empty attributes and Tomcat 5.5

2005-08-31 Thread David Durham
Wendy Smoak wrote: I dropped a (Servlet 2.3) Struts 1.2.7 + Tiles webapp into a fresh Tomcat 5.5 install, and started seeing directory listings of contents under WEB-INF. Tomcat properly refuses to serve any of the files; clicking on any of them gives the usual 404 that you'd get if you const

Re: [OT] AJAX (XMLHTTP) doesn't work with Ampersand

2005-09-06 Thread David Durham
Richard Yee wrote: You should be using URLEncoding.encode() to encode the response. This will replace ampersands with %26. The only problem is that the space character is also converted to a '+'. You then need to replace '+' with %20 on the server after using URLEncoder.encode() so that the JavaS

Re: troubles using java 5

2006-04-25 Thread David Durham
Dave Newton wrote: [javac] error: error reading C:\projets\M_LIB\.classpath; error in opening zip file Sounds like either your build file is wrong or one of your libraries is corrupted? Maybe post the relevant section of your build file. -Dave -

Re: [OT] - JSTL Parameter Conventions

2006-05-11 Thread David Durham
Kalcevich, Daniel wrote: Everyone, Does anyone know of a tool or library that can be used to perform similar operations as JSTL does with arguments like ${object.method}? I need to build a String that has to have arguments replaced on the fly and thought if I could find something like how JSTL

Re: [OT] - JSTL Parameter Conventions

2006-05-11 Thread David Durham
Kalcevich, Daniel wrote: Dang, I must have been spacing when I was looking on the Jakarta Site earlier. Thanks Dave. I wasn't sure if that's what you needed or not. Good to hear that it is. -Dave - To unsubscribe, e-mail: [

Re: UML diagrams of Struts

2006-05-12 Thread David Durham
Vaneet Sharma wrote: How can I get UML diagrams of Struts (specialy the class model diagram) ? I have also used EJB in my application. Most UML tools have the ability to import classes (or source) and generate diagrams. -Dave --

Re: Declarative Excpetion Handling

2006-05-16 Thread David Durham
Asad Habib wrote: Has anyone successfully used declarative exception handling with Struts? For some reason, my application always forwards to the input attribute of the action element instead of the path element of the exception element as defined in my struts configuration file. I have confirm

Re: Class diagrams in an Struts application

2006-05-16 Thread David Durham
Vaneet Sharma wrote: Hii Frnds I ahve developed a application using Struts and EJB, Now i need to create class daigrams of my projrect. Can somebody clear some doubts In class diagrams do we incl;ude action classes, form beans classes ,helper classes, (EJB classes) ? Whenever you creat

Re: two forms on the same page?

2006-05-16 Thread David Durham
Franklin Phan wrote: Is it possible to do this in Struts 1.1? Two form beans on the same page? How would the action mapping work? Unless you're using wildcard mappings, you'll likely need 1 ActionMapping per HTML form. -Dave --

Re: Forwarding or redirecting from a BaseAction

2006-05-16 Thread David Durham
Philihp Busby wrote: One approach would be to extend the Struts ActionServlet controller. I suggested this technique for auditing last week . You'd probably want to override processRoles instead, which happens right after Struts res

Re: using modules with JSPs behind WEB-INF

2006-05-16 Thread David Durham
Berk, Jason R. wrote: I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites my URL with the module name and causes 404 errors on validation failu

Re: how to prevent to access folders in our application

2006-05-18 Thread David Durham
Patil, Sheetal wrote: if I write in browser like http://indc-idc:1500/application/pages/ it give list of all the files in folder "pages" This is a Tomcat question, but if you look in the web.xml located at $CATALINA_HOME/conf/web.xml, you'll see something like this: default org

Re: [shale] All SHail hale

2006-05-18 Thread David Durham
Craig McClanahan wrote: On 5/18/06, Hey Nony Moose <[EMAIL PROTECTED]> wrote: ahem ... Can you guys please take it outside (i.e. offlist) and settle this among yourselves. Please? Nobody else is interested. You're probably right. At any right, I think Dakota is actually Michael McGra

Re: How to implement autorefresh?

2006-06-14 Thread David Durham
Cassio Pereira wrote: You should use javascript to post your form from time to time using the function "window.setInterval(function, milliseconds)" that you can read about at http://www.w3.org/TR/Window/#timers. If ou don't want the flickering effect that it causes, you could also use Ajax with

Re: Opening a popup with same data as the main window

2006-06-21 Thread David Durham
Anjishnu Bandyopadhyay wrote: Hi all, I need to open a popup screen from a main window (on click of a button), with the same data as the main window. (The purpose is that the popup will serve a print preview screen for the data to be printed.) I cannot go to the server back and fetch the data.

Re: How to get the "ActionErrors" object reference ???

2006-06-21 Thread David Durham
Sanjeeb Patel wrote: How do I get the "ActionErrors" object which have been saved in the request. http://struts.apache.org/struts-action/struts-core/apidocs/org/apache/struts/Globals.html -Dave - To unsubscribe, e-mail: [EMA

Re: Problem with one of the actions.

2006-06-26 Thread David Durham
javax.servlet.jsp.JspException: ServletException in '/audit.do': null org.apache.jsp.WEB_002dINF.tiles.template_jsp._jspService(org.apache.jsp.WEB_002dINF.tiles.template_jsp:98) Maybe there's a null pointer in template.jsp. -Dave

Re: Eclipse plugin

2006-06-29 Thread David Durham
David Friedman wrote: Also, if you are using Eclipse, I believe a new RELEASE version is coming out in the next week (or sooner) so you might want to upgrade almost immediately once it comes out in case it has any benefits (speed, new features, better possible stability, etc.). That's right, "C

Re: Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread David Durham
Mississippi John Hurt wrote: Hi, no longer allows "name" attribute. Problem is I have javascript that refers to a field on the form by the formName.fieldName. So now I get a javascript error. If I can no longer assign a name to the form, then the big question is how can I refer to a field on

Re: Does validator work with Lookup dispatch action

2006-07-12 Thread David Durham
mosho wrote: I have few concerns using lookupdispatch action, 1. Will I be able to validate using struts validator? 2. I need to validate only when next button is hit, is that possible? Is there any tutorial avialable for using lookup dispatch action. I've done something similar by explicitly

Re: Grouping common actions

2006-07-18 Thread David Durham
chamal desilva wrote: And is there a way that we can add common functionality to all methods in DIspatchAction class? Suppose you could extend DispatchAction and implement an execute(...) method that does something then returns super.execute(...). -Dave ---

Re: Multiple struts-config files with wildcards

2006-07-19 Thread David Durham
Volker Krebs wrote: I want to use wildcards. So it should look like this. config /WEB-INF/struts*, /WEB-INF/user/struts* Has anyone some hints ? I was thinking about extending org.apache.struts.action.ActionServlet and overwriting parseModuleConfigFile(Digester digester, Strin

Re: sample class which extends ActionServlet

2006-07-21 Thread David Durham
>>Please send the sample class which extends to Action Servlet!! > > For providing the authorization > It's better doing with Filters... Filters, yes, but there's a processPreProcess extension point in RequestProcessor. I think Servlets 2.2 doesn't have filters, but who uses that old thing?

Re: html:checkbox issue

2006-08-10 Thread David Durham
Adam Gordon wrote: I've got an html:checkbox in a form and the property is mapped/spelled correctly to the field/method in the bean. The behavior I am seeing is that the bean property (a boolean) is not being set based on the state of the checkbox. I fired up Ethereal and following the TCP s

Re: How to retrieve parameters off URL in JSP via Struts

2006-08-10 Thread David Durham
Adam Gordon wrote: A, if only the taglib docs were documented in a more thorough manner Since I wanted to render some Struts tags based on the presence of a parameter, I discovered the "logic:present" element and used the "parameter" attribute. Hooray for me! It's possible to use E

html:link and post instead of get

2006-08-11 Thread David Durham
Is there a common way to change an or from a get to a post http request? Looks like it would have to replace an href=""> with a form. RoR does this easily enough. One idea would be to add a method="post|get" option to or something similar to that. -Dave

Re: Getting maxFileSize from Controller in a JSP

2006-08-11 Thread David Durham
Adam Gordon wrote: Is there a way to reference the controller for a module from within a JSP? Specifically, I'd like to ask the controller what the max file size is set to. There's a method on the ControllerConfig class to get the max file size and the Javadocs say it's a JavaBean so I suspec

Re: Choices, choices...How does one choose a taglib for displaying tables?

2006-08-15 Thread David Durham
pantichd wrote: Some would say that variety is good and I agree but I also want to make sure we choose something that will work well with Struts and will be supported/enhanced going forward. I think displaytag is a reasonable choice. There are displaytag forums and displaytag mailing lists ho

Re: Unable to validate two different checkbox, through validation.xml

2006-08-15 Thread David Durham
Nilesh Sinha wrote: I have two different checkbox field in form. fields Property is boolean. I want to validate the form as: User should check at least one of the checkbox. Relevant info in the "Designing Complex Validations with validwhen" section of this document: http://struts.apache.or

Re: validator and DynaValidatorActionForm

2006-08-30 Thread David Durham
Tom Bednarz wrote: I think the validator fires too early, but probably I am doing something wrong. Maybe somebody can hp! Basically, you need 2 actions, one to populate the form and one to change the personal data. I have the following form bean defined in struts-config.xml: type="o

Re: validator and DynaValidatorActionForm

2006-08-30 Thread David Durham
Tom Bednarz wrote: So I used Don't specify value. Simply copy the properties from a subscriber object (session scoped or otherwise) to a formbean (the one being used to render the form values). There's a copyProperties method in org.apache.commons.beanutils.BeanUtils: http://tinyurl.c

Re: Antwort: Re: Creating new Session without invalidating the old one [*]

2006-08-30 Thread David Durham
[EMAIL PROTECTED] wrote: Hello! Thank you to all for your hints. Now, I want to tell you, what I did at last. My application consists of nearly 100% forms. The application is logically devided into two parts (-> represented by two browser windows), and it must be possible to get from one part

Re: Mapping between a request parameter name and a Struts form property name

2006-09-01 Thread David Durham
Andrey Falaleev wrote: Hello everybody, I'd have the following question: Let's suppose I call a Struts action, which is bound to a particular form through struts-config.xml. As far as I know, the request is being analysed internally by Struts at the beginning, such that for each form property th

Re: Mapping between a request parameter name and a Struts form property name

2006-09-05 Thread David Durham
David Friedman wrote: You jogged my memory and I have a solution from the Appendix of "Struts In Action." Version 1.1 and onward (possibly even in 1.0), struts ActionMappings have had two attributes: "prefix" and "suffix." The are from the ActionConfig class but carry over to the ActionMapping c

Re: Retrieve Data List

2006-09-06 Thread David Durham
Rokariya, Raman wrote: Hi, I am developing Web Client using Struts framework. I am facing problem in following scenarios. My application has a Pop Up Window which refreshes after some regular interval (minutes). The first time when the window opens, the data which is displayed in Tabular Grid

Re: [HELP][Struts 2] problem initializing hibernate in spring xml file

2006-09-08 Thread David Durham
This is a mysql related issue. Garner Shawn wrote: ERROR main org.hibernate.tool.hbm2ddl.SchemaExport - Access denied for user: '[EMAIL PROTECTED]' to database 'agejsoft' ERROR main org.hibernate.tool.hbm2ddl.SchemaExport - Unsuccessful: create table products (product_id integer not null auto_in

[friday] Re: Geronimo ??

2006-09-08 Thread David Durham
A. Lotfi wrote: Hi, I have a simple question, what's the difference between Tomcat and Geronimo ? Think you misspelled TomKat, a 'celebrity couple portmanteau' for Tom Cruise and Katie Holmes. http://en.wikipedia.org/wiki/Tomcat Geronimo himself was a Bedonkohe Apache. http://en.wiki

Re: Double Execution of Struts Actions

2006-09-08 Thread David Durham
Daniel Chacón Sánchez wrote: thanks Frank and Juan Pablo, Ok let me explain better (by the way, sorry for my english...) Yes Juan Pablo i have this javascript: function *cambiarAction*(formulario, action){ formulario.action = action; formulario.submit(); return false; } But not i don´t ca

Re: DynaValidatorForm

2006-09-12 Thread David Durham
leo mj wrote: mallik, use java.lang.Integer for integer and java.util.GregorianCalendar for Time. Yeah, but you don't really want to do that, either. You're best bet is to use String types for form-bean values, and convert to a different type while handing off to a model layer. Reasoning

Re: DownloadAction and concurrent threads

2006-09-14 Thread David Durham
David Grundberg wrote: My app needs to allow downloads of relatively large files (10MB). Because Struts can/will reuse Actions for different threads, I'm worried that when multiple requests attempt to download these big files that a single "BigFileDownloadAction" will block until a download is

Re: DownloadAction and concurrent threads

2006-09-14 Thread David Durham
David Durham wrote: David Grundberg wrote: Actually, Oliver Meyn wrote the following question. My apologies to David Grundberg for misquoting. My app needs to allow downloads of relatively large files (10MB). Because Struts can/will reuse Actions for different threads, I'm worried

Re: Struts2/WebWork and tagdir style tags?

2006-11-21 Thread David Durham
DNewfield wrote: Has anyone on this list had success creating .tag files under tomcat5.5 (with 2.4) with struts2 or webwork2? I can create and use them simply enough, as long as I don't try to pass in anything as an attribute. I cannot figure out any syntax (${bar}, %{bar}, #bar, bar, etc.) tha

Re: [s2] maven archetype + jasper plug-in

2006-11-21 Thread David Durham
David Durham wrote: Now my log4j.xml (relevant entries only): But I don't get DEBUG messages from struts in catalina.out. I only see INFO messages. I do see DEBUG messages from my action classes. I haven't checked struts 2 source code

Re: Struts2/WebWork and tagdir style tags?

2006-11-21 Thread David Durham
DNewfield wrote: David Durham wrote: I didn't think s2 or ww had its own EL syntax. You're right, of course. This is simply one of a number of places where the subtle differences between "%{FOO}", "${FOO}", "FOO", etc. (and locations where they're

[s2] maven archetype + jasper plug-in

2006-11-21 Thread David Durham
A few questions all bundled into one e-mail. First, I'm attempting to use the jasper plug-in for struts 2, and have a maven archetype as my starting point. I uncommented these lines in my pom.xml: jasperreports jasperreports 1.2.1 I then followed t

Re: Problem with struts and jfree chart

2007-03-06 Thread David Durham
>> From: GulliGulli Bob [mailto:[EMAIL PROTECTED] >> >> my struts application works fine before I put the >> jfree-chart jars >> (jfreechart-1.0.4.jar, jcommon-1.0.8.jar, >> gnujaxp.jar) in the classpath. >> Now I get the following errors: >> >> org.apache.commons.digester.Digester getParser >> SC

Re: Problem with struts and jfree chart

2007-03-07 Thread David Durham
GulliGulli Bob wrote: it works, when i add the jars as "external jars" (in eclipse), but now i have another problem. struts starts up without errors, but in runtime i get the following error: ... javax.servlet.ServletException: org/jfree/util/PublicCloneable at org.apache.jasper.runtim

Re: Setting Session time out

2007-12-26 Thread David Durham, Jr.
On Dec 25, 2007 1:56 AM, Raghuveer <[EMAIL PROTECTED]> wrote: > If session of login user expires or left unused for 15 minutes application > should fire session expire page automatically. This is something that is best accomplished from a client. HTML allows you to specify meta data about a docum

Re: Char lib for Struts 1

2007-12-28 Thread David Durham, Jr.
On Dec 28, 2007 7:08 AM, Sebastian Göttschkes <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm trying to find a chart lib for Struts 1(.3.8). It should be something > small, easy to install and use. I just need pie charts in 2D, nothing special. > > Any suggestions? It's not Struts specific but Goo

Re: unexpected behavior with a checkbox.

2008-01-02 Thread David Durham, Jr.
> Where the trouble comes in is if the field is unchecked which I thought > would set the value of the Boolean to "false." It doesn't, it remains > as a true. > > How do I implement behavior where if the checkbox is unchecked it sets > the corresponding property of the form to false? The issue is

Re: unexpected behavior with a checkbox.

2008-01-02 Thread David Durham, Jr.
> > > >request.getParameter("myUncheckedCheckbox") == null > > > > Oh.. yuck.. but thanks David for that work around. Tried it and it > works for my purposes. There are things that can be done to avoid to the ugly null check. 1. Don't initialize check-box fields. No initial values. 2. Don't

Re: unexpected behavior with a checkbox.

2008-01-03 Thread David Durham, Jr.
On Jan 2, 2008 10:59 PM, ravi_eze <[EMAIL PROTECTED]> wrote: > > hi, > > the workaround works, but causes problems if the checkbox should be > validated. More over the soln is based on assumptions that need not hold > always. Which solution are you saying is based on assumptions that need not hold

Re: unexpected behavior with a checkbox.

2008-01-10 Thread David Durham, Jr.
> > The issue is that an unchecked checkbox does not send a value when a > > form is submitted, so: > > This depends on (a) whether or not we're talking about S2 and (b) if we are > whether or not we're using an interceptor stack that includes the "checkbox" > interceptor. I just meant that an HTT

Re: File Upload problem

2008-03-19 Thread David Durham, Jr.
On Wed, Mar 19, 2008 at 5:19 AM, udaykumar <[EMAIL PROTECTED]> wrote: > > I am using struts and have an upload.jsp and its associated UploadForm.java > and UploadAction.java. The jsp's form has an enctype=multipart/form-data and > contains an html:file field to upload a file as well as a bunch o

Re: [OT] What do you code today?

2008-04-04 Thread David Durham, Jr.
On Fri, Apr 4, 2008 at 6:14 AM, Ted Husted <[EMAIL PROTECTED]> wrote: > So, if anyone else is up for sharing, I'd be interested in hearing > what sort of things other people are doing these days. (If your not > comfortable posting the list, feel free to mail me direct.) I'm working with python

Re: Struts2 tags behaviour customizable? isXyz() instead of getXyz()

2008-04-04 Thread David Durham, Jr.
On Fri, Apr 4, 2008 at 1:17 PM, akash agrawal <[EMAIL PROTECTED]> wrote: > myBean is not null, There are other field which are not boolean and I do get > them fine. Is it boolean, or Boolean? I've seen situations where I was hoping isX would return a reference to a Boolean (when reference with J

Re: Struts2 tags behaviour customizable? isXyz() instead of getXyz()

2008-04-04 Thread David Durham, Jr.
On Fri, Apr 4, 2008 at 1:39 PM, akash agrawal <[EMAIL PROTECTED]> wrote: > It is a Boolean property but I still think it should work no matter whether > it is boolean or Boolean. APIs I am using are not mine so I can't change the > bean, but there are workaround I can put in although they aren't

  1   2   >