Monday, 14 July 2008
JSCalendar Problem - Stack overflow at line: 1797
I posted a blog regarding this JSCalendar earlier in the year, and it has been working great.. until recently when I got "Stack overflow at line: 1797" on my IE. This is caused by duplication in the javascript declaration, causing the calendar script to be loaded a couple of times. I cleaned up my HTML code and made sure that it was only declared once, and the problem went away.
Labels:
javascript
Spring Security (Acegi) and Sitemesh
Sitemesh is a great tool to decorate your java-based web page. I am currently using it to decorate my web application so that I can have the menu on the left panel, a header, and a footer withouth worrying about including it in all my jsp pages. Spring Security (formerly known as Acegi Security System) is another great tool that I also use together with Sitemesh for authentication and authorisation. My Spring Security "authorize" tag recently did not work properly, and the problem was because in my web.xml, I declared Sitemesh BEFORE Spring Security. Spring Security would clean up before Sitemesh is able to decorate the pages, causing Spring Security tags to stop working. The solution is to declare Sitemesh after Spring Security.
Subscribe to:
Posts (Atom)