Neeme Praks wrote:
<snip>
> well repository is set at
> processor.xsp.repository = ./repository
> 
> But I think that you didn't catch the main point: Cocoon checks the file
> where it was called from so it can put the java source and compiled
> class in a proper directory in the repository.

I'm sorry... I missed it :(
 
> It has different handling of this for different cases:
> Under Servlet 2.1, it
>  1. finds out the calling path by calling request.getServletPath()
>  2. maps this to filesystem by calling ServletContext.getRealPath(path)
> Under JServ and in offline mode it calls request.getPathTranslated()
> 
> As I'm running Tomcat, it goes to the Servlet 2.1 path and gets the
> servlet path, instead of the actual XSP page path. And this results in
> all the XSP files having the same name, as the servlet name is the same.
> 
> Under JServ, this doesn't happen.

Ug... no it does not.  This is a problem :(.  I will check into it. 
When you get CVS commit just put this under ./docs/TODO so that it makes
it into Jetspeed 1.2

Kevin

-- 
Kevin A Burton (e-mail: [EMAIL PROTECTED], UIN: 73488596, ZKey:
burtonator)
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
To fight and conquer in all your battles is not supreme excellence;
supreme 
excellence consists in breaking the enemy's resistance without fighting.
    - Sun Tzu, 300 B.C.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to