RE: Basic Action Question (I need more sets of eyes)

2004-09-19 Thread David G. Friedman
John, When I was first learning Struts, I saw that kind of page when I had an incorrect action method. I use execute() and there are two performs. One with this ServletRequest and ServletResponse while the other has HttpServletRequest and HttpServletResponse. Have you tried using execute() in p

RE: tiles-definition - role association issue

2004-09-19 Thread Sachin Bhutada
Hi Ashutosh, Well I havnt worked so extensively on role based security in tiles. I will try to go through your mail once again whenever I have a time. You may get some help from this site http://www.lifl.fr/~dumoulin/tiles/ . I will also send you one pdf which explains advanced til

RE: tiles-definition - role association issue

2004-09-19 Thread Ashutosh Satyam
I have not received any response on this mail yet. Any pointers on this will be appreciated. - Ashutosh -Original Message- From: Ashutosh Satyam Sent: Friday, September 17, 2004 9:21 PM To: [EMAIL PROTECTED] Subject: tiles-definition - role association issue As per the Tiles Definition

Basic Action Question (I need more sets of eyes)

2004-09-19 Thread John Mattos
Hi I've been staring at this for a while and I can't see what's wrong. Maybe one of you can help me out. I'm trying to create a basic login form. The form validation part is working (comes back and tells me that uid or pw has to be entered if I neglected to) but it SEEMS that the LoginActi

Basic Action Question (I need more sets of eyes)

2004-09-19 Thread John Mattos
Hi I've been staring at this for a while and I can't see what's wrong. Maybe one of you can help me out. I'm trying to create a basic login form. The form validation part is working (comes back and tells me that uid or pw has to be entered if I neglected to) but it SEEMS that the LoginActi

[ANNOUNCE] Struts 1.2.4 (General Availability) Released

2004-09-19 Thread Martin Cooper
The Struts team is pleased to announce the release of Struts 1.2.4 for General Availability. This release includes significant new functionality, as well as numerous fixes for bugs which were reported against the previous release, and supersedes the earlier 1.1 version as the latest official re

RE: ??? STRUTS 1.2.4 FEEDBACK ???

2004-09-19 Thread David G. Friedman
Niall, Let me restate: I don't want or need to use it, I simply found this seemingly obsolete comment in the 1.2.4 release candidate's tld while trying to help someone else. Technically, I was trying to find all of the way that John Crossman, post named "Custom ActionForward - How do I pick it u

RE: How To Handle Mis-Typing of URL By Users

2004-09-19 Thread David G. Friedman
Caroline, Think of the one 'unknown="true"' action-mapping as a catch-all. The path set on that particular mapping isn't important - any url that gets given to the struts ActionServlet that didn't match one of your other defined actions will go do that one. To give a more precise example, take t

RE: Slow Response Time (Tomcat 5.0.16)

2004-09-19 Thread David G. Friedman
If that is your question, go ask on a list appropriate to your web server software! (kidding) I've never heard of any browser that automatically compresses data for you in the fly, though that doesn't mean there isn't one. You usually need the client to compress the data, select it in your form's

Re: Slow Response Time (Tomcat 5.0.16)

2004-09-19 Thread Shailender Jain
Hello, Thanks for the response. My point is in just asking if there is any component like HttpCompression which can compress the data while it is send from browser to server. The server will then decompress the data. May be there is some active x control for Internet Explorer. Regards Shailend

Re: RFC: BLOBAction

2004-09-19 Thread Frank W. Zammetti (MLists)
> If I understand your code correctly, you are loading all the bytes of > the file (or BLOB) into memory at once, without good reason (a good > reason might be if several objects were editing an XML document before > it was to be served). > > I would use a variable (but small) buffer size. Then I w

Re: RFC: BLOBAction

2004-09-19 Thread Erik Weber
I think the general idea is good. Struts comes with an "upload" example, so there should be a "download" example, if there is not one already. So I'll start with some constructive criticism. If I understand your code correctly, you are loading all the bytes of the file (or BLOB) into memory at

RE: How To Handle Mis-Typing of URL By Users

2004-09-19 Thread Caroline Jen
Thanks for your reply. I am still a little confused and need a further help. My confusion stems from "if your URL is defined as http://www.yoursite.com/myapp/someAction.do but the visitor ended up typing in a Struts URL you never configured in your struts-config.xml file(s) such as http://www.y

RFC: BLOBAction

2004-09-19 Thread Frank W. Zammetti (MLists)
I posted this a few days ago to the Struts dev list... I only got one response, which I think either means (a) we're too busy to look at this right now, or (b) this is stupid, go away. I'm OK with either answer, but I thought maybe posting it here would be a good idea, especially if the answer is

Re: COMPARING PROPERTY VALUES OF TWO JAVABEANS ...please help

2004-09-19 Thread Frank W. Zammetti (MLists)
Erik's answer is what I would call the correct one... That being said, if for some reason you don't want to use that approach, I don't think there's anything specifically in Struts to do what you want anyway, but you might want to have a look through the Commons BeanUtils packages. If such a thing

Re: COMPARING PROPERTY VALUES OF TWO JAVABEANS ...please help

2004-09-19 Thread Erik Weber
Why don't you just override the equals method in your bean class? public boolean equals(Object o) { if (!(o instanceof MyClass)) return false; MyClass bean = (MyClass) o; if (!(name.equals(bean.name))) return false; if (!(sex.equals(bean.sex))) return false; //etc. . . return true; } Then y

Re: print FOP formated JSP how?

2004-09-19 Thread Thorbjørn Ravn Andersen
On Sun, 19 Sep 2004 22:43:04 +0200, Johannes Wolfgang Woger <[EMAIL PROTECTED]> wrote: > Hi. > I have to print a html page generated form a jsp-file. > It should be formated via FOP. > Image the jsp shown on the browser, with a print button to print > a fomatted version of itself. > > What shall I

print FOP formated JSP how?

2004-09-19 Thread Johannes Wolfgang Woger
Hi. I have to print a html page generated form a jsp-file. It should be formated via FOP. Image the jsp shown on the browser, with a print button to print a fomatted version of itself. What shall I do? Wolfgang - To unsubscribe, e

Re: Custom RequestProcessor and Custom ActionMapping impossible

2004-09-19 Thread Niall Pemberton
Well it works fine for me - I still believe its something to do with how you have configured or deployed Struts. Niall - Original Message - From: "Miguel Ros" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 19, 2004 7:21 PM Subject: Re: Custom RequestProcessor and Cu

COMPARING PROPERTY VALUES OF TWO JAVABEANS ...please help

2004-09-19 Thread O. Oke
Please, I want find out if the value of each of the matching properties in two beans are the same. BACKGROUND == I have two JAVABEANS A AND B. They both have name and sex properties amongst others. I want to find out if A.name == B.name and A.sex == B.sex. Is there any method in Struts

Re: ??? STRUTS 1.2.4 FEEDBACK ???

2004-09-19 Thread Niall Pemberton
Yes you're right - the warning comment implies you can configure it for the controller - this comment should have been removed. You could do this in Struts 1.0 - i.e. set a "forward" parameter in the web.xml to configure the Forward implementation to use - but this behaviour was removed in Struts 1

[Solved] German Umlaute

2004-09-19 Thread Philipp Roethl
Thanks to all for your help. I finally found the problem: one of the tiles had set its encoding to UTF-8 *argh*. After I removed that, everything worked perfect. Philipp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
What I meant was, if that is the actual HTML generated by your .jsp page, then you are missing the appropriate tag library imports on the page because the .jsp page is not processing the and rendering them to HTML. robert > -Original Message- > From: Priya Jotwani [mailto:[EMAIL PROTECTE

Re: html:select in Struts

2004-09-19 Thread Aditya Kapur
In order to use and you must put the values you want to diaplay in a collection like private static ArrayList monthDisplay=new ArrayList(); monthDisplay.add(new org.apache.struts.util.LabelValueBean( "Jan", "0" )); monthDisplay.add(new org.apache.struts.util.LabelValueBean( "Feb", "1" )); month

RE: ??? STRUTS 1.2.4 FEEDBACK ???

2004-09-19 Thread David G. Friedman
I thought it meant ActionServlet and therefore web.xml init-param settings like "config" and a few other parameters: > "forward" initialization parameter to the Struts > controller servlet. I tried it in the stuts-config.xml as an attribute in the "controller" but received th

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
Is this the actual HTML generated by the .jsp page? robert > -Original Message- > From: Priya Jotwani [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 19, 2004 7:44 AM > To: Struts Users Mailing List > Subject: html:select in Struts > > > Hi Guys, > > > > I have a JSP Page with t

html:select in Struts

2004-09-19 Thread Priya Jotwani
Hi Guys, I have a JSP Page with two select boxes. When I write the Usual HTML code for the two DropDown, everything seems to be in place. But as soon as I replace and with and tags, I cannot see any dropdown kinda thing and also, the options come as normal labels in the same line.I have imp

how to access JSF Managed Bean in Struts Action class

2004-09-19 Thread ravi naraharasetty
Hi All, How do I access JSF Managed Bean which is in session scope into a Struts Action Class. Thanks & Regards, Kumar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ??? STRUTS 1.2.4 FEEDBACK ???

2004-09-19 Thread Niall Pemberton
David, I believe you're mistaken, these comments relate to the struts-config.xml and not the web.xml and they work for me as described in Struts 1.2.4 Niall - Original Message - From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <