You are right, but that was even not the reason, I changed it and am still getting the same error.
-----Ursprüngliche Nachricht----- Von: Geoff Howard [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 19. September 2003 14:08 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: File existence Mustafa Ali, Halgurt wrote: > Hello, > > I've got it as exists, her ist he content of my exists.js: > > function exists() { > var file = new java.io.File(cocoon.parameters["test-uri"]); > if (file.exists()) { > cocoon.sendPage(cocoon.parameters["exists-uri"]; > } else { > cocoon.sendPage(cocoon.parameters["non-exist-uri"]; > } > } > > Have I forgotten anything? A closing paren at the end of each sendPage call... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]