cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "8anasis papakostas" <>
Subject file not found problem!!
Date Fri, 28 Sep 2001 20:47:37 GMT
I have a form and i'm tring to pass username/password parameters to an xsp.
The sitemap entry is :

<map:match pattern="xsp/*">
    <map:generate type="serverpages" src="xsp/{1}.xsp"/>

The paths are correct. All xsp's are in the cocoon/xsp directory.
and the path in the form is correct.

However I get:

>org.apache.cocoon.ResourceNotFoundException: Could not access >component 
>for hint: 
> >org\apache\cocoon\www\xsp\logon_xsp:org.apache.avalon.framework.compone>nt.ComponentException:

>Could not access component for hint: >org\apache\cocoon\www\xsp\logon_xsp

The odd thing is that I get this only when I try to read the request 
parameters in the xsp file.
Does anybody have any idea why this is happening? The xsp is very simple:

<?xml version="1.0"?>

<xsp:page	language="java"

	String test = "test";
	String username = <xsp-request:get-parameter name="username"/>;
	String password = <xsp-request:get-parameter name="password"/>;

<p> This is this is the logon XSP page again (7)!</p>
<p>Don't worry</p>
<p> From xsp logic tag test string is equal to <xsp:expr>test</xsp:expr>

<p> The username attribute is : <xsp:expr>username</xsp:expr>  </p>
<p> The password attribute is : <xsp:expr>password</xsp:expr>  </p>

Please give me a hint!
THanks in advance

Get your FREE download of MSN Explorer at

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message