Best regards,
John
Jan Hoskens wrote:
I don't think there's a <xsp-response:send-redirect location=""/>. Check the source dir to see your xsp logicsheets and their functions: \cocoon-2.1\src\java\org\apache\cocoon\components\language\markup\xsp\java. If your debugging xsp, it's always good to see your compiled page (that's where the error is referencing to), it should be located in your servlets working dir (something like C:\app\Jakarta-Tomcat 4.1.29\work\Standalone\localhost\_\cocoon-files\org\apache\cocoon\www\file_\ mydir). Also you're not advised to use a redirect in your xsp page, that's the responsability of the sitemap, maybe you should try to move that redirect to your sitemap.
Best regards, Jan
----- Original Message ----- From: "Stefan Geelen" <[EMAIL PROTECTED]>
Hi,//
I get following compile error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
myaccount_details_xsp: ERROR 1
(org\apache\cocoon\www\xmlmill\xsp\myaccount_details_xsp.java): ... ; } }
<?xml version="1.0" encoding="ISO-8859-1"?> <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" xmlns:xsp-session="http://apache.org/xsp/session/2.0" xmlns:xsp-response="http://apache.org/xsp/response/2.0"
create-session="true"> <!-- <xsp-session:set-max-inactive-interval interval="30"/> --> <xsp:logic> if (<xsp-session:is-new/>) { <xsp-response:send-redirect location="myaccount.html"/> } </xsp:logic> ..
-- --------------------------------------------------------- Jentro Technologies GmbH John L. Webber, Software Development ---------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]