I think I have found something very strange in the way
Java files are being generated from the XSP files.
I have situation like described in the attached email.
There is a main sitemap and a sub-sitemap for the
sub-URI LOOP.
In the LOOP sub-sitemap I have the following code:
<map:match pattern="Index">
<map:generate type="serverpages" src="index.xsp"/>
<map:transform src="index-html.ss"/>
<map:serialize type="html"/>
</map:match>
I don't understand why is the Java file index_xsp.java
generated under the www directory and not under
www/LOOP directory???
Anybody care to explain how XSP and sitemap work
together.
TIA
Drasko
--- Drasko Kokic <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> this is already the second time I am getting stucked
> with this problem. Unfortunately the first time I
> have "solved" the problem in untraceble way :-(
>
> I am using submaps like following
>
> context = KontoCheck
> submap = LOOP
>
> this creates properly the sitemap_xmap.java in the
> blabla...KontoCheck/org/apache/cocoon/www
> as well as in the subdirectory LOOP.
> Both get compiled and things work fine.
>
> BUT ...
>
> after I have configured the LOOP submap to serve the
> URI SingleLogin/CheckIn I am getting the
> ClassNotFoundException.
>
> Looking into the work directory I can see that under
> the www directory there is SingleLogin subdirectory
> containing the java file generated thrue XSP. ONLY
> THERE IS NO CLASS FILE.
>
> How is it possible to fix this problem? What is
> causing this misbehaviour?
>
> TIA
> Drasko
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>