Re: JSP Buffer Size

2005-05-23 Thread Catalin Croitoru
Hi, if you use Java Servlet specification version 2.3 (at least) you can use a Filter. make your filter intercept the jsp and in that filter you can change the buffer. for a more information about Filter take a look at this: http://java.sun.com/products/servlet/Filters.html Catalin On 5/22/05,

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Catalin Croitoru
hi, you can do like this: String myReferer = request.getHeader("Referer"); if myReferer is nul this means the request was by tiping the addres in the addres bar. if it's not null mean the user click on a link on last page in the browser and myReferer is the url of this page. for a full descripti

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Catalin Croitoru
Steve, the solution you provide doesn't solve the problem with typing the link in the adress bar. user can copy from the html source of the page the hidden atribute org.apache.struts.taglib.html.TOKEN and provide to the adres with the value. somethig like this: http://www.domain./user/action.do?o

Re: How to handle Dates?

2005-02-25 Thread Catalin Croitoru
I solved this problem with a format key in my application.properties: application.date_format.short=dd.MM. application.date_format.long=dd.MM. hh:mm:ss and in presentation layer I use : bean:write. this tag has: formatKey or format as atributes. in my case I use formatKey. if you would l

Re: Carriage Returns in MessageResources.properties

2004-12-16 Thread Catalin Croitoru
Hi, try tu put in your application.properties for CARRIAGE RETURN (CR) and NEW LINE (NL) the unicode value: CR: \u000D NL: \u000A in my application.properties this is work for special characters Catta On Thu, 16 Dec 2004 13:49:10 +0800, Richard Reyes <[EMAIL PROTECTED]> wrote: > Hello Guys, >