Re: Struts2: Ajax Pagination using JQuery

2008-06-27 Thread David Durham, Jr.
On Fri, Jun 27, 2008 at 1:43 PM, Raghu <[EMAIL PROTECTED]> wrote: > Hi, I want to implement ajax pagination on my struts2 page but I am not sure > how to implement that. I am not very good in javascript and jquery but > learning them.. > You might be interested in something like this: http://webp

Re: [OT] UML and Reverse Engineering

2008-04-11 Thread David Durham, Jr.
> A good opensource option is Poseidon for UML (http://www.gentleware.com/). > The community edition is free but that edition doesn't include Java->UML. Poseidon and ArgoUML share a common codebase. Argo does Java -> UML, and I think the community edition of Poseidon does as well, but I'm possib

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

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: [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: 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: 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: 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-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-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: 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: 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: [S2] dojo 0.9 and ***-conversion.properties

2007-08-02 Thread David Durham, Jr.
On 8/1/07, Oguz Kologlu <[EMAIL PROTECTED]> wrote: > Unexpected Exception caught setting 'contacts%5B0%5D.firstName' on > 'class easybed.web.struts2.ContactsAction: Error setting expression > 'contacts%5B0%5D.firstName' with value '[Ljava.lang.String;@284bf3' > > Dojo 0.4.3 used to work ok (probabl

Re: [s2] broken in IE (was: [S2] Multiple Submits with different actions in a Form)

2007-07-26 Thread David Durham, Jr.
On 7/26/07, Dave Newton <[EMAIL PROTECTED]> wrote: I thought IE's broken button behavior was already documented, including on the wiki? That may be. Here's the rendered HTML: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> Cancel Test

Re: [s2] broken in IE (was: [S2] Multiple Submits with different actions in a Form)

2007-07-26 Thread David Durham, Jr.
> Things like: > > > > > > > work for me in firefox, but don't seem to work in IE. Could you provide the rendered HTML that works in one browser but not the other? Sure. TestCancel.jsp -- http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <%@ taglib prefix="s" uri

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread David Durham, Jr.
On 7/25/07, Grish <[EMAIL PROTECTED]> wrote: no, what happens is the action specified in the form is what's executed. I'm using firefox as well. here's my button: I tried having the form specify one action and one button have to submit the form, and another button (like the one above) to hav

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread David Durham, Jr.
On 7/25/07, Grish <[EMAIL PROTECTED]> wrote: My problem though is I have a form with multiple submit buttons. I tried specifying the action on each submit button but the action in my form overrides the action specified in the buttons. I have success with this technique in Firefox, but I think i

Re: Struts 2 performance

2007-07-11 Thread David Durham, Jr.
On 7/11/07, Ing. Andrea Vettori <[EMAIL PROTECTED]> wrote: Can anyone suggest how to "test" my site for performance analysis (best with a simple free product) ? I can show here the result if interested. I haven't used it personally, but there's the Eclipse TPTP project that works with the eclip

Re: dispatcher setting encoding

2007-07-11 Thread David Durham, Jr.
On 7/11/07, Arnaud Cogoluegnes <[EMAIL PROTECTED]> wrote: So it seems the filter dispatcher transforms the encoding for all files (if configured with /* in web.xml), which can cause problem with UTF-8 and BOM. Is there any way to exclude some files from the filtering ? My first guess would be

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-21 Thread David Durham, Jr.
-Dave On 6/15/07, David Durham, Jr. <[EMAIL PROTECTED]> wrote: > On 6/14/07, M. Bitner <[EMAIL PROTECTED]> wrote: > > > > > Your action name has to correspond to your bean id, so: > > > or > > --

Re: [S2] Exporting to CSV and Excel

2007-06-18 Thread David Durham, Jr.
On 6/18/07, Jeff Amiel <[EMAIL PROTECTED]> wrote: On 6/18/07, Skip Hollowell <[EMAIL PROTECTED]> wrote: > I see that in the new 2.0.8 (Thanks Ted, Don and team) that the Jasper > plugin is included. Does that mean that Jasper is the endorsed > recommended way to export data to Excel and or CSV?

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-15 Thread David Durham, Jr.
On 6/14/07, M. Bitner <[EMAIL PROTECTED]> wrote: Your action name has to correspond to your bean id, so:

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-14 Thread David Durham, Jr.
On 6/14/07, Wesslan <[EMAIL PROTECTED]> wrote: Maybe http://struts.apache.org/2.x/docs/spring-plugin.html can be of some help. You have to give your spring actions (those you want dependency injection for) the same value for the "name" attribute as the value you give for your spring bean's "id"

Re: Extending DynaValidatorForm

2007-06-11 Thread David Durham, Jr.
On 6/11/07, Ambaris Mohanty <[EMAIL PROTECTED]> wrote: My code is as following... struts-config.xml Is this something where just adding "initial" will work for you? This will affect the behavior of an html-reset control, because it determines th

Re: Extending DynaValidatorForm

2007-06-08 Thread David Durham, Jr.
On 6/8/07, David Durham, Jr. <[EMAIL PROTECTED]> wrote: On 6/8/07, Ambaris Mohanty <[EMAIL PROTECTED]> wrote: > Please someone send me the sample code for extending DynaValidatorForm and > implementing the reset method. I have no idea on how to do it. Please help. > I

Re: Extending DynaValidatorForm

2007-06-08 Thread David Durham, Jr.
On 6/8/07, Ambaris Mohanty <[EMAIL PROTECTED]> wrote: Please someone send me the sample code for extending DynaValidatorForm and implementing the reset method. I have no idea on how to do it. Please help. I'm using struts 1.2.9. Thank you, HTML has the concept of a reset button: http://www.

Re: [OT] Serious memory leak

2007-05-30 Thread David Durham, Jr.
Maybe you're creating a new session with each request. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: eclipse struts2 projects "missing java project struts2-core"

2007-05-26 Thread David Durham, Jr.
On 5/26/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: There's probably an easier way, but I just create the elipse project for the project I want to use, like let's say, core and showcase, doing: core/ mvn eclipse:eclipse apps/showcase/ mvn eclipse:eclipse -Dwtpversion=1.0 and then import the

eclipse struts2 projects "missing java project struts2-core"

2007-05-25 Thread David Durham, Jr.
Hi, I checked out the struts2 trunk from svn and imported the struts projects via import projects. I see a list of projects: api, core, struts2-codebehind-plugin, ... I have an M2_REPO variable setup. core and api build without errors, but all of the plugin projects fail to build because they'r

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: 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

[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: 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

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: 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: 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: 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: 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: 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

[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: [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

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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: [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 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: 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: 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: 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: 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: 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: 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: [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: [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: 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 -

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: 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

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
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: 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: 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: [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: [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: [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: [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

[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: [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

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: 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: 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: 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

[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: [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

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: 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: 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

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: 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

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: 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: 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

  1   2   >