RE: Struts 1.1 ActionForm

2004-05-03 Thread Hubert Rabago
Again, sharing my opinion on his points with you guys. * "The DynaActionForm bloats up the Struts config file with the xml based definition. This gets annoying as the Struts Config file grow larger." I use FormDef, so this isn't a problem for me. * "The DynaActionForm is not strongly typed as t

Logging (Log4J and Digester)

2004-05-03 Thread Weiss, Daniel (EXTERN: FOURTH)
Hi folks, How could i config log4j to get no more DEBUG informations about the init method of the actionservlet? What will be the best way to config log4j? I would use chainsaw from log4j to see all Error Levels in a queue, but at present the debug msg are disturbing to use them. Any suggesstion

Re: Struts 1.1 ActionForm

2004-05-03 Thread Hubert Rabago
For most forms, you can probably get away with just using a DynaActionForm and combining it with the Validator. I still use ActionForm subclasses for really complex forms because of the control they provide. (I have a form with two dimensional indexed properties plus mapped properties, all in one

Problems with Tag in web.xml

2004-05-03 Thread Amol Yadwadkar
Hello List, I am using Struts 1.1 and I want to get connected to SQL SERVER 2000.I am using tag from web.xml where I am providing the driverclassname,url,username and password as the properties to this Tag. But I am getting an error of com.microsoft. . . . . .SQLServerDriver is not intilised Can

RE: Struts 1.1 ActionForm

2004-05-03 Thread Matthias Wessendorf
Eric, perhaps this is useful for you. http://weblogs.java.net/pub/wlg/964 cheers, matthias > -Original Message- > From: Eric Noel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 04, 2004 7:35 AM > To: Struts Users Mailing List > Subject: Struts 1.1 ActionForm > > > What is now the reco

Struts - How to Download a File

2004-05-03 Thread Singh_bibek
Hi All, We wish to provide a link to the user, clicking on which user can download the file(jpg,gif,mpg,wav,tiff) to his/her local disk. The user should be therefore prompted for the path where the file is to be saved. Can anyone guide me as to how to achieve the same using Struts. Thanks, Reg

RE: [OT] Page Cannot Be Displayed

2004-05-03 Thread Shyamal Shah
Guys, Not to offend anybody but would you please stick to the objective of this user group? One mail starts the chain of such mails and everyone's mail box gets flooded with it. We can have a separate yahoo or msn fun group for that :) Thanks, From: "Andrew Hill" <[EMAIL PROTECTED]> Reply-To

Struts 1.1 ActionForm

2004-05-03 Thread Eric Noel
What is now the recommend technique for ActionForm, do we still have to use them? or just make use of the DynaActionForm instead and then create the corresponding Action or LookupDispatchAction? - To unsubscribe, e-mail: [EMAIL

RE: [OT] Page Cannot Be Displayed

2004-05-03 Thread Andrew Hill
Take the advice about using your foot for the mouse seriously. The only proper use for a hand is holding a can of beer. ;-) Im not sure I agree on the wire though. Problem is that there is not enough springiness there. The best idea is to have the wires attached to firm springs and the springs att

RE:

2004-05-03 Thread Mark Mandel
Balu - Use the JSTL tag - it's a faster and better tag. Generally use the JSTL tags over the Struts tags where applicable. Regards, Mark -Original Message- From: balu raman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 May 2004 5:56 AM To: Struts Users Mailing List Subject: Hello, Ca

struts taglibs in xml syntax?

2004-05-03 Thread Tomasz Dreßler
Hi! I have problems to use the struts taglibs in jsp with xml syntax. When I use <%@ taglib uri="/WEB-INF/tags/struts-bean.tld" prefix="bean" %> the generated servlet contains the line '_jspx_dependants.add("/WEB-INF/tags/struts-bean.tld")' and everything is ok. But with the following syntax t

user@struts.apache.org

2004-05-03 Thread balu raman
Hello, Can someone suggest some pointers to some reading materials that gives a lot of good examples of iterate-tag, for a very dense struts newbie ? balu raman everest systems East Marredpally Secunderabad India - To unsubscribe

initialising user settings following login

2004-05-03 Thread Tim Dudgeon
I'm wanting to use container based authentication (e.g form based) with my struts app, but initialize some user settings (which will be read from a database) as soon as the user succesfully logs in. Any suggestions for how to best achieve this? Thanks Tim -

where to use ConvertUtils.register ?

2004-05-03 Thread Nicolas De Loof
Hello, I just discovered the use of BeanUtils.copyProperties to populate my formbeans from business objets. I would like to know where to configure my Converters (using ConvertUtils.register) ? I use a static initialiser in my BaseAction class. Do you have something better to suggest ? Nico

RE: background process

2004-05-03 Thread David Friedman
I haven't used it yet, but I suppose you could create a one-time (or repeating) job from within your Action into the Quartz scheduling engine (free): (http://www.opensymphony.com/quartz/features.html) Regards, David -Original Message- From: Bryan Hunt [mailto:[EMAIL PROTECTED] Sent: Mon

Re: Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread Eric Noel
On 5/3/2004 10:29 PM, [EMAIL PROTECTED] wrote: Yes. Extend the DynaValidator override the validate method validate(...) { ActionErrors errors = super.validate(...); // do your stuff if (...) { errors.add(...); } return errors; } Pedro Salgado On 04/05/03

Re: struts file upload strange error

2004-05-03 Thread Richard Yee
darn! I knew I should have answered this one! -R Dude, send me your address and I will fed-ex you a cold beer !! I should have thought of that before. Thanks for your help I've just wasted 24 hours on this If I was running linux I could have ran a pack

Re: background process

2004-05-03 Thread Bryan Hunt
If it's unix that you are running on you could run a command using "nohup" , the java orthodox way is to use a message driven bean/jms if you are running inside an applicaion server such as JBoss. --B atta-ur rehman wrote: Hello Robert, As far as I know Struts doen't provide anything like thi

background process

2004-05-03 Thread Wei, Robert (MAN-Corporate)
Hi Folks, I need implement an action which sends back a forward upon request and then, keep working on a batch process till finish in the background. Anyone familiar with an easy mechanism in struts 1.1? Thanks. Robert - To unsu

Re: Specified RequestProcessor not compatible with TilesRequestProcessor

2004-05-03 Thread Marcella Turner
Hi Joe - I did find some threads here on how people have set up SSLExt, most specifically Brian McSweeny's post on how he was getting started with it: http://marc.theaimsgroup.com/?l=struts-user&m=106631418831255&w=2 However, now that I have taken some of the requireed steps, I'm somewhat stuc

Re: Setting html:text readonly attribute

2004-05-03 Thread Riyad Kalla
Whats the diff between readonly and "disabled=true", I've been using the latter... On Monday 03 May 2004 01:25 pm, John Moore wrote: > At 21:07 03/05/2004, John Moore wrote: > >At 16:09 03/05/2004, Paul McCulloch wrote: > >>1) Use an html (rather than a jsp) tag: > >> > >> > > > >I've found tha

Re: Rendering Unfiltered Text

2004-05-03 Thread Craig McClanahan
Bill Siggelkow wrote: This is somewhat of an HTML question so please don't slam me ... I am using to display text containing HTML. However, I would like to find a way to prevent mangled markup when the data contains unbalanced tags. For example, if the value of bar is "Struts rocks!" -- the

Re: background process

2004-05-03 Thread atta-ur rehman
Hello Robert, As far as I know Struts doen't provide anything like this. And actually it should not! You'd use Thread class to implement such a task that needs to return immediately while running in the background. Hope this helps. ATTA - Original Message - From: "Wei, Robert (MAN-Cor

RE: initialising user settings following login

2004-05-03 Thread Robert Taylor
One solution would be to use a filter and place some flag in the current session which indicates if the user has been initialized. Map the filter so that its executed upon each request. If the user hasn't been initialized, then execute initialization code and update intialization flag, else ignor

Re: trouble with taglibs in xml syntax

2004-05-03 Thread Tomasz Dreßler
Thank you for your pations! Kris Schneider schrieb: As of JSP 1.2, the container makes packaged taglibs pretty easy to deal with. For details, you really should check out the JSP spec (or get a decent book). One of the things the container will do is inspect each JAR file in WEB-INF/lib and look

Re: struts file upload strange error

2004-05-03 Thread Bryan Hunt
Dude, send me your address and I will fed-ex you a cold beer !! I should have thought of that before. Thanks for your help I've just wasted 24 hours on this If I was running linux I could have ran a packet capture but am on crappy win 2000 box. --B

exception in tiles:insert

2004-05-03 Thread Lowery, Mat
When an exception occurs within a tag, it prints the exception message to the page. Why is this? How can I fix this problem so that it simply throws another exception and prints nothing to the page? I guess I could edit the source but in how many other tags does this occur? Has anyone else had

html:link forward + hard coded parameter

2004-05-03 Thread Dean A. Hoover
I want to use a forward I have defined when the user clicks on one of several on a page. A parameter indicates which one the user clicked on. In html, it might look like this: http://abc.com?x=1";>One http://abc.com?x=2";>Two http://abc.com?x=3";>Three How would I do this using the html:link tag.

Response to "error in setting up sslext"

2004-05-03 Thread Joe Germuska
What version of Struts are you using? My guess would be some kind of binary incompatibility. I'm using sslext with Struts 1.2.0, but I'm sure most people out there using it are using Struts 1.1. From the CVS logs (http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/ti

initialising user settings following login

2004-05-03 Thread Tim Dudgeon
I'm wanting to use container based authentication (e.g form based login) with my struts app, but initialize some user settings (which will be read from a database) as soon as the user succesfully logs in. Any suggestions for how to best achieve this? Thanks Tim ---

RE: [OT] Page Cannot Be Displayed

2004-05-03 Thread Robert Taylor
LOL !!! > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Monday, May 03, 2004 3:14 PM > To: Struts Users Mailing List > Subject: Re: [OT] Page Cannot Be Displayed > > > Joshi, Naveen wrote: > > > All, > > > > Just wondering if any of you get this "Page Cannot

Re: Setting html:text readonly attribute

2004-05-03 Thread Riyad Kalla
Ohhh hell. Chris thanks for the info, I have some serious code updates to make ;) Best, Riyad On Monday 03 May 2004 02:00 pm, Craig McClanahan wrote: > Riyad Kalla wrote: > >Whats the diff between readonly and "disabled=true", I've been using the > >latter... > > In the terminology of the HTML S

Re: Setting html:text readonly attribute

2004-05-03 Thread Craig McClanahan
Riyad Kalla wrote: Whats the diff between readonly and "disabled=true", I've been using the latter... In the terminology of the HTML Specification [1], a "disabled" control disallows user input *and* the field will not be "successful" on a form submit. In other words, there will be no corr

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
At 21:07 03/05/2004, John Moore wrote: At 16:09 03/05/2004, Paul McCulloch wrote: 1) Use an html (rather than a jsp) tag: I've found that this, unfortunately doesn't work, at least with my current browser of choice (Firefox), which insists on making the text field read-only as long as there

Re: Specified RequestProcessor not compatible with TilesRequestProcessor

2004-05-03 Thread Joe Germuska
Thanks so much for your prompt reply! I have downloaded the sslext from SourcForge and am wondering if there is a user friendly migration document that I can reference which spells out the implementation. Actually, I just recently started using sslext for the first time, and I was kind of surp

error in setting up sslext

2004-05-03 Thread Marcella Turner
I have been working on setting up SSLExt for an existing Struts application which was using SecureRequestProcessor but we wanted to also implement Tiles. So now I've configured the application to use SecureTilesRequestProcessor. However, when I call my tiles page I'm getting the following err

Re: struts file upload strange error

2004-05-03 Thread Martin Cooper
It's not a Struts bug, and it's not even a Struts-related problem. Any time you need to upload files, you must use a POST request with an 'enctype' of "multipart/form-data". Your form element should look like this: -- Martin Cooper "Bryan Hunt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
At 16:09 03/05/2004, Paul McCulloch wrote: 1) Use an html (rather than a jsp) tag: I've found that this, unfortunately doesn't work, at least with my current browser of choice (Firefox), which insists on making the text field read-only as long as there is a 'readonly' attribute present. I'm e

