security of html pages max file size property

2003-12-24 Thread ludovic . maurillon
Hi all, I have two questions: 1) I have a problem with the help menu of my application wich contains html pages. I would not like to access those pages without being log on, so I access them via a secure Action that just do a forward to the good page: action path=/help/helpAction

Re: [OT] Re: Printing PDF Files in java

2003-12-04 Thread ludovic . maurillon
I encountered the same requirements. javax.print runs well, but printers don't recognize PDF files in native. So we generate PostScript files for printing purpose. Users can download PDF files and can also print files in PostScript format. It works fine. Extranet [EMAIL PROTECTED] -

Re: [OT] Re: Printing PDF Files in java

2003-12-04 Thread ludovic . maurillon
in fact we generate our files with FOP. So we just say to FOP in which format he has to render. Extranet [EMAIL PROTECTED] - 12/04/2003 10:43 AM Please respond to [EMAIL PROTECTED] To:struts-user cc: Subject:Re: [OT] Re: Printing PDF Files in java Can u pls tell me how to

Re: display Max File Exceed on upload file

2003-11-27 Thread ludovic . maurillon
yes i do. I can see all the other errors are displaied. Extranet [EMAIL PROTECTED] - 11/26/2003 07:40 PM Please respond to [EMAIL PROTECTED] To:struts-user cc: Subject:Re: display Max File Exceed on upload file Minor check.. Are you doing a redirect=true on the defined

display Max File Exceed on upload file

2003-11-26 Thread ludovic . maurillon
Hello, I would to display a message on the jsp page saying to the user that the file he tried to upload is too big. I did the same that in the example. In my form: Boolean maxLengthExceeded = (Boolean)

Disable binary files in upload

2003-11-24 Thread ludovic . maurillon
Hi all, I would like to prevent the user from upload binary files from an upload form, but to allow him to download any kind of ascii files. What is the better way to do that? Is it something i can do with the configuration.? Or should I add a test on the content-type value received ? Thanks,

RE: Disable binary files in upload

2003-11-24 Thread ludovic . maurillon
Thanks David for your answer. I was searching for something more generic. I use a FormFile, like you suggested. And I tought filtering on the contentType, but I'am afraid not be able to managing all the case. At the beginning, I tested il content-type equals octetstream or bianry, it is so

Token documentation

2003-11-21 Thread ludovic . maurillon
Hi all, I have problems with the refresh button of my brower: it resend automatically the form to the server. I found the mailing archive that with the use of tokens, I can avoid that. But I don't really understand how I have to use it properly. Can someone tell me when i could find a good

RE: Token documentation

2003-11-21 Thread ludovic . maurillon
ok, I will try to get this book. And what about online documentation? Extranet [EMAIL PROTECTED] - 11/21/2003 05:22 PM Please respond to [EMAIL PROTECTED] To:struts-user cc: Subject:RE: Token documentation I found the description of how and when to use tokens in The Struts