Re: Websphere 4.02 Struts Deployment

2002-05-31 Thread Danny Mui
I have a pretty complicated struts 1.1b app running on Websphere 4.02 on Windows 2000 and have yet to see the error that you've received. The steps I had to take to deploy to websphere were: 1) http://marc.theaimsgroup.com/?l=struts-user&m=102142014616118&w=2 2) Set the JVM settings for the Defau

RE: [ANN] Struts Wizard v1.0.2 for JBuilder

2002-05-31 Thread John Menke
Thanks for the wizard! Are there any instructions on how to install/use it? I have unpacked the files into my plugins directory but don't know where to go from there :) john > -Original Message- > From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 8:51 AM >

Re: Request for an example for getting the locale from a struts taglib

2002-05-31 Thread Craig Laverty
>> I know that the locale is in the request but am not sure how to access it. >request.getLocale(); >-Vincent. Thanks. <%=request.getLocale()%>works great. Craig. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: nested:iterate and updating a database

2002-05-31 Thread @Basebeans.com
Subject: Re: nested:iterate and updating a database From: "Ken Holzer" <[EMAIL PROTECTED]> === Thanks Arron, I got it all working great. Thanks Again, Ken "Arron Bates" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Once the servlet has updated the collection coming in from t

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread Raffy_Lata
thanks James Holmes <[EMAIL PROTECTED]> on 05/31/2002 03:03:23 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Re: Arbitrary parameters in ActionMapping? That's just the thing. You have to define

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread James Holmes
That's just the thing. You have to define a method in your action class for each element you define. Basically if you have a property names "test" then your action class needs a method called setTest(String str). HTH, -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- [EMAIL PR

Re: errorPage directive works incomprehensibly sometimes

2002-05-31 Thread Jonathan Fuerth
On Fri, May 31, 2002 at 03:21:19AM -0700, Sergey Sinelnichenko wrote: > process exception. But sometimes, output of "/app_error.jsp" page > APPENDS to output of page, where an exception occur (error-fire > [...] > > What is it, and how may I fix this behaviour? When something in your JSP throws

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread Raffy_Lata
Once the properties are defined in the config xml, how do you access them from the action class? James Holmes <[EMAIL PROTECTED]> on 05/31/2002 01:32:51 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subjec

Re: please help - validator null pointer

2002-05-31 Thread Fernando Esteban Barril Otero
I don't know where to find a complete documentation of validator. Try to set the form name attribute to be equal to the action path attribute (which is required by the server-side validation). Like: --- struts-config.xml --- --- validator.xml --- In the jsp, you could use the

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread James Holmes
Rick, You can already accomplish what you are describing with the current Struts architecture via elements. This will call the setProp(String value) method of your action object with the "val" value. The Struts Console makes it easy for setting these properties on actions. http://www.ja

Arbitrary parameters in ActionMapping?

2002-05-31 Thread Rick Mann
I've noticed a few people proposing solutions for various framework limitations that use the "param" attribute of the tag. Obviously, only one parameter can reasonably be passed in this attribute. Does it not make sense to add a nested tag for parameters? In the build of Struts that I'm using, I

Re: Help with JDBC Connection Pool

2002-05-31 Thread Mark Johnson
If you've subclassed ActionServlet, you might try overriding init() to call super.init(). [EMAIL PROTECTED] wrote: >Subject: Re: Help with JDBC Connection Pool >From: "Ken Holzer" <[EMAIL PROTECTED]> > === >I tried to implant the info Mark had sent and when I start my server I get >the following

RE: please help - validator null pointer

2002-05-31 Thread Chen, Dean (Zhun)
I'm getting the same error. I'm using DynaValidatorForm though My validation.xml is: btw, where I can find the documentation on validation.xml? Dean Chen -Original Message- From: Fernando Esteban Barril

Referencing value objects via the ActionForm

2002-05-31 Thread struts-user
I know this has come up before, but I couldn't find a succinct answer when I searched through old notes. Here's my situation, which is probably typical of many Struts users. Let's say you have a page used to display and edit employee data. We get to this page using a path like: "/do/viewEditEmp

Re: Data type handling

2002-05-31 Thread Ted Husted
ActionForms are not data beans and are really not intended to handle any binary types at all, native or not. Once the ActionForm is validated, it can be transfered to a data bean that uses binary types. For native types, you can use BeanUtils again. But for other types, you need to manage the

Re: please help - validator null pointer

2002-05-31 Thread Fernando Esteban Barril Otero
Try to put the dynamic="true" attribute in your form-bean definition. (MyForm extends ValidatorForm) I was getting a NullPointerException in the getDynaClass() method inside the validate() and it worked after I put the dynamic attribute (which tells that the bean have dynamic properties). Fern

Missing API pages

2002-05-31 Thread Chen, Dean (Zhun)
Anyone else getting this? Not Found The requested URL /struts/api/org/apache/struts/validator/DynaValidatorForm.html was not found on this server. Apache/2.0.37-dev Server at jakarta.apache.org Port 80 Thanks,

please help - validator null pointer

2002-05-31 Thread Peter Onthrops
I am having problems installing the validator. I am getting a NullPointerException (see below) in the validate method of ...commons.validator.Validator. I followed the install instructions and just can't figure out what is causing the exception. Has anyone encountered this? --

RE: [Struts Tips] #2 - Template Method Dispatch Action?

2002-05-31 Thread Molitor, Stephen
As is, the DispatchAction in Struts 1.02 cool, but does not provide direct support for eliminating or consolidating duplicate code from related tasks. It's just a different style. With DispatchAction, one can have one big action class to handle related tasks, as opposed to several little Action

Re: Request for an example for getting the locale from a struts taglib

2002-05-31 Thread Vincent Aumont
> I know that the locale is in the request but am not sure how to access it. request.getLocale(); -Vincent. -- To unsubscribe, e-mail: For additional commands, e-mail:

Request for an example for getting the locale from a struts taglib

2002-05-31 Thread Craig Laverty
Hi, Can someone show me a quick example of how to display the users locale in a jsp using one of the struts taglibs? I know that the locale is in the request but am not sure how to access it. Did you know that searching for bean or taglib in the http://www.mail-archive.com/struts-user%40jakarta

RE: submit weirdness

2002-05-31 Thread Susmita Pati
cool -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 1:10 PM To: 'Struts Users Mailing List' Subject: RE: submit weirdness Thanks, Susmita, but Vincent's brief suggestion was all I needed - had everything else in place. At least I started

locale in struts 1.1b

2002-05-31 Thread Vincent Aumont
After I switched to struts 1.1b (from 1.0.2) the bean:message tag stopped displaying the messages in the browser's locale. It seems that the locale struts defines in the session is the VM's locale, not the browser's, as shown in the following code sample: public ActionForward someAction(...)

RE: submit weirdness

2002-05-31 Thread Galbreath, Mark
Thanks, Susmita, but Vincent's brief suggestion was all I needed - had everything else in place. At least I started using vi again yesterday (have been using JDeveloper 9i beta for the past 4 months), so I don't feel like a total lamer Mark -Original Message- From: Susmita Pati [mai

RE: submit weirdness

2002-05-31 Thread Galbreath, Mark
That did the trick, dude! Thanks - been a few years since I've done HTML/JavaScript stuff (have to now - no web page designers in our dev group). I still wonder why the doesn't work - it should. Struts bug? Mark -Original Message- From: Vincent Aumont [mailto:[EMAIL PROTECTED]] Sent:

RE: submit weirdness

2002-05-31 Thread Susmita Pati
Hi Mark Try this: function editpress() { var type = confirm("Are you sure you want to Complete the Order?"); if (type) { return true; } else { return false; } } and in the submit button -Original Message- From: Galbreath,

Re: submit weirdness

2002-05-31 Thread Vincent Aumont
Sorry, I should have given you the complete code snippet in my previous email: -Vincent. "Galbreath, Mark" wrote: > Anybody have/had any issues with submitting using client-side > (JavaScript) validation? I've tried everything from onsubmit="return > validate()" as a form parameter

Re: submit weirdness

2002-05-31 Thread Vincent Aumont
try: onclick="return validate()" -vincent. "Galbreath, Mark" wrote: > Anybody have/had any issues with submitting using client-side > (JavaScript) validation? I've tried everything from onsubmit="return > validate()" as a form parameter to onclick="validate()" on the input image > (using bot

submit weirdness

2002-05-31 Thread Galbreath, Mark
Anybody have/had any issues with submitting using client-side (JavaScript) validation? I've tried everything from onsubmit="return validate()" as a form parameter to onclick="validate()" on the input image (using both HTML and ) and though the JavaScript function is called, the correct conditio

RE: [Struts Tips] #2 - Template Method Dispatch Action?

2002-05-31 Thread Molitor, Stephen
As is, the DispatchAction in Struts 1.02 cool, but does not provide direct support for eliminating or consolidating duplicate code from related tasks. It's just a different style. With DispatchAction, one can have one big action class to handle related tasks, as opposed to several little Action

Re: HELP web-app does not allow servlet here

2002-05-31 Thread Craig R. McClanahan
On Fri, 31 May 2002, Pae Choi wrote: > Date: Fri, 31 May 2002 11:32:47 -0700 > From: Pae Choi <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: HELP web-app does not allow servlet here > > I don't thi

DynaForms, Model Layer, DAOs

2002-05-31 Thread Rick Reumann
Hi all, a few questions... 1) I haven't used Dynamic Action Forms yet, but am planning to on this next application. Are there any issues I should be aware of trying to create a DTO (or Value Object) from a Dynamic Form? In other words in my action class can I (should I?) do something like: Empl

ResultSet does Lazy load?

2002-05-31 Thread Jacob Hookom
Currently, I'm weighing the differences between JDO and a straight JDBC layer in my application. What I was noticing was that the JDO layer allowed much quicker execution based on the fact that I was caching based on primary key in an LRU cache. Driver aside, it is my understanding that ResultSe

Re: Passing DataSource into Model-land at init

2002-05-31 Thread Craig R. McClanahan
On Fri, 31 May 2002, Jeffrey Keays wrote: > Date: Fri, 31 May 2002 20:05:37 +0900 > From: Jeffrey Keays <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Passing DataSource into Model-land at init > >

RE: Include image in a Struts Submit Tag

2002-05-31 Thread Galbreath, Mark
LOL! Beat me to it! -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 12:09 PM To: Struts Users Mailing List Subject: RE: Include image in a Struts Submit Tag Sorry, syntax errorshould have been. James Mitchell Software Engineer\Strut

RE: Include image in a Struts Submit Tag

2002-05-31 Thread Robert Taylor
and yes, please review the documentation before posting. All tags are documented quite nicely in the struts-documentation.war which is distributed with Struts. robert > -Original Message- > From: Hayri Soenmez [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 31, 2002 12:00 PM > To: [EMAI

RE: Include image in a Struts Submit Tag

2002-05-31 Thread James Mitchell
Sorry, syntax errorshould have been. James Mitchell Software Engineer\Struts Evangelist Open-Tools.org Come and see what all the fuss is about... http://struts-atlanta.open-tools.org > -Original Message- > From: Hayri Soenmez [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 31, 2002

RE: Include image in a Struts Submit Tag

2002-05-31 Thread James Mitchell
James Mitchell Software Engineer\Struts Evangelist Open-Tools.org Come and see what all the fuss is about... http://struts-atlanta.open-tools.org > -Original Message- > From: Hayri Soenmez [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 31, 2002 12:00 PM > To: [EMAIL PROTECTED] > Subjec

Include image in a Struts Submit Tag

2002-05-31 Thread Hayri Soenmez
Hi, how can I set an Image in the the Struts-taglib ? Similar to html: Thanks Hayri -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How does the framework ensure any action to have self control ?

2002-05-31 Thread Kevin . Bedell
For runtime errors such as this, you'll need to use the JSP errorpage directive. In the error page .jsp you specify you can have your application recover "gracefully" (hopefully, anyway!). Don't believe there is any struts-specific errorpage support. "Robert Taylor" <[EMAIL PROTECTED]>

RE: How does the framework ensure any action to have self control ?

2002-05-31 Thread Robert Taylor
The Struts framework is not responsible for 'detecting' problems in the business tier. It however can be notified of any problems and take the corresponding action. For example, if your business object executes a query to logon a user and the connection hangs, the business object should throw an e

Re: HELP web-app does not allow servlet here

2002-05-31 Thread Kevin . Bedell
The DTD entry governing the web-app element from this DTD is: You can get the dtd just by pointing your browser to the location indicated: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd The elements inside the web-app element MUST (at least given this DTD) be in the EXACT order that

RE: How does the framework ensure any action to have self control ?

2002-05-31 Thread Galbreath, Mark
First, an action should never make a database call. Second, the call to the helper object making the db call should be wrapped in a try-catch and you can execute a line of control (specific forward) if an IOException occurs. Mark -Original Message- From: Struts Newsgroup [mailto:[EMAIL

How does the framework ensure any action to have self control ?

2002-05-31 Thread @Basebeans.com
Subject: How does the framework ensure any action to have self control 1 2 3 4 5 6 7 8 9 From: "Sanjib Islam" <[EMAIL PROTECTED]> === What I wanted to find out is whether the framework provides some way for an action to remain in control of what's currently being processed. For example, if an a

Re: HELP web-app does not allow servlet here

2002-05-31 Thread @Basebeans.com
Subject: Re: HELP web-app does not allow servlet here From: "Patrick Schilling" <[EMAIL PROTECTED]> === I don't know a lot about it, but I am using the 2.2 DTD and I get an error if I don't have them in the correct order. -Patrick "Pae Choi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROT

Re: HELP web-app does not allow servlet here

2002-05-31 Thread Pae Choi
I don't think that it's related to the parser. It's DTD from the spec. v2.3. He seems using the v2.2 which means the order constraint is not matter here. Pae - Original Message - From: "Struts Newsgroup" <@[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 8:25 AM Su

Re: HELP web-app does not allow servlet here

2002-05-31 Thread @Basebeans.com
Subject: Re: HELP web-app does not allow servlet here From: "Patrick Schilling" <[EMAIL PROTECTED]> === Hello, I know that the parser can be sensitive to the order of the tags. Try placing diplay-name and description first, then servlet, then servlet-mapping, and finally taglib. ie. ...

Re: Dependency Validations.

2002-05-31 Thread @Basebeans.com
Subject: Re: Dependency Validations. From: "Anand Jayaraman" <[EMAIL PROTECTED]> === Thanks Drago. I will try it. "Drago Jenko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Try this! > > > On jsp you have id_field1 and id_field2 > > This validation checks, if id_field1 is e

Re: HELP web-app does not allow servlet here

2002-05-31 Thread Pae Choi
Show us the lines between the and tags Also, do you have anything between and tags? Pae - Original Message - From: "Struts Newsgroup" <@[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 7:55 AM Subject: HELP web-app does not allow servlet here > Subject: HELP

DynaValidatorForm Comparing Passwords

2002-05-31 Thread Steve Humphreys
I have a form that creates a new account. The form has two password fields. The second password field is a confirmation of the first password field. I am using the DynaValidatorForm to validate the form. I would like to compare the two password fields as part of the validation. Does anyone kno

Re: Nightmare with response header 'content-disposition'

2002-05-31 Thread Tom Bednarz
Hello, Many thanks for your code. Two questions: What does mean inline; instead of attachment; ? Is it correct that you have the files you send physically stored on the disk of your web application server? (You have a method returnFile() where you seem to read from a file into a ServletOutputStr

HELP web-app does not allow servlet here

2002-05-31 Thread @Basebeans.com
Subject: HELP web-app does not allow servlet here From: "jambo" <[EMAIL PROTECTED]> === Anyone know why I get this error. I'm just trying to run javamail wewb example but the I get a XML parsing exception. I've checked the dtd and it looks OK to me. Is there a bug in the parser? Apache Tomcat/

RE: Advice: how strutty should I be??

2002-05-31 Thread Chappell, Simon P
How about: public class WeirdBusinessObject implements IVague, IUncertain { ... } I feel that this reflects reality better and OO is all about accurately modelling the environment. :-) Simon - Simon P. Chappell

RE: Advice: how strutty should I be??

2002-05-31 Thread Galbreath, Mark
You got it! (not that I would know or anything) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 7:58 AM hmm. I know! I think all my interfaces should be extending IUnknown yes? -Original Message- From: Galbreath, Mark [mailto:[EMAI

Re: Passing DataSource into Model-land at init

2002-05-31 Thread Adam Hardy
> > > My current thinking is that objects from the model package are indeed > destined to be cached in the session and application scopes, but only > as generic Object references (Beans). i.e.: > > - User submits login form. > - Login Action gets called, marshals username, password to login() >

DAO- BO in Struts

2002-05-31 Thread Rick Reumann
Ranjan, Sorry to bother you again. Have two quick questions that you probably already answered for me but with all the threads I have saved I can't seem to find it. 2 Questions after your post below... On Thursday, May 16, 2002, 12:14:38 PM, Ranjan wrote: PR> The way I do it is - BO -->> DAO

Fuzzying model-controller separation (was [Struts Tips] #2)

2002-05-31 Thread Sri Sankaran
I have been extending the Apache scaffold.SuperAction class since it overrides the perform() method and lays out the framework for a crisp separation between navigational and business logic. DispatchAction makes it hard to achieve this goal. One would have to duplicate such a framework in eac

Re: Design Advice - Relational Databases & Java Objects

2002-05-31 Thread Steve Muench
Using the Oracle Business Components for Java J2EE framework, you would: (1) Create a "ViewObject" component and paste in what SQL query you want to work with (including any bind variables if the result you need is parameterized). (2) Use the viewobject to get the collection

RE: Nightmare with response header 'content-disposition'

2002-05-31 Thread SATISH.T
Hi... Me had to develop a similar application to download /view the files in browser.. am attaching my servlet code which u might find useful , with all the response headers set correctly. Special care had to be take for IE5.5 as it does'nt really behave as expected. -Original Message- Fr

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Andrew Hill
Ah well. Had last Monday off for Vesak day so cant complai... wait a sec! Monday AND Tuesday!? Right thats it! Screw you guys. Im going home monday and tuesday. yeh right. Theyll be expecting me to beleive they dont work 90 hour weeks next -Original Message- From: [EMAIL PROTECTED] [mail

Re: Nightmare with response header 'content-disposition'

2002-05-31 Thread Tom Bednarz
Well I fixed my attach(e)ment typo and now with MS IE it asks me to save the file or to open excel. Both do NOT work and an error message appears saying that IE is not able to open the source file or disk. Well, I do NOT generate a file on the web server. I simply create an output stream... Does

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Stephen . Thompson
Just to really annoy you, Monday and Tuesday are public holidays on this fair land. So I'll raise a beer to you all as you go back to work!!! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 31 May 2002 12:53 To: Struts Users Mailing List Subject: RE: HELP regarding

RE: [Struts Tips] #2 - Use DispatchAction to organize related operations

2002-05-31 Thread Jon.Ridgway
Hi Ted, I have a question about the dispatch action. On this face of it this seems like an excellent idea, but does it integrate with the role based action concept. If for example an administrator can add and delete but an employee can only update is there a way to specify declaratively which r

RE: [Struts Tips] #2 - Use DispatchAction to organize related operations

2002-05-31 Thread Andrew Hill
Didnt know there was a tip#1, but if it's as good as this one I think some archive searching is in order :-) -Original Message- From: Daniel J. D'Cotta [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 19:54 To: Struts Users Mailing List Subject: RE: [Struts Tips] #2 - Use DispatchAct

RE: Advice: how strutty should I be??

2002-05-31 Thread Andrew Hill
My only experience with doing COM was when I was playing round with directX about 3 years or so back after I finished uni trying to write the ultimate shoot-em-up game. Got as far as a single tiled scrolling background with several layers of cloud and a player ship that could shoot missiles before

: Cannot create iterator for this collection

2002-05-31 Thread DHS Struts
I am using the nested taglib to display a client and a list of the cases they are assigned. My form bean is stored in the session under the name "clientDetails". The name of the attribute holding the collection in the bean is "caseInfo". Therefore I have code like this in my JSP: [...] [

RE: [Struts Tips] #2 - Use DispatchAction to organize related operations

2002-05-31 Thread Daniel J. D'Cotta
Great stuff... Thx <- waiting for Tip #3 Daniel -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 7:40 PM To: 'Struts Users Mailing List' Subject: RE: [Struts Tips] #2 - Use DispatchAction to organize related operations Way excellent respon

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Andrew Hill
Yes. I think Fu is far more suited for a M$ project than Foo ;-) oh, well... well... Ill be first to have my weekend beer, and , and umm... enjoying that one stubbie of overpriced beer imported from home in the uh... rather cramped non aircon'ed lounge of a small HDB flat on the 9th floor wit

RE: [Struts Tips] #2 - Use DispatchAction to organize related operations

2002-05-31 Thread Galbreath, Mark
Way excellent response, Ted - thanks for the knowledge xfer. This is really useful stuff! Mark -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 7:12 AM Any software application is defined by the things it can do for you. In a Struts Web applicat

RE: Advice: how strutty should I be??

2002-05-31 Thread Galbreath, Mark
Hah! Open up any Visual Basic, Visual C++, or COM manual. Did you think you could hide behind the struts of your mother forever? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 7:27 AM Uh oh. Tell me your kidding mate! I haven't gone and reus

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Galbreath, Mark
Already finished (BTW: it's "Fu" - geeks got the military acronym wrong almost from the beginning); I'm on the "Bar" project now. Agreed! The POI Project description is priceless!!! I'll be sure to email you the beverage of choice I will be having as I BBQ on my multi-level backyard deck Sun

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Andrew Hill
The "Foo" project? lol Hehe. I like the naming convention for modules in the POI project ;-) http://jakarta.apache.org/poi/index.html Hehe. I suppose your revenge comes when its monday for me and still the weekend for you! -Original Message- From: Galbreath, Mark [mailto:[EMAI

Re: Data type handling

2002-05-31 Thread Will Spies/Towers Perrin
It may be that this is a newbie question but I can't seem to find any help via the archives ( yes, I tried there first ) and the documentation seems to suggest that all ActionForm fields are Strings. Can anyone point me to a solution here? I can't believe I'm the first to hit this so I'm convinc

RE: Advice: how strutty should I be??

2002-05-31 Thread Andrew Hill
Uh oh. Tell me your kidding mate! I haven't gone and reused a nomenclature already used by M$ have I??? arrgh! I must be being influenced by evil spirits. Quick wheres an excorcist! Not too late to refactor! - hmm maybe I wont be going home early. :-( -Original Message- From: Galbreath, M

RE: Advice: how strutty should I be??

2002-05-31 Thread Galbreath, Mark
Ah ha! Micro$oft background exposed! Burn him! Burn him! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 1:24 AM I have a 'rendering pipeline' which is just a collection of 'IDocumentRenderer'...and IRenderingPipeline ... IDocumentManager ...

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Galbreath, Mark
You would call it something like that lame debacle Micro$oft tried to push as an agent for even lamer home computer users...? asshole. :-) (started my Friday an hour ago and it's only 7 AM EST) Mark -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31

[Struts Tips] #2 - Use DispatchAction to organize related operations

2002-05-31 Thread Ted Husted
Any software application is defined by the things it can do for you. In a Struts Web application, the things an application does is usually defined by its action-mapping elements. An action-mapping is designed to be the target of an HTML form, and is often used with hyperlinks as well. Each acti

errorPage directive works incomprehensibly sometimes

2002-05-31 Thread Sergey Sinelnichenko
Hi, All! I'm using Struts 1.1b1, Tomcat 4.0.3 and JDK 1.4. In my application on every JSP page I'm using <%@ page errorPage="/app_error.jsp" %> directive. But something goes wrong. Some time everything works OK - in case of exception my "/app_error.jsp" page receives focus, and process excep

RE: Nightmare with response header 'content-disposition'

2002-05-31 Thread Rajeshwar Rao V
i think the syntax is wrong!!!Here is the correct syntax.. res.setHeader ("Content-Disposition", "attachment; filename=\"" + _fileName + "\""); and why this? response.addHeader("content-disposition", "filename="+es.getFileName());>remove it..not required

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Andrew Hill
Yes. Id have called it something like Webstruct myself. Everyone I encounter hasnt a clue what is meant by struts... Well actually Id have called it something like "WebapplicationmodelviewcontrollerUberlibrary" or perhaps just something simple like "Bob" (a favorite metasyntatic variable...). Ah

Re: Passing DataSource into Model-land at init

2002-05-31 Thread Jeffrey Keays
Adam Hardy wrote: > Hi Jeff > I'm at the same point as you in developing an app. I'm going to use the > Jakarta commons-dbpc & commons-pool. Thanks for the tip. I will probably try the commons-dbpc later on. That's the beauty of a standard interface like DataSource, the implementation can b

AW: ActionErrors in validate()

2002-05-31 Thread Hayri Soenmez
Wow, it works! Thanks! -Ursprüngliche Nachricht- Von: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Mai 2002 11:32 An: 'Struts Users Mailing List' Betreff: RE: ActionErrors in validate() Hi Hayri, It's possible that you are missing some entries from your Struts 'app

Validation DTD (was R: DTD Question - SIMPLE SOLUTION)

2002-05-31 Thread daniele rizzi
Hi all, by the way last night I wrote down the DTDs for validation.xml and validator-rules.xml Hope it might help (well I'm not even sure I've written down right...) bye, d.rizzi -Messaggio originale- Da: Emaho, Ghoot [mailto:[EMAIL PROTECTED]] Inviato: venerdì 31 maggio 2002 12.03 A:

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Galbreath, Mark
Well, a "strut" is just a piece of a framework, but Struts bills itself AS a framework, or "structure," so wouldn't "Structs" be the more appropriate name? Mark -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 6:04 AM "Struts" Not "struCts". My

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Galbreath, Mark
Yep: http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -Original Message- From: A Dodd [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 4:51 AM Any idea where I can find more information re structs 1.2 and frames, rgs Andrew -- To unsubscribe, e-mail:

RE: Need Help!!! Pls

2002-05-31 Thread Galbreath, Mark
Yes, there are a number of people here who can help. No, we cannot suggest a better way of doing what you are trying to do because you have not given us the slightest hint of how you are trying to accomplish your pre-visit form population. I suspect that you are relying on Struts to magically po

RE: DTD Question - SIMPLE SOLUTION

2002-05-31 Thread Emaho, Ghoot
A simple way of bypassing the need to access the DTD externally (as the Struts 'automatic' resolution within the jar does NOT always work - see mail archives) is to change the DOCTYPE def to something like the following: where the dtd directory is a subdirectory of your WEB-INF directory. Cop

RE: HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread Andrew Hill
"Struts" Not "struCts". My team-lead keeps calling it structs and its anoying enough when he does it, so dont anyone else start too! In regards to you question, I don't think Ive really seen much in struts that provides explicit assistance for framed pages, (though Im also something of a newbie.

R: R: Design Advice - Relational Databases & Java Objects

2002-05-31 Thread daniele rizzi
Well, I don't know if I'm close to the point you're making, but accessing to a db has (at least) two different meanings: a- you may read some data from one or more tables, related or non-related by foreign keys; b- you may change some data in one or more tables, that is inserting, updatin

RE: ActionErrors in validate()

2002-05-31 Thread Jon.Ridgway
Hi Hayri, It's possible that you are missing some entries from your Struts 'application' (see web.xml) resource bundle. Check that you have the following keys in this properties file: errors.footer= errors.header=Validation ErrorYou must correct the following error(s) before proceeding: You can

ActionErrors in validate()

2002-05-31 Thread Hayri Soenmez
Hi, I try to write some error messages in a validate()-method of LoginForm: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("error.username.required")) If any errors occur, the message value of "error.username.required" displays on web. But there is also "null" String at beginning and en

Re: R: Design Advice - Relational Databases & Java Objects

2002-05-31 Thread Adam Hardy
Yes sure but where would I do that? If I've got a complete DB access & object-relation mapping package between my business classes and my database, then I would have to write a whole new seperate bunch of classes to handle COUNT(*)s queries. I was hoping somebody who uses such a package could

Re: Passing DataSource into Model-land at init

2002-05-31 Thread Adam Hardy
Hi Jeff I'm at the same point as you in developing an app. I'm going to use the Jakarta commons-dbpc & commons-pool. I find your description of "passing DataSource into model at init time" ambiguous - surely you don't have any model components hanging around in sessions or application scope? Y

pageContext.removeAttribute(String) (no scope)

2002-05-31 Thread Nicolas De Loof
Hello, I would like to know if Struts (1.0.2) uses Servlet API 2.3 or 2.2 definition of pageContext.removeAttribute(String) behaviour: in 2.2, javadoc only says "remove the object reference associated with the specified name" (no precision about scopes) in 2.3 "Remove the object reference assoc

HELP regarding Structs 1.2 and HTML frames

2002-05-31 Thread A Dodd
Hi I'm relatively new to structs but have been told I need to use HTML frames with structs to provide the functionality required and this should work. I did not think that HTML frames were supported as part of structs can you give me any references to show how and if they could work within str

nightmare with response header 'content-disposition'

2002-05-31 Thread Tom Bednarz
Hi, First of all sorry for the cross-posting but I really don't know which is the correct list for my posting. I use Struts and velocity to generate my HTML pages. I use POI to generate some reports out of database data and other datasources such as CORBA servers. I face the following problem:

Re: DTD Question

2002-05-31 Thread Adam Cohen
I'm using Struts 1.0.2 and the DTD from the Struts Jar does get used but it is taking about 5 minutes on startup. I was under the assumption that it is because the server can't go to the web. I guess this could be more of a Tomcat issue than Struts. Good point. -Adam <[EMAIL PROTECTED]> wrote i

Nightmare with response header 'content-disposition'

2002-05-31 Thread Tom Bednarz
Hi, First of all sorry for the cross-posting but I really don't know which is the correct list for my problem. I use Struts and velocity to generate my HTML pages. I use POI to generate some reports out of database data and other datasources such as CORBA servers. I face the following problem:

R: Design Advice - Relational Databases & Java Objects

2002-05-31 Thread daniele rizzi
Hi Adam, I know it sounds silly as an answer, but if you avoid OO altogether for this sort of questions and SELECT COUNT(*) FROM MY_TABLE straight to the db? d.rizzi -Messaggio originale- Da: Adam Hardy [mailto:[EMAIL PROTECTED]] Inviato: venerdi 31 maggio 2002 10.01 A: Struts Users Ma

Re: struts and multi-valued database

2002-05-31 Thread Adam Hardy
Hi Wendy, struts doesn't handle the DB access. The standard framework would be to call business objects (the Model part of MVC) from your Action classes (the control part of MVC) to do their stuff, including reading & writing it to & from the DB, via a DB access layer or "object - relational m

  1   2   >