Re: Rendering Unfiltered Text

2004-05-03 Thread Riyad Kalla
Bill this will depending totally on the browser how 'broken' or 'unbroken' the text looks. Because of that, the only solution I can think of is to actually "fix" the text before displaying it, or remove the HTML markup. On Monday 03 May 2004 01:03 pm, Bill Siggelkow wrote: > This is somewhat of

struts file upload strange error

2004-05-03 Thread Bryan Hunt
Hi there list, I have been trying to get the most simple file upload example working with and have been receiving a strange error message that I just can't seem to shake. Here is the basics of my action form snip= public class ImageUploadForm extends ActionForm { // ---

Rendering Unfiltered Text

2004-05-03 Thread Bill Siggelkow
This is somewhat of an HTML question so please don't slam me ... I am using to display text containing HTML. However, I would like to find a way to prevent mangled markup when the data contains unbalanced tags. For example, if the value of bar is "Struts rocks!" -- then when I render this w

RE: Special Characters (german Umlaute)

2004-05-03 Thread Ruth, Brice
You can use the native2ascii application that is bundled with your JDK to automatically convert your native-encoded file with umlauts to \u format encodings. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 2:50 PM To: Struts Users Maili

Re: Special Characters (german Umlaute)

2004-05-03 Thread mattes
Hi Ralf, use unicode in the resource bundle. \u00c4 = Ä \u00e4 = ä and so on. A complete chart is available here: http://www.unicode.org/charts/PDF/U0080.pdf greetings mattes -- Mattes Balser | [EMAIL PROTECTED] High-End Services GmbH | www.nervmich.net

Re: [OT] Page Cannot Be Displayed

2004-05-03 Thread Rick Reumann
Joshi, Naveen wrote: All, Just wondering if any of you get this "Page Cannot Be Displayed" error once in a while, in Internet Explorer. Is there a solution to this issue. Thanks Naveen I'm sorry for not replying sooner to this message. Just getting caught up with struts-users messages. Joshi,

Re: Alpha and Beta testing...

2004-05-03 Thread Vic Cekvenich
There is a formula for projecting a release date based on # of duplicate bugs that I can't find now but : Basically, if you plot the number of duplicate bugs over time you can estimate the # of undiscovered bugs, thus you can estimate the release candidate date. If most of the bugs reported are

Special Characters (german Umlaute)

2004-05-03 Thread Ralf Schneider
Hi, my web application loads german strings from a resource bundle. Unfortunately, the special characters (german Umlaute like Ã, Ã, Ã) are displayed incorrectly if they come from the resource bundle. When I write them directly into the HTML code they are displayed correctly. At the beginning

Re: Remembering form values across requests

2004-05-03 Thread Jason Miller
What you are describing is the normal behavior of , which is the end product of . If you want to clear the form, you have two decent choices: a button that calls a client side function to run through the form and clear it, or server side logic to recognize the button press on submit and return

Alpha and Beta testing...

2004-05-03 Thread Michael Marrotte
Does anyone know if there’s any standard guideline for estimating how much alpha and beta testing an application should get?     Michael Marrotte Software Engineering Manager   1958 Commonwealth Lane Tallahassee, FL 32303 Phone 850.350.7852 Mobile 850.322.6780 Fax 850.575.1729

issue with LazyList

2004-05-03 Thread Mathew, Manoj
Hi all i tried this code and the control os coming to initMyList() but not going inside getName().. Inside the jsp i am accessing the element by friendName[1] and i get a aeeayIndexoutofBondException. ...Pls help.. public class myTestForm extends DynaActionForm { public void reset(Act

Re: Split web.xml into multiple files

2004-05-03 Thread Craig McClanahan
Prasad, Kamakshya wrote: Hi, I tried xml entity. It worked though I have few doubts. This is part of the xml which have that reference 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"; [ "file:///F:/struts/web/WEB-INF/servlet.xml" >]> Struts POC &xmlfrag; I presume that "" goes

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-03 Thread Craig McClanahan
Michael McGrady wrote: At 11:40 PM 5/2/2004, Craig McClanahan wrote: Michael McGrady wrote: Isn't it true, Craig, that this is not a problem for hot deploy of the classes that do this. If you have other classes that do not do this, then they cannot be hot deployed. But, what difference does

RE: forwarding to a pop-up window

2004-05-03 Thread Ricardo Cortes
I forgot to include the popup() Javascript function: