RE: Validator problem: html:messages tag and NullPointerException

2003-10-01 Thread Davide Bruzzone
-Original Message- From: Davide Bruzzone Sent: Tuesday, September 30, 2003 6:50 PM To: Struts Users Mailing List Subject: Validator problem: html:messages tag and NullPointerException Hello... I'm using the Struts Validator, and have come across some strange behavior: On only one

Validator problem: html:messages tag and NullPointerException

2003-09-30 Thread Davide Bruzzone
Hello... I'm using the Struts Validator, and have come across some strange behavior: On only one of the pages that uses the Validator (Not all of them... Some of the pages that use the Validator work fine, which makes the problem even more confusing), the following code causes a

Strange/invisible characters appearing before the html:html tag...

2003-09-24 Thread Davide Bruzzone
Greetings all... I'm using Struts 1.1 RC2, and am having the following problem: The following characters are being rendered before the first HTML tag on the page (They're invisible until I paste them into vi): [End of strange/invisible characters] If I paste

RE: log4j setup

2003-09-24 Thread Davide Bruzzone
Here are the steps: - Make sure that the appropriate Log4J JAR file is in your /WEB-INF/lib directory - Put your log4j.properties file in /WEB-INF/classes - Wherever you want to log, add the following code: import org.apache.log4j.Logger; ... // This is a private static attribute within the

Struts, sslext, and DNS

2003-09-11 Thread Davide Bruzzone
any of this have anything to do with reverse DNS lookups? Any help/suggestions/etc. would be greatly appreciated... Davide Bruzzone - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Opening/reading a file from a Struts application...

2003-07-29 Thread Davide Bruzzone
Greetings all... I'm trying to load and read a text file (on the server's filesystem) from within a Struts application. I'd like to be able to put the file in the WEB-INF, or the WEB-INF/classes directory, but am having trouble finding the file (i.e. I'm having trouble obtaining the path that I

RE: Opening/reading a file from a Struts application...

2003-07-29 Thread Davide Bruzzone
Thank you... I'll give it a try... Cheers... Dave -Original Message- From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 12:02 PM To: 'Struts Users Mailing List' Subject: RE: Opening/reading a file from a Struts application... -Original

Using tile:insert within a tile...

2003-02-20 Thread Davide Bruzzone
Greetings all... We've recently moved to tiles, and are trying to do the following: - Without using definitions (yet)... - We have a /tiles/address.jsp tile that we'd like to use within one or more other tiles (as a sub-tile). - We have a couple of tile definitions (as I said, without actually

RE: Using tile:insert within a tile...

2003-02-20 Thread Davide Bruzzone
or parent. Hope this help, Cedric Davide Bruzzone wrote: Greetings all... We've recently moved to tiles, and are trying to do the following: - Without using definitions (yet)... - We have a /tiles/address.jsp tile that we'd like to use within one or more other tiles (as a sub-tile). - We

Suggestions/best practices for accessing the same page/view from different locations within the application/workflows...

2003-02-10 Thread Davide Bruzzone
Greetings all... I just wanted to find out if anyone has any suggestions or best practices gained from experience with regard to accessing the same page from different locations within the application/workflows... Here's the scenario: 1) I have a page called MyPage. 2) Its possible to access

A single error page when using Struts 1.0.2 templates: Is this possible?

2002-12-03 Thread Davide Bruzzone
Greetings all... I've been puuling my hair out on this one for a while now, and I'm beginning to wonder whether or not I should be spending any more time on it. Is it even possible? i.e. When using templates (We're still using Struts 1.0.2), is it possible to have exceptions within the JSPs be

RE: A single error page when using Struts 1.0.2 templates: Is this possible?

2002-12-03 Thread Davide Bruzzone
-forwards forward name=systemError path=/system_error.jsp/ /global-forwards and when we catch exceptions beyond the normal we do a mapping.findForward(systemError); - Original Message - From: Davide Bruzzone [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday

Common error page when using Struts templates...

2002-11-27 Thread Davide Bruzzone
Greetings all... I'm using Struts (1.0.2) templates in my application, and am trying to figure out how I can set up a common error page. Ideally, just this error page would be displayed if an exception occurred on any of the pages that make up a single page (i.e. Header, toolbar, content, etc.).

RE: Weblogic Page Compilation.

2002-11-22 Thread Davide Bruzzone
: Davide Bruzzone [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, November 21, 2002 7:48 PM Subject: RE: Weblogic Page Compilation. Are you precompiling your pages? Dave -Original Message- From: Cristian Cardenas [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: Weblogic Page Compilation.

2002-11-22 Thread Davide Bruzzone
Really? What kinds of machines do you use? We even get a small first-time compilation lag on our dual-processor/2GB RAM Sparc boxes (which we use as our production servers). Dave -Original Message- From: Daniel Jaffa [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 8:31 AM To:

Displaying a single error page when using Struts templates...

2002-11-22 Thread Davide Bruzzone
Greetings all... I'm using Struts 1.0.2, and am using templates, so most of my pages are made up of more that one sub-page. My problem is that if, say, I have three sub-pages, and an exception occurrs on sub-page two (All the sub-pages are pointing to the same error page), the first sub-page is

RE: Mysterious PropertyUtils problem...

2002-11-22 Thread Davide Bruzzone
21, 2002 4:13 PM To: Struts Users Mailing List Subject: Re: Mysterious PropertyUtils problem... On Thu, 21 Nov 2002, Davide Bruzzone wrote: Date: Thu, 21 Nov 2002 15:39:27 -0700 From: Davide Bruzzone [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users

Mysterious PropertyUtils problem...

2002-11-21 Thread Davide Bruzzone
Greetings all... Has anyone ever seen something like this happen? java.lang.NullPointerException at java.beans.Introspector.addMethod(Introspector.java:741) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:705) at

RE: Mysterious PropertyUtils problem...

2002-11-21 Thread Davide Bruzzone
Never mind... Deleting, then regenerating the BeanInfo class fixed it. Most likely the BeanInfo class somehow got out of sync with the object, and it took deleting it, then regenerating it (and not simply updating it) to fix the problem. Cheers... Dave -Original Message- From: Davide

RE: Weblogic Page Compilation.

2002-11-21 Thread Davide Bruzzone
Are you precompiling your pages? Dave -Original Message- From: Cristian Cardenas [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 2:59 PM To: Struts Users Mailing List Subject: Weblogic Page Compilation. This is not an Struts specific question: Somebody knows an posible

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-15 Thread Davide Bruzzone
I have seen a lot of newspaper adverts with improve your CV guaranteed for £100. I would go to a graduate recruitment fair if indeed you are recent graduate (2nd jobber). Obviously that precludes me, but going to proper professional consultant can work wonders. Fortunately most financial city

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-15 Thread Davide Bruzzone
You certainly need to be flexible these days too. Agreed... While I was unemployed, I met a guy who told me he only wanted to do Linux-based C++ programming. He then wondered aloud why he'd been unemployed for a year... Domino apps dev. I hadnt done Java before (though I had been playing with

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-14 Thread Davide Bruzzone
Khalid, This is all just common sense really, but it helped me when I was laid off at the end of June (BTW, I was working again in five weeks, and as much as I'd like to think that I'm a rock star, I think I was monumentally lucky)... However, if it can help you or someone else on the list...

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-14 Thread Davide Bruzzone
Khalid, This is all just common sense really, but it helped me when I was laid off at the end of June (BTW, I was working again in five weeks, and as much as I'd like to think that I'm a rock star, I think I was monumentally lucky)... However, if it can help you or someone else on the

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-14 Thread Davide Bruzzone
Its only bad if you're one of the thousands of people applying for it. -Original Message- From: Daniel Jaffa [mailto:jaffad;courtinnovation.org] Sent: Thursday, November 14, 2002 12:09 PM To: Struts Users Mailing List Subject: Re: [OT] Where can I find a Struts / J2EE Jobs? Well i know

RE: Why would disabled=... not take a runtime expression? The d ocs say that it should...

2002-11-12 Thread Davide Bruzzone
, disabled is a boolena primitive). Thanks Martin... Dave -Original Message- From: Davide Bruzzone [mailto:Davide.Bruzzone;ngt.com] Sent: Monday, November 11, 2002 2:36 PM To: Struts Users Mailing List Subject: Why would disabled=... not take a runtime expression? The docs say

Why would disabled=... not take a runtime expression? The docs say that it should...

2002-11-11 Thread Davide Bruzzone
to the documentation, disabled should be able to take a runtime expression, and I use runtime expressions of the form %= someVariable % all over the palce elsewhere. Any insight would be greatly appreciated. Cheers... Davide Bruzzone -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org

RE: Why would disabled=... not take a runtime expression? The docs say that it should...

2002-11-11 Thread Davide Bruzzone
- From: Davide Bruzzone [mailto:Davide.Bruzzone;ngt.com] Sent: Monday, November 11, 2002 2:36 PM I'm trying to control whether or not some form fields are editable using a custom security tag. So, at the top of the page, I have something like this: %-- Page security --% bean:define id

RE: Why would disabled=... not take a runtime expression? The docs say that it should...

2002-11-11 Thread Davide Bruzzone
? The docs say that it should... In the struts-html.tld is rtexprvalue set to true for the disabled attribute? -Original Message- From: Davide Bruzzone [mailto:Davide.Bruzzone;ngt.com] Sent: Monday, November 11, 2002 5:36 PM To: 'Struts Users Mailing List' Subject: Why would disabled

RE: WebLogic/Struts/JSP performance woes...

2002-11-04 Thread Davide Bruzzone
... Dave Davide Bruzzone wrote: Lots of very ugly scriptlet code... :-) -Original Message- From: V. Cekvenich [mailto:vicc;users.sourceforge.net] Sent: Friday, November 01, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: Re: WebLogic/Struts/JSP performance woes... How would you solve

RE: WebLogic/Struts/JSP performance woes...

2002-11-04 Thread Davide Bruzzone
Phil, No, but I'll look into it (I've never used JMeter before - If for no other reason, I'm curious about the tool). Thanks for the suggestion. Cheers... Dave -Original Message- From: Phil Steitz [mailto:phil;steitz.com] Sent: Saturday, November 02, 2002 10:35 AM To: Struts Users

RE: WebLogic/Struts/JSP performance woes...

2002-11-04 Thread Davide Bruzzone
To everyone that jumped in to help and provide suggestions: A big thank you! The list, as always, is fantastic, and proved to be more responsive and helpful than paid support. Kudos! BTW, I performed some tests on Friday based on the feedback that I got, and it looks like the problem was

RE: WebLogic/Struts/JSP performance woes...

2002-11-04 Thread Davide Bruzzone
Daniel, Have you tried looking at the Query that you using. 1760 rows from a database may some time to transfer and query up. You can sometimes shave seconds from a query by just changing the order of the FROM clause and WHERE conditions. The query runs in under a second, and the data is

WebLogic/Struts/JSP performance woes...

2002-11-01 Thread Davide Bruzzone
, I'm perfectly willing to use Struts (or whatever other approach works). Does anyone have any experience in this area? Any help would be greatly appreciated... Cheers... Davide Bruzzone -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail

RE: WebLogic/Struts/JSP performance woes...

2002-11-01 Thread Davide Bruzzone
display of a non-precompiled JSP will take much longer, as it has to generate and compile the servlet class. -Original Message- From: Davide Bruzzone [mailto:Davide.Bruzzone;ngt.com] Sent: Friday, November 01, 2002 12:43 PM I have a page that, for test purposes, is generating

RE: WebLogic/Struts/JSP performance woes...

2002-11-01 Thread Davide Bruzzone
Lots of very ugly scriptlet code... :-) -Original Message- From: V. Cekvenich [mailto:vicc;users.sourceforge.net] Sent: Friday, November 01, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: Re: WebLogic/Struts/JSP performance woes... How would you solve this w/o Struts? .V Davide Bruzzone

RE: WebLogic/Struts/JSP performance woes...

2002-11-01 Thread Davide Bruzzone
a lot to me. Will your users be able to view and process all this info? David From: Davide Bruzzone [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: WebLogic/Struts/JSP performance woes... Date: Fri, 1 Nov 2002 13:43:26

RE: WebLogic/Struts/JSP performance woes...

2002-11-01 Thread Davide Bruzzone
display of the page? The first display of a non-precompiled JSP will take much longer, as it has to generate and compile the servlet class. -Original Message- From: Davide Bruzzone [mailto:Davide.Bruzzone;ngt.com] Sent: Friday, November 01, 2002 12:43 PM I have a page that, for test

Accessing another action's form from within an action?

2002-10-04 Thread Davide Bruzzone
Hello all... I'd like to know if this is possible, and if so how: - A user submits a form - The request hits the appropriate action (ActionA), and when the action gets to return (mapping.findForward(forwardName));, the forwardName forward maps to another action, say: ... forward

RE: Accessing another action's form from within an action?

2002-10-04 Thread Davide Bruzzone
( ActionAForm ); Would that work for you? Dave Derry - Original Message - From: Davide Bruzzone [EMAIL PROTECTED] Hello all... I'd like to know if this is possible, and if so how: - A user submits a form - The request hits the appropriate action (ActionA), and when the action gets

RE: Getting the current page's form name from within a JSP page?

2002-09-20 Thread Davide Bruzzone
a JSP page? 2002. szeptember 19. 22:17 dátummal Davide Bruzzone ezt írtad: Greetings all (again)... I was just wondering if there's a way to get the name of the form that's associated with the current view/JSP from within the JSP (i.e. How would I go about getting to the ActionMapping object

RE: Best practices for collections in form objects?

2002-09-19 Thread Davide Bruzzone
Robert, Thanks for your feedback... It was helpful, although I think what I got out of it is that, like with most other software development-related things, there's more than one way to do it. Cheers... Dave -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent:

Getting the current page's form name from within a JSP page?

2002-09-19 Thread Davide Bruzzone
Greetings all (again)... I was just wondering if there's a way to get the name of the form that's associated with the current view/JSP from within the JSP (i.e. How would I go about getting to the ActionMapping object using Struts tags so that I could get at the name attribute, and could write

Best practices for collections in form objects?

2002-09-17 Thread Davide Bruzzone
Greetings all... I'm trying to find out if there are any known best practices when it comes to collections within form objects? - First, if a collection of stuff (i.e. Either objects that contain multiple values, or collections of single values such as strings) needs to be displayed on a page