Do we have to edit all the filters? Or just the CMS one?
Also, can you give an example on how to write it up? Does it also work for all extensions? (like, for instance, *.jsp, *.dwr, *.do). If I'm on the wrong track, can someone explain to me how to set up the project, so that struts actions coexists with pages rendered by Magnolia? Thank you. JS. -----Message d'origine----- De : [email protected] [mailto:[EMAIL PROTECTED] Envoyé : 10 octobre 2006 12:01 À : [email protected] Objet : Re: [magnolia-user] Calling jsps in RC3 Hi Thomas, before I tell you how to call JSP directly , its important that you know the implications. 1. If you call JSP directly you are opening a whole in security, since its not mapped to an URI 2. You have to make sure that you set contexts properly otherwise you might have strange behavior on further requests from the same client or session. ok :) now. its a parameter in filter config, under config/server/filters each filter can have config/bypass .. check cms filter for an example Regards, Sameer Charles Magnolia International Ltd. ------------------------------------------------------------------------ --------- [EMAIL PROTECTED] http://www.magnolia.info Magnolia(r) - Simple Enterprise Content Management ------------------------------------------------------------------------ --------- On Oct 10, 2006, at 3:17 PM, Thomas Martin wrote:
Dear Magnolians After reading about release of rc3 I immediately went to sourcefourge to get it and try out some stuff. First impression is very nice ... "Backup subnodes to separate files" for example will come in very handy :) But alas I also stumbled over something: I have a few jsp files that I use to interact with repository and other things that I used to call directly in adminCentral. Now when I try to access them directly (exmpl. http://localhost: 8080/magnoliaAuthor/test/info.jsp) I get a 404 stating "The requested resource () is not available." alltough the file is clearly there. I understand that through virtualURIMapping you can define a forwards to the jsp page. Nevertheless I would very much prefer if I could call them directly again. Any hints on how to configure that? Many thanks Thomas ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
