Re: Displaying a single error message for multiple properties

2003-08-18 Thread Koni Roth
At the beginning I had also some problems using validation. Since I understand the power of validation it's one of the coolest thing... Validation displays you automatic one error message for multiple properties. To check if a property is empty or not, use required in your validation.xml. To

RE : Remote and local EJB

2003-08-18 Thread Laurent MARQUEZ
Yes, you can interface EJB with Jakarta Struts I use the pattern business delegate See chapter 13 Of Programming Jakarta struts -Message d'origine- De : Viral_Thakkar [mailto:[EMAIL PROTECTED] Envoyé : lundi 18 août 2003 07:35 À : Struts Users Mailing List Objet : Remote and local EJB

Re: [Validator] The Validator Wiki needs you !

2003-08-18 Thread Adam Hardy
Hi Robert, I put some stuff on there but my knowledge of wiki is only sketchy, so I have left a page where all the capitalized words have got a question mark after them for creating new pages. I couldn't find any wiki instructions anywhere - if you give me a good link, I can post it on the

Using Struts validator framework outside of struts

2003-08-18 Thread Mehran Zonouzi
Hi, I am very new to the validator framework. I would like to use it outside of Struts framework. Is it possible to do this? If so can someone point me in the right direction plz... Thank you -- This e-mail may contain confidential and/or privileged information. If you are not the intended

Form data is not null and the length is 0 -- why this ?

2003-08-18 Thread Stefan Berger
Hi, I am confused. I have a form with fields and after pressing the button i got a surprise. My Form: String field; and the get/set Methode When this field is not filled -- the form says the field is not null but the length is 0 why that ? Regards Stefan

RE: Form data is not null and the length is 0 -- why this ?

2003-08-18 Thread Andrew Hill
!= null -Original Message- From: Stefan Berger [mailto:[EMAIL PROTECTED] Sent: Monday, 18 August 2003 16:58 To: [EMAIL PROTECTED] Subject: Form data is not null and the length is 0 -- why this ? Hi, I am confused. I have a form with fields and after pressing the button i got a

[OT]Servlet Context/Static Fields

2003-08-18 Thread Puneet Agarwal
Is there any advantage to using the application global servlet scope to store objects versus placing them in a static class that gets loaded. Regards, Puneet Agarwal Tata Consultancy Services, C-56, Phase - II, NOIDA 201305 (India) Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044) FAX      

Re: Form data is not null and the length is 0 -- why this ?

2003-08-18 Thread Firat TIRYAKI
null means the related object has no reference, it has no memory allocation, and it has no value. A string may have 0 length but may be referenced in the memory area, so null doesn't mean 0 length in strings. F. - Original Message - From: Stefan Berger [EMAIL PROTECTED] To: [EMAIL

RE: [OT]Servlet Context/Static Fields

2003-08-18 Thread Andrew Hill
If your in a distributed environment changes you make to properties of those static classes will not be propogated to other JVMS (or indeed other classloaders), whereas the stuff in ServletContext should be (though Id love to hear an explanation of how it knows when to do it!). -Original

file upload problem - FileNotFoundException

2003-08-18 Thread Kuba
I have a weird problem using fileupload. Exception stack is (I'm using IBM WSAD): [03-08-18 08:50:34:577 CEST] 613ea32e RequestProces I org.apache.struts.action.RequestProcessor Processing a 'POST' for path '/updateTicket' [03-08-18 08:50:35:027 CEST] 613ea32e WebGroup E SRVE0026E:

RE: file upload problem - FileNotFoundException

2003-08-18 Thread Brian McSweeney
Sounds like we're having similar problems. I'm using JBoss. I got that problem when I didn't have the commons-fileupload.jar in my ejb server's classpath. I know you said you have that, but make sure! -Original Message- From: Kuba [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 10:31 To:

RE: RE : Remote and local EJB

2003-08-18 Thread Viral_Thakkar
Business delegate pattern explains on how to use the business delegate class. This pattern explains its usage and benefits. Here I am interested in a solution which supports remote and local EJB access depending on request. Any idea on this...??? -Original Message- From: Laurent

commons-logging.properties

2003-08-18 Thread Duan Qiang
Hi, I want to have fine-grained configure of logging in my struts application, for example, for class A, it allows info level logging, for class B, it allows trace level logging. I surfed the net and found some entries in the commons-logging properties file, for example

Help or tutorial

2003-08-18 Thread Arindam Bhattacharjee
Hi All, I am a newbie in Struts. Can some one give some pointers towards any tutorials or FAQs especially regarding installation, deployment and basic features to start with. It will really be appreciated. Regards, Arindam Bhattacharjee Sapient Desk * 91.124.282.6451 Presidency

Re: file upload problem - FileNotFoundException

2003-08-18 Thread Kuba
Sounds like we're having similar problems. I'm using JBoss. I got that problem when I didn't have the commons-fileupload.jar in my ejb server's classpath. I know you said you have that, but make sure! i don't think it's the same problem... there is something wrong with my ejb project (my

HTTP 404 Not Found on Actions

2003-08-18 Thread Johan Wasserman - CPX Mngd Services
Hi. I'm running struts 1.1-rc2 and get a 404 when entering an unrecognized username password on the logon page for struts-example (Mailreader demo). It goes to localhost/sruts-example/logon.do but with a 404 Page not found. I've checked and double checked my web struts-config files, I mean

Session Scope inside Filter

2003-08-18 Thread Viral_Thakkar
Is session available in servlet filter code? Inside the doFilter() method of servlet filter (servlet 2.3 feature), can I access the session to retrieve a object from it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Should extend any struts components ?

2003-08-18 Thread Mohan Radhakrishnan
We needed a sub-class of ActionServlet to set up our JMS subscribers. We couldn't find a way to set it up at container start up ( OC4J ). So we had to extend it to set up everything when the ActionServlet is called in its init() method. That is our use case. Mohan -Original Message-

Re: HTTP 404 Not Found on Actions

2003-08-18 Thread Koni Roth
Try struts 1.1 final version. Here it works ;-) Johan Wasserman - CPX Mngd Services wrote: Hi. I'm running struts 1.1-rc2 and get a 404 when entering an unrecognized username password on the logon page for struts-example (Mailreader demo). It goes to localhost/sruts-example/logon.do but with a

Re: file upload problem

2003-08-18 Thread Prashanth.S
hi brian, try changing the folder permission from read-only??Its just a guess Thanks Prashanth Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I'm trying to do a file upload action based on the example struts-upload.war. I want to save the uploaded file to a folder on disk. However when I try

DynaActionForms and html:text tags

2003-08-18 Thread Louise Pryor
I'm having problems getting a DynaActionForm to work with a jsp page, and wondered if anyone could help. I've defined all the properties in the DynaActionForm using form-property / tags. They all have type java.lang.String. The form is mapped to the Action in the usual way. Actual extracts from

Display Tag and Collections

2003-08-18 Thread Mehta, Chirag (IT)
Hi, Does anyone know if it possible to use the Display taglib over a 2D collection (a collection where each element is a collection of row data as a String array). This is my current code and I want to convert it so I can use the Display taglib. table tr logic:iterate name=Results

Re: Help or tutorial

2003-08-18 Thread Koni Roth
I recommend buying a book. See http://jakarta.apache.org/struts/resources/books.html - 'Struts in Action' is very helpful. or read the User Guide at: http://jakarta.apache.org/struts/userGuide/index.html Koni Arindam Bhattacharjee wrote: Hi All, I am a newbie in Struts. Can some one give some

Re: DynaActionForms and html:text tags

2003-08-18 Thread Dirk Markert
Hello Louise, can you post your action mapping? Everything else looks fine. *** LP I'm having problems getting a DynaActionForm to work with a jsp page, LP and wondered if anyone could help. LP I've defined all the properties in the

JRUN 3.1/Struts 1.1 : struts-example.war - ClassNotFoundException

2003-08-18 Thread jason . p . king
Hi, The following error appears many times in the mailing list archive for various containers , and I am also getting it in the following environment when attempting a clean deployment of Struts 1.1. struts-example.war to JRUN 3.1 I would be very grateful if someone could summarise what the

Re: Help or tutorial

2003-08-18 Thread Mehran Zonouzi
http://javaboutique.internet.com/tutorials/Struts is a good place to start Arindam

RE: Building Struts 1.1 against servlet 2.2/2.3

2003-08-18 Thread kosh.podder
Hi Craig, Thanks for the answer. When you mention the new facilities that were added in 2.3, do you mean the new feature of the servlet 2.3 API, or are there new 2.3 specific features in Struts 1.1 that I should be aware of? Thanks, Kosh -Original Message- From: Craig R. McClanahan

Re: commons-logging.properties

2003-08-18 Thread Koni Roth
Hi Duan I use SimpleLog for logging. Here my configuration for my class LogonAction. You can set individual log levels for each class. commons-logging.properties file: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog simplelog.properties file:

RE: Help or tutorial

2003-08-18 Thread Hue Holleran
I'd definitely recommend Rick Reumann's Struttin' with Struts at: http://www.reumann.net/ Hue. -Original Message- From: Arindam Bhattacharjee [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 11:14 To: [EMAIL PROTECTED] Subject: Help or tutorial Hi All, I am a newbie

Re: DynaActionForms and html:text tags

2003-08-18 Thread Louise Pryor
On Monday, August 18, 2003 at 11:59:46 AM, Dirk Markert wrote: DM Hello Louise, DM can you post your action mapping? Everything else looks fine. action path=/private/issueLic type=com.xlsior.actions.LicenseIssuer.java name=licForm validate=true

RE: DynaActionForms and html:text tags

2003-08-18 Thread Hue Holleran
How are you accessing your page - if you're calling the jsp direct then then struts will not have the opportunity to put the bean into scope for you? Hue. -Original Message- From: Louise Pryor [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 11:29 To: Struts Users Mailing List

RE: file upload problem

2003-08-18 Thread Brian McSweeney
Thanks Prashanth, But I don't think that's the problem. Thanks anyway though, Brian -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 11:44 To: Struts Users Mailing List Subject: Re: file upload problem hi brian, try changing the folder permission from

Re[2]: DynaActionForms and html:text tags

2003-08-18 Thread Dirk Markert
Hello Louise, what's the action and its mapping you are using to forward to your jsp containing html:form action=/private/issueLic html:hidden property=issuer value=manual / ? *** LP On Monday, August 18, 2003 at 11:59:46

Re: Using Struts validator framework outside of struts

2003-08-18 Thread Jeff Kyser
The O'Reilly book 'Jakarta Struts' by Chuck Cavaness has a small section on the subject starting on page 279 that might be of help. I've never tried it though... -jeff On Monday, August 18, 2003, at 03:49 AM, Mehran Zonouzi wrote: Hi, I am very new to the validator framework. I would like to

Re: DynaActionForms and html:text tags

2003-08-18 Thread Louise Pryor
On Monday, August 18, 2003 at 12:25:38 PM, Dirk Markert wrote: DM Hello Louise, DM what's the action and its mapping you are using to forward to your DM jsp containing DM html:form action=/private/issueLic DM html:hidden property=issuer value=manual / On Monday, August 18, 2003 at

RE: [OT] RE: J2EE certified

2003-08-18 Thread Mark Galbreath
Just filter out this message message character; he's been argumentative and arrogant since he joined a couple of weeks ago. Mark -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Saturday, August 16, 2003 6:08 AM To: Struts Users Mailing List Subject: Re: [OT] RE: J2EE

RE: JRUN 3.1/Struts 1.1 : struts-example.war - ClassNotFoundException

2003-08-18 Thread Mark Galbreath
First, JDK 1.4..1_01 is unstable; Second, JRun 3.1 does not support 1.4. You need to upgrade to JRun 4.0 SP2 and JDK 1.4.1_02 or higher. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:00 AM To: [EMAIL PROTECTED] Subject: JRUN

Display Tag and Collections

2003-08-18 Thread Mehta, Chirag (IT)
Someone please help me on this one! :( -Original Message- From: Mehta, Chirag (IT) Sent: 18 August 2003 11:52 To: [EMAIL PROTECTED] Subject: Display Tag and Collections Hi, Does anyone know if it possible to use the Display taglib over a 2D collection (a collection where each

RE: [OT] RE: J2EE certified

2003-08-18 Thread message message
Why not filter you out. Perhaps because you are white. Or perhaps you represent certain interests. From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [OT] RE: J2EE certified Date: Mon, 18

RE: [OT] RE: J2EE certified

2003-08-18 Thread message message
Who wants to know about your theory about girls or beer. I already you know that the majority of you are Racist , low life scum. From: message message [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [OT] RE: J2EE certified Date: Mon, 18

RE: [OT] RE: J2EE certified

2003-08-18 Thread Jones, Marty B.
Why o why must it always be a racist thing. Can't we all just get along. -Original Message- From: message message [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:52 AM To: [EMAIL PROTECTED] Subject: RE: [OT] RE: J2EE certified Who wants to know about your theory about girls

Re: [OT] RE: J2EE certified

2003-08-18 Thread Jeff Kyser
'the majority of you...' ??? setting up message message filter filter now now... -jeff On Monday, August 18, 2003, at 07:51 AM, message message wrote: Who wants to know about your theory about girls or beer. I already you know that the majority of you are Racist , low life scum. From:

AW: [OT] RE: J2EE certified

2003-08-18 Thread Oliver Reflé
I think that Mark was totally aware that you are not a white cause he can easily recognize this cause of your mail. I normally also check my wonderful magic sphere to check that. I read a few of your stuff, and it seems that you are really very impolite. Maybe check your own stuff before

Re: [OT] RE: J2EE certified

2003-08-18 Thread Mark Lowe
Despite the slightly distasteful reference to the L and R phoneme discrimination in folks who have Oriental languages as there first language, I haven't seen any reason for anyone to make inferences like this. The L R thing was a bit snide, but I doubt was racially motivated. Just chill a bit

RE: [OT] RE: J2EE certified

2003-08-18 Thread Mark Galbreath
already done. I'd like to see Craig or Ted kick this guy off the list. There is absolutely no excuse for racial slurs or personal attacks. This guy is apparently very disturbed. Mark -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 8:56 AM

RE: file upload problem

2003-08-18 Thread Witbeck, Shane
I had a similar problem until I realized that you must specify a file and not a folder for the upload path (i.e. /tmp/upload/upload.txt not /tmp/upload). HTH, Shane -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:24 AM To: 'Struts

Re: [OT] RE: J2EE certified

2003-08-18 Thread Mark Lowe
I'd prefer to know the guys name. I wouldn't like to make any judgments about disturbedness, give him a chance. He could have got off to a bad start, been up against the wire and trying to get something working when he started out. And forgot that there are real people at the end of the

Tiles. using action for attribute value.

2003-08-18 Thread deepaksawdekar
Title: Tiles. using action for attribute value. I am using tiles Using struts for the page layout I am using following jsp file to insert the approprate files %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % tiles:insert page=/common/layout.jsp flush=true tiles:put

RE: [OT] RE: J2EE certified

2003-08-18 Thread Mark Galbreath
Very diplomatic of you, Mark, but I won't be an apologist for a bigot. Mark -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 9:34 AM To: Struts Users Mailing List Subject: Re: [OT] RE: J2EE certified I'd prefer to know the guys name. I

RE: Tiles. using action for attribute value.

2003-08-18 Thread Navjot Singh
Tiles. using action for attribute value.try making straight call to header.jsp, it should work. OR if you must need Struts Controller in call to header.jsp, use include (instead of forward) in your header.do action mapping. hth navjot singh -Original Message- From: deepaksawdekar

Tiles. using action for attribute value.

2003-08-18 Thread deepaksawdekar
I am using tiles Using struts for the normal header, left menu, body and footer page layout I am using following jsp file to insert the approprate files %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % tiles:insert page=/common/layout.jsp flush=true tiles:put name=header

RE: file upload problem

2003-08-18 Thread Brian McSweeney
Shane, You are a star! That fixed it! Thanks very much, Brian -Original Message- From: Witbeck, Shane [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 14:17 To: [EMAIL PROTECTED] Subject: RE: file upload problem I had a similar problem until I realized that you must specify a file and

Re: [Validator] The Validator Wiki needs you !

2003-08-18 Thread Robert Leland
Adam Hardy wrote: Hi Robert, I put some stuff on there but my knowledge of wiki is only sketchy, so I have left a page where all the capitalized words have got a question mark after them for creating new pages. I couldn't find any wiki instructions anywhere - if you give me a good link, I can

Re: Using Struts validator framework outside of struts

2003-08-18 Thread David Graham
--- Mehran Zonouzi [EMAIL PROTECTED] wrote: Hi, I am very new to the validator framework. I would like to use it outside of Struts framework. Is it possible to do this? If so can someone point me in the right direction plz... Commons Validator is usable outside of Struts but you'll have to

Re: Tiles. using action for attribute value.

2003-08-18 Thread Mark Lowe
or use a definition and then insert that tiles:definition id=thePage... .. /tiles:definition titles:insert beanName=thePage controllerUrl=/header.do... Cheers Mark On Monday, August 18, 2003, at 02:07 PM, deepaksawdekar wrote: I am using tiles Using struts for the page layout    

RE: file upload problem

2003-08-18 Thread Erez Efrati
I am dealing as well with the file upload issue: 1) To where should I save those files. For one I haven't done this, so this is all new. Also, I am using JBoss and I saw that no matter which directory I choose under my application context directory, this directory will be deleted and recreated

Logging Issues

2003-08-18 Thread Steven Leija
Hello All, I'm new to the new logging feature in Struts. I understand it's built now using the commons-logging feature. I've created the standard files commons-logging.properties and the simplelog.properties files. It appears to be logging to the info level just fine, but when I change the

bean:message , reads only once the message from MessageResource, is it caching messages for later use?

2003-08-18 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
We are using DB based Messages, to do this we extended MessageResources class such as /*public class MyMessageResources extends MessageResources implements Serializable { public String getMessage(Locale locale, String key) { DAO class

Re: JRUN 3.1/Struts 1.1 : struts-example.war - ClassNotFoundException

2003-08-18 Thread Dan Tran
Jason, take a look at the below discussion link. It may help http://article.gmane.org/gmane.comp.jakarta.struts.user/24178 -Dan - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, August 18, 2003 5:11 AM Subject:

Re: file upload problem

2003-08-18 Thread Evan Schnell
Erez Efrati wrote: I am dealing as well with the file upload issue: 2) I could always store those files in the database but then I would have to access them through an action, is this wise? Yes. I'm a strong proponent of storage in a database. Not only is a BLOB the ultimate quarantine

RE: file upload problem

2003-08-18 Thread Erez Efrati
Thing is I do need a very high downloading of files, so I guess the directory option is more appropriate. What do you mean by a directory served by your web server? I am working with JBoss/Tomact and each time I am redeploy the any directory under the context is deleted. So is there a trick here

Re: [Validator] The Validator Wiki needs you !

2003-08-18 Thread Robert Leland
I also went through my old emails and added a few items to the FAQ + one Validator Extension On 08/18/2003 06:08 AM Robert Leland wrote: There is now a Commons Validator Wiki ! Beware this is only a shell to start collecting tips, FAQs, and examples for using validator. You can make a much

[ot] Virus checking blobs was [Re: file upload problem]

2003-08-18 Thread Mark Lowe
Evan That's interesting about storing files as BLOB's and the bit about viruses checking. How do the mechanics of the virus checking work? Are there any virus checkers that can check while everything's stored in the db? Sounds interesting. Cheers Mark On Monday, August 18, 2003, at 03:24 PM,

Where do I download Commons validator example app from?

2003-08-18 Thread Mehran Zonouzi
Hi, Can someone tell me where to download the commons validator example app from? I am interested in the example of how to use the struts validator outside of Strus framework. Thanks -- This e-mail may contain confidential and/or privileged information. If you are not the intended

Re: Where do I download Commons validator example app from?

2003-08-18 Thread David Graham
--- Mehran Zonouzi [EMAIL PROTECTED] wrote: Hi, Can someone tell me where to download the commons validator example app from? I am interested in the example of how to use the struts validator outside of Strus framework. I'm not sure if it's downloadable or not. If you check out the CVS

RE: file upload problem

2003-08-18 Thread Brian McSweeney
I would also love to know the solution to this problem. I'm doing the exact same thing as you Erez. Also working with JBoss_Tomcat. Is there some way to tell tomcat to serve files from a specific directory outside the context root? -Original Message- From: Erez Efrati [mailto:[EMAIL

Re: Where do I download Commons validator example app from?

2003-08-18 Thread Mehran Zonouzi
Are there any complete examples anywhere on the subject? David Graham

Re: JRUN 3.1/Struts 1.1 : struts-example.war - ClassNotFoundException

2003-08-18 Thread jason . p . king
Thanks Dan, We already route all requests in our application though an subclass of ActionServlet. Therefore the following 1 liner ( from the link ) fixed the problem first time. -- Added to Subclass of ActionServlet that intercepts struts requests: public void init() throws ServletException {

Re: Where do I download Commons validator example app from?

2003-08-18 Thread David Graham
--- Mehran Zonouzi [EMAIL PROTECTED] wrote: Are there any complete examples anywhere on the subject? I'm not sure what you mean by complete. The example demonstrates how to get messages from the keys the validations return and how to write and run a pluggable validator. You can also look at

Re: [ot] Virus checking blobs was [Re: file upload problem]

2003-08-18 Thread Evan Schnell
Mark Lowe wrote: Evan That's interesting about storing files as BLOB's and the bit about viruses checking. How do the mechanics of the virus checking work? Are there any virus checkers that can check while everything's stored in the db? Sounds interesting. I doubt something is out there that

Suggestions for Calendar Popup taglib?

2003-08-18 Thread Kruse, Matt
I'm going to have some free time soon and I plan to convert my calendar popup javascript (http://www.mattkruse.com/javascript/calendarpopup) into a tag lib to be easily used in struts apps. If anyone has suggestions on how it should work or features it should support, please let me know! Also,

Re: Where do I download Commons validator example app from?

2003-08-18 Thread Mehran Zonouzi
Thanks David. You may or may have noticed this but I am very new to this mailing list so please excuse me for asking elementary(dumb!) questions. Where can I get the CVS tree from?

Re: Where do I download Commons validator example app from?

2003-08-18 Thread David Graham
--- Mehran Zonouzi [EMAIL PROTECTED] wrote: Thanks David. You may or may have noticed this but I am very new to this mailing list so please excuse me for asking elementary(dumb!) questions. Where can I get the CVS tree from? http://jakarta.apache.org/site/cvsindex.html David

get data source in servlet

2003-08-18 Thread Ashish Kulkarni
Hi, I have defined a data source in my struts-config file, which is working fine as i get the connection in my Action class, but i need to get the data source in a Servlet, can any one provide with the code to get the data source in servlet Ashish __ Do you

RE: file upload problem

2003-08-18 Thread Witbeck, Shane
Generally I add a virtual directory to my web container. This allows you to map a context root to any directory on the server (keeping permissions in mind). For example http://webroot/file would map to a directory /tmp/uploads. I proxy my web applications through Apache so I generally add an

Re: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Vic Cekvenich
Great news! Thanks in advance. I think HTML tag will be around for a long long time. While there are plans to one day deprecate bean and logic tags, there are no plans to deprecate HTML. Also... deprecate, as in java.util.Date is deprecated, but AFFAIK still will be part of rt.jar for

Re: Where do I download Commons validator example app from?

2003-08-18 Thread Mehran Zonouzi

Re: confirm unsubscribe from struts-user@jakarta.apache.org

2003-08-18 Thread Andrew Pierce
Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] To confirm that you would like [EMAIL PROTECTED] removed from the struts-user mailing list, please send an empty reply to this address:

Re: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Sgarlata Matt
I think that's a great idea... thanks :) I think it'd be cool if you included your color chooser popup as well. Actually I'll be honest, I already implemented this in exactly the way you describe for a project I am working on. If you like I can investigate whether my company would allow

html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
I sent a similar question to the list last week and didn't see any responses. I'm resending as I'm still having this problem. I have an html:select tag that isn't playing along... I pre-populate a form in an action. I also create a TreeMap and add it to the request scope. I have the following

Re: Suggestions for Calendar Popup taglib?

2003-08-18 Thread vellosa
Can't you set the colours using a style sheet? When we implemented out calendar one of the things we needed to do was make holiday dates unchoosable. So I'm not allowd to make a booking on 25th Dec etc. It might be worth thinking of some way in which you can pass in a collection of dates that

passing anchor # along with path

2003-08-18 Thread Gandle, Panchasheel
I need to invoke some action and pass a anchor #select to it as a param call /showListAction.do#select how do I pass the anchor param in the Action class of showListAction? Thanks Panchasheel - To unsubscribe, e-mail: [EMAIL

RE: Should extend any struts components ?

2003-08-18 Thread Craig R. McClanahan
On Mon, 18 Aug 2003, Mohan Radhakrishnan wrote: Date: Mon, 18 Aug 2003 16:07:18 +0530 From: Mohan Radhakrishnan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Should extend any

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Craig Margenau
I do mine like this, haven't had a problem yet. bean:define id=sList name=yourForm property=statusList scope=request / html:select property=statusId html:options collection=sList property=id labelProperty=status/ /html:select From: Hunter Hillegas [EMAIL PROTECTED] Date: 2003/08/18 Mon AM

Re: Should extend any struts components ?

2003-08-18 Thread Paul Thomas
On 18/08/2003 06:09 Viral_Thakkar wrote: While developing the J2EE application using struts, should I extend the ActionServlet, RequestProcessor etc... classes to make them my project specific? If yes, which components and what are the advantages one can get? You'll almost certainly find it useful

RE: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Paananen, Tero
I would also suggest that you make your classes very easy to extend so people can plug in their own calendar implementations. You know how it is, people are picky when it comes to GUI widgets :) +1 :) My #1 pet peeve about custom taglibs are that almost none of them have been designed with

RE: [OT]Servlet Context/Static Fields

2003-08-18 Thread Craig R. McClanahan
On Mon, 18 Aug 2003, Andrew Hill wrote: Date: Mon, 18 Aug 2003 17:12:34 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT]Servlet Context/Static Fields If

RE: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Kruse, Matt
When we implemented out calendar one of the things we needed to do was make holiday dates unchoosable. So I'm not allowd to make a booking on 25th Dec etc. It might be worth thinking of some way in which you can pass in a collection of dates that are highlighted differently/disabled.

Re: Session Scope inside Filter

2003-08-18 Thread Craig R. McClanahan
On Mon, 18 Aug 2003, Viral_Thakkar wrote: Date: Mon, 18 Aug 2003 16:03:22 +0530 From: Viral_Thakkar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Session Scope inside Filter Is session available in servlet

URGENT:generating UML from existing struts project using ECLIPSE

2003-08-18 Thread mohan
Hi Guys I am working on a project that uses the struts framework and i am using eclipse as my editor. I would like to GENERATE UML FROM THE EXISTING CODE. Please let me know if there is a plugin i can dowload that does just this. --Thank you Mohan

RE: Building Struts 1.1 against servlet 2.2/2.3

2003-08-18 Thread Craig R. McClanahan
On Mon, 18 Aug 2003 [EMAIL PROTECTED] wrote: Date: Mon, 18 Aug 2003 12:02:24 +0100 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Building Struts 1.1 against servlet 2.2/2.3 Hi Craig, Thanks for the answer. When you

RE: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Yansheng Lin
Cool! Here is what I always wanted: In jsp: html:calendar form=myForm property=theDate In Action: Calendar inputDate = myForm.getTheDate(); In FormBean: Calendar theDate = new Calendar(); + setter and getter; Kruse, Matt wrote: I'm going to have some free time soon and I plan

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread Jerry Jalenak
Partially answering my own question - Changing back to use ActionError (and ignoring the deprecation messages that Eclipse spits out), I can get my messages to work. Obviously the problem is that I am mixing ActionErrors and ActionMessage. What is the preferred method? It looks like

RE: file upload problem

2003-08-18 Thread Brian McSweeney
Thanks Shane, Will try this approach. Brian -Original Message- From: Witbeck, Shane [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 16:10 To: [EMAIL PROTECTED] Subject: RE: file upload problem Generally I add a virtual directory to my web container. This allows you to map a context

Re: Building Struts 1.1 against servlet 2.2/2.3

2003-08-18 Thread Vic Cekvenich
Pardon me... but maybe some people do not use the Struts upload (Jason Hunter has a nice upload jar). If you do not use Struts file upload, these classes can be removed or something. .V Craig R. McClanahan wrote: On Mon, 18 Aug 2003 [EMAIL PROTECTED] wrote: Date: Mon, 18 Aug 2003 12:02:24

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread David Graham
--- Jerry Jalenak [EMAIL PROTECTED] wrote: Partially answering my own question - Changing back to use ActionError (and ignoring the deprecation messages that Eclipse spits out), I can get my messages to work. Obviously the problem is that I am mixing ActionErrors and ActionMessage. What

RE : RE : Remote and local EJB

2003-08-18 Thread Laurent MARQUEZ
1-See on http://www-106.ibm.com/developerworks/java/library/j-ejb1022.html for pattern business delegate. 2-You must declare your EJB Local or remote or both interface in your web.xml, Like this foo example: #ejb-ref # ejb-ref-name # ejb/fr.artal.FooHome #/ejb-ref-name #

RE: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Matt Raible
Cool Matt - I've always loved you pop-up calendar. Does this mean it'll write JS for the popup calendar too? I like the div version - which requires a hidden div and such - so I hope you'll incorporate this. Maybe something like: html:calendar property=startDate format=MM/dd/

RE: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Kruse, Matt
Does this mean it'll write JS for the popup calendar too? Yes, definitely. I might include the full JS source as a tag too, so you could just do mk:calendar-src/ at the top of your page and all the required library source would be written out. Or you could manually link to the libraries. Not

Re: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Sgarlata Matt
Ack! Too many Matts ;) More comments below... Matt Raible wrote: Cool Matt - I've always loved you pop-up calendar. Does this mean it'll write JS for the popup calendar too? I like the div version - which requires a hidden div and such - so I hope you'll incorporate this. Maybe something

  1   2   >