Re: Problem using XSP pages

2010-09-06 Thread Jos Snellings

Hi, Shweta,

Please tell us first which version cocoon you deployed. Is that 2.2?

Cheers,
Jos

On 09/07/2010 07:46 AM, Shweta Singhai wrote:


Hi All,

This is Shweta, I am new in cocoon, I configured cocoon block with 
maven server ..and also with ant. For a simple block its working 
properly, but when I create a xsp file and try to run same as  simple 
xml file , then its not working, can any one tell me, is there any  
special setting or configuration require for xsp pages...??


Please help me in run and configuration of xsp pages.

Shweta Singhai

Technical Analyst

Ictect, Inc.

shweta.sing...@ictect.com

"The IMPOSSIBLE is often UNTRIED"





RE: Problem using XSP pages

2010-09-06 Thread Shweta Singhai
Hi Jos,

 

Yes its cocoon 2.2

 

 

From: Jos Snellings [mailto:jos.snelli...@pandora.be] 
Sent: Tuesday, September 07, 2010 12:02 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

Hi, Shweta,

Please tell us first which version cocoon you deployed. Is that 2.2?

Cheers,
Jos

On 09/07/2010 07:46 AM, Shweta Singhai wrote: 

Hi All,

 

 

 

This is Shweta, I am new in cocoon, I configured cocoon block with maven
server ..and also with ant. For a simple block its working properly, but
when I create a xsp file and try to run same as  simple xml file , then its
not working, can any one tell me, is there any  special setting or
configuration require for xsp pages...??

 

Please help me in run and configuration of xsp pages.

 

 

 

 

 

 

 

 

 

Shweta Singhai

Technical Analyst

Ictect, Inc.

shweta.sing...@ictect.com

 

"The IMPOSSIBLE is often UNTRIED"

 

 



Re: Problem using XSP pages

2010-09-07 Thread Jos Snellings

OK, what further details have you got for us?

- logs? is something actually happening, going wrong?
- or do you see no trace of activity at all?
- what is in your sitemap.xmap?

Cheers,
Jos


On 09/07/2010 08:34 AM, Shweta Singhai wrote:


Hi Jos,

Yes its cocoon 2.2

*From:* Jos Snellings [mailto:jos.snelli...@pandora.be]
*Sent:* Tuesday, September 07, 2010 12:02 PM
*To:* users@cocoon.apache.org
*Subject:* Re: Problem using XSP pages

Hi, Shweta,

Please tell us first which version cocoon you deployed. Is that 2.2?

Cheers,
Jos

On 09/07/2010 07:46 AM, Shweta Singhai wrote:

Hi All,

This is Shweta, I am new in cocoon, I configured cocoon block with 
maven server ..and also with ant. For a simple block its working 
properly, but when I create a xsp file and try to run same as  simple 
xml file , then its not working, can any one tell me, is there any  
special setting or configuration require for xsp pages...??


Please help me in run and configuration of xsp pages.

Shweta Singhai

Technical Analyst

Ictect, Inc.

shweta.sing...@ictect.com

"The IMPOSSIBLE is often UNTRIED"





RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
I made a folder with xspdemo name,and create hello.xsp file in it.

In sitemap.xmap,I made this new pipeline for xsp page and write the
following code:

 


  




  


  


 

Browser showing nothing L 

Is there is any thing that I have to do for xsp pages..??

 

From: Jos Snellings [mailto:jos.snelli...@pandora.be] 
Sent: Tuesday, September 07, 2010 12:41 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

OK, what further details have you got for us?

- logs? is something actually happening, going wrong?
- or do you see no trace of activity at all?
- what is in your sitemap.xmap?

Cheers,
Jos


On 09/07/2010 08:34 AM, Shweta Singhai wrote: 

Hi Jos,

 

Yes its cocoon 2.2

 

 

From: Jos Snellings [mailto:jos.snelli...@pandora.be] 
Sent: Tuesday, September 07, 2010 12:02 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

Hi, Shweta,

Please tell us first which version cocoon you deployed. Is that 2.2?

Cheers,
Jos

On 09/07/2010 07:46 AM, Shweta Singhai wrote: 

Hi All,

 

 

 

This is Shweta, I am new in cocoon, I configured cocoon block with maven
server ..and also with ant. For a simple block its working properly, but
when I create a xsp file and try to run same as  simple xml file , then its
not working, can any one tell me, is there any  special setting or
configuration require for xsp pages...??

 

Please help me in run and configuration of xsp pages.

 

 

 

 

 

 

 

 

 

Shweta Singhai

Technical Analyst

Ictect, Inc.

shweta.sing...@ictect.com

 

"The IMPOSSIBLE is often UNTRIED"

 

 

 



Re: Problem using XSP pages

2010-09-07 Thread Jeroen Reijn
I might be mistaking, but I guess your map serialize should be put to xml or
something similar. What does your xsp produce. XML,HTML, or something else?

On Tue, Sep 7, 2010 at 9:39 AM, Shweta Singhai wrote:

>  I made a folder with xspdemo name,and create hello.xsp file in it.
>
> In sitemap.xmap,I made this new pipeline for xsp page and write the
> following code:
>
>
>
> 
>   
>  "serverpages"/>
> 
>
> 
>   
> 
> 
>   
> 
>
>
>
> Browser showing nothing L
>
> Is there is any thing that I have to do for xsp pages….??
>
>
>
> *From:* Jos Snellings [mailto:jos.snelli...@pandora.be]
> *Sent:* Tuesday, September 07, 2010 12:41 PM
>
> *To:* users@cocoon.apache.org
> *Subject:* Re: Problem using XSP pages
>
>
>
> OK, what further details have you got for us?
>
> - logs? is something actually happening, going wrong?
> - or do you see no trace of activity at all?
> - what is in your sitemap.xmap?
>
> Cheers,
> Jos
>
>
> On 09/07/2010 08:34 AM, Shweta Singhai wrote:
>
> Hi Jos,
>
>
>
> Yes its cocoon 2.2
>
>
>
>
>
> *From:* Jos Snellings 
> [mailto:jos.snelli...@pandora.be]
>
> *Sent:* Tuesday, September 07, 2010 12:02 PM
> *To:* users@cocoon.apache.org
> *Subject:* Re: Problem using XSP pages
>
>
>
> Hi, Shweta,
>
> Please tell us first which version cocoon you deployed. Is that 2.2?
>
> Cheers,
> Jos
>
> On 09/07/2010 07:46 AM, Shweta Singhai wrote:
>
> Hi All,
>
>
>
>
>
>
>
> This is Shweta, I am new in cocoon, I configured cocoon block with maven
> server ..and also with ant. For a simple block its working properly, but
> when I create a xsp file and try to run same as  simple xml file , then its
> not working, can any one tell me, is there any  special setting or
> configuration require for xsp pages...??
>
>
>
> Please help me in run and configuration of xsp pages.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Shweta Singhai
>
> Technical Analyst
>
> Ictect, Inc.
>
> shweta.sing...@ictect.com
>
>
>
> "The IMPOSSIBLE is often UNTRIED"
>
>
>
>
>
>
>


RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Hi,

 

This is the code I am using in my .xsp file.

 



http://www.apache.org/1999/XSP";>

String callme="Hello World";


callme
This is a comment



 

When I am running this file the output is same as .xsp file contents.

Can you please tell me where am I lacking?

 

 

Thanks,

Shweta 

 

 

From: Jeroen Reijn [mailto:j.re...@onehippo.com] 
Sent: Tuesday, September 07, 2010 4:31 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

I might be mistaking, but I guess your map serialize should be put to xml or
something similar. What does your xsp produce. XML,HTML, or something else?

On Tue, Sep 7, 2010 at 9:39 AM, Shweta Singhai 
wrote:

I made a folder with xspdemo name,and create hello.xsp file in it.

In sitemap.xmap,I made this new pipeline for xsp page and write the
following code:

 


  




  


  


 

Browser showing nothing L 

Is there is any thing that I have to do for xsp pages..??

 

From: Jos Snellings [mailto:jos.snelli...@pandora.be] 
Sent: Tuesday, September 07, 2010 12:41 PM


To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

OK, what further details have you got for us?

- logs? is something actually happening, going wrong?
- or do you see no trace of activity at all?
- what is in your sitemap.xmap?

Cheers,
Jos


On 09/07/2010 08:34 AM, Shweta Singhai wrote: 

Hi Jos,

 

Yes its cocoon 2.2

 

 

From: Jos Snellings [mailto:jos.snelli...@pandora.be] 
Sent: Tuesday, September 07, 2010 12:02 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

Hi, Shweta,

Please tell us first which version cocoon you deployed. Is that 2.2?

Cheers,
Jos

On 09/07/2010 07:46 AM, Shweta Singhai wrote: 

Hi All,

 

 

 

This is Shweta, I am new in cocoon, I configured cocoon block with maven
server ..and also with ant. For a simple block its working properly, but
when I create a xsp file and try to run same as  simple xml file , then its
not working, can any one tell me, is there any  special setting or
configuration require for xsp pages...??

 

Please help me in run and configuration of xsp pages.

 

 

 

 

 

 

 

 

 

Shweta Singhai

Technical Analyst

Ictect, Inc.

shweta.sing...@ictect.com

 

"The IMPOSSIBLE is often UNTRIED"

 

 

 

 



Re: Problem using XSP pages

2010-09-07 Thread Jeroen Reijn
Try:



instead of



Gr,

Jeroen

On Tue, Sep 7, 2010 at 1:10 PM, Shweta Singhai wrote:

>  Hi,
>
>
>
> This is the code I am using in my .xsp file.
>
>
>
> 
> 
>  xmlns:xsp="http://www.apache.org/1999/XSP";>
> 
> String callme="Hello World";
> 
> 
> callme
> This is a comment
> 
> 
>
>
>
> When I am running this file the output is same as .xsp file contents.
>
> Can you please tell me where am I lacking?
>
>
>
>
>
> Thanks,
>
> Shweta
>
>
>
>
>
> *From:* Jeroen Reijn [mailto:j.re...@onehippo.com]
> *Sent:* Tuesday, September 07, 2010 4:31 PM
>
> *To:* users@cocoon.apache.org
> *Subject:* Re: Problem using XSP pages
>
>
>
> I might be mistaking, but I guess your map serialize should be put to xml
> or something similar. What does your xsp produce. XML,HTML, or something
> else?
>
> On Tue, Sep 7, 2010 at 9:39 AM, Shweta Singhai 
> wrote:
>
> I made a folder with xspdemo name,and create hello.xsp file in it.
>
> In sitemap.xmap,I made this new pipeline for xsp page and write the
> following code:
>
>
>
> 
>   
>  "serverpages"/>
> 
>
> 
>   
> 
> 
>   
> 
>
>
>
> Browser showing nothing L
>
> Is there is any thing that I have to do for xsp pages….??
>
>
>
> *From:* Jos Snellings [mailto:jos.snelli...@pandora.be]
> *Sent:* Tuesday, September 07, 2010 12:41 PM
>
>
> *To:* users@cocoon.apache.org
> *Subject:* Re: Problem using XSP pages
>
>
>
> OK, what further details have you got for us?
>
> - logs? is something actually happening, going wrong?
> - or do you see no trace of activity at all?
> - what is in your sitemap.xmap?
>
> Cheers,
> Jos
>
>
> On 09/07/2010 08:34 AM, Shweta Singhai wrote:
>
> Hi Jos,
>
>
>
> Yes its cocoon 2.2
>
>
>
>
>
> *From:* Jos Snellings 
> [mailto:jos.snelli...@pandora.be]
>
> *Sent:* Tuesday, September 07, 2010 12:02 PM
> *To:* users@cocoon.apache.org
> *Subject:* Re: Problem using XSP pages
>
>
>
> Hi, Shweta,
>
> Please tell us first which version cocoon you deployed. Is that 2.2?
>
> Cheers,
> Jos
>
> On 09/07/2010 07:46 AM, Shweta Singhai wrote:
>
> Hi All,
>
>
>
>
>
>
>
> This is Shweta, I am new in cocoon, I configured cocoon block with maven
> server ..and also with ant. For a simple block its working properly, but
> when I create a xsp file and try to run same as  simple xml file , then its
> not working, can any one tell me, is there any  special setting or
> configuration require for xsp pages...??
>
>
>
> Please help me in run and configuration of xsp pages.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Shweta Singhai
>
> Technical Analyst
>
> Ictect, Inc.
>
> shweta.sing...@ictect.com
>
>
>
> "The IMPOSSIBLE is often UNTRIED"
>
>
>
>
>
>
>
>
>


RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
When I try

 

 in my sitemap.xmap

 

Then my browser showing:



As Output of xsp page. But I think its not a proper output. I don't know
where I did mistake. Can any one tell me please.

 

Thanks,

Shweta

 

 

From: Jeroen Reijn [mailto:j.re...@onehippo.com] 
Sent: Tuesday, September 07, 2010 5:16 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

Try:

 



 

instead of 

 



 

Gr,

 

Jeroen

On Tue, Sep 7, 2010 at 1:10 PM, Shweta Singhai 
wrote:

Hi,

 

This is the code I am using in my .xsp file.

 



http://www.apache.org/1999/XSP";>

String callme="Hello World";


callme
This is a comment



 

When I am running this file the output is same as .xsp file contents.

Can you please tell me where am I lacking?

 

 

Thanks,

Shweta 

 

 

From: Jeroen Reijn [mailto:j.re...@onehippo.com] 
Sent: Tuesday, September 07, 2010 4:31 PM


To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

I might be mistaking, but I guess your map serialize should be put to xml or
something similar. What does your xsp produce. XML,HTML, or something else?

On Tue, Sep 7, 2010 at 9:39 AM, Shweta Singhai 
wrote:

I made a folder with xspdemo name,and create hello.xsp file in it.

In sitemap.xmap,I made this new pipeline for xsp page and write the
following code:

 


  




  


  


 

Browser showing nothing L 

Is there is any thing that I have to do for xsp pages..??

 

From: Jos Snellings [mailto:jos.snelli...@pandora.be] 
Sent: Tuesday, September 07, 2010 12:41 PM


To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

OK, what further details have you got for us?

- logs? is something actually happening, going wrong?
- or do you see no trace of activity at all?
- what is in your sitemap.xmap?

Cheers,
Jos


On 09/07/2010 08:34 AM, Shweta Singhai wrote: 

Hi Jos,

 

Yes its cocoon 2.2

 

 

From: Jos Snellings [mailto:jos.snelli...@pandora.be] 
Sent: Tuesday, September 07, 2010 12:02 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

 

Hi, Shweta,

Please tell us first which version cocoon you deployed. Is that 2.2?

Cheers,
Jos

On 09/07/2010 07:46 AM, Shweta Singhai wrote: 

Hi All,

 

 

 

This is Shweta, I am new in cocoon, I configured cocoon block with maven
server ..and also with ant. For a simple block its working properly, but
when I create a xsp file and try to run same as  simple xml file , then its
not working, can any one tell me, is there any  special setting or
configuration require for xsp pages...??

 

Please help me in run and configuration of xsp pages.

 

 

 

 

 

 

 

 

 

Shweta Singhai

Technical Analyst

Ictect, Inc.

shweta.sing...@ictect.com

 

"The IMPOSSIBLE is often UNTRIED"

 

 

 

 

 

<>

Re: Problem using XSP pages

2010-09-07 Thread Johan Cwiklinski
Hi,

Le 07/09/2010 14:12, Shweta Singhai a écrit :
> When I try
> 
>  
> 
>  in my sitemap.xmap
> 
>  
> 
> Then my browser showing:
> 
> As Output of xsp page. But I think its not a proper output. I don’t know
> where I did mistake. Can any one tell me please.

Looks like your XSP page is simply read, not executed.

If you have properly build the XSP block (that is no longer shipped as
default in cocoon 2.2), maybe you have missed to declare the generator?

You should have added something like the following in your sitemap.xmap:


> 
>  
> 
> Thanks,
> 
> Shweta
> 
>  

Regards,
-- 
Johan Cwiklinski
AJLSM

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Hi,

When I Put this 

 


in my sitemap, then its giving error :(

error is:

HTTP ERROR: 500

Fatal error parsing
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap (line 19 col. 58): The prefix "map" for
element "map:generator" is not bound.

RequestURI=/custom-block/xspdemo




-Original Message-
From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] 
Sent: Tuesday, September 07, 2010 5:56 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

Hi,

Le 07/09/2010 14:12, Shweta Singhai a écrit :
> When I try
> 
>  
> 
>  in my sitemap.xmap
> 
>  
> 
> Then my browser showing:
> 
> As Output of xsp page. But I think its not a proper output. I don’t know
> where I did mistake. Can any one tell me please.

Looks like your XSP page is simply read, not executed.

If you have properly build the XSP block (that is no longer shipped as
default in cocoon 2.2), maybe you have missed to declare the generator?

You should have added something like the following in your sitemap.xmap:


> 
>  
> 
> Thanks,
> 
> Shweta
> 
>  

Regards,
-- 
Johan Cwiklinski
AJLSM

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Actually where I need to put this line, means at which place in
sitemap.xmap.


-Original Message-
From: Shweta Singhai [mailto:shweta.sing...@ictect.com] 
Sent: Tuesday, September 07, 2010 6:14 PM
To: users@cocoon.apache.org
Subject: RE: Problem using XSP pages

Hi,

When I Put this 

 


in my sitemap, then its giving error :(

error is:

HTTP ERROR: 500

Fatal error parsing
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap (line 19 col. 58): The prefix "map" for
element "map:generator" is not bound.

RequestURI=/custom-block/xspdemo




-Original Message-
From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] 
Sent: Tuesday, September 07, 2010 5:56 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

Hi,

Le 07/09/2010 14:12, Shweta Singhai a écrit :
> When I try
> 
>  
> 
>  in my sitemap.xmap
> 
>  
> 
> Then my browser showing:
> 
> As Output of xsp page. But I think its not a proper output. I don’t know
> where I did mistake. Can any one tell me please.

Looks like your XSP page is simply read, not executed.

If you have properly build the XSP block (that is no longer shipped as
default in cocoon 2.2), maybe you have missed to declare the generator?

You should have added something like the following in your sitemap.xmap:


> 
>  
> 
> Thanks,
> 
> Shweta
> 
>  

Regards,
-- 
Johan Cwiklinski
AJLSM

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Problem using XSP pages

2010-09-07 Thread suyog.doshi
Hi Shweta,

You should put this line under  tag.

Suyog Uttam Doshi
Senior Software Engineer

Wipro Technologies
Plot No.31,MIDC,
Rajiv Gandhi Infotech Park,
Hinjewadi,Phase II,
Pune- 411057. India
Tel:+91-20-39105229;
Extn.5229 Direct: +91-20-39105229;
Mobile:+91- 9970320066
suyog.do...@wipro.com
www.wipro.com




-Original Message-
From: Shweta Singhai [mailto:shweta.sing...@ictect.com]
Sent: Tuesday, September 07, 2010 6:23 PM
To: users@cocoon.apache.org; shweta.sing...@ictect.com
Subject: RE: Problem using XSP pages

Actually where I need to put this line, means at which place in
sitemap.xmap.


-Original Message-
From: Shweta Singhai [mailto:shweta.sing...@ictect.com]
Sent: Tuesday, September 07, 2010 6:14 PM
To: users@cocoon.apache.org
Subject: RE: Problem using XSP pages

Hi,

When I Put this




in my sitemap, then its giving error :(

error is:

HTTP ERROR: 500

Fatal error parsing
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap (line 19 col. 58): The prefix "map" for
element "map:generator" is not bound.

RequestURI=/custom-block/xspdemo




-Original Message-
From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com]
Sent: Tuesday, September 07, 2010 5:56 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

Hi,

Le 07/09/2010 14:12, Shweta Singhai a écrit :
> When I try
>
>
>
>  in my sitemap.xmap
>
>
>
> Then my browser showing:
>
> As Output of xsp page. But I think its not a proper output. I don't know
> where I did mistake. Can any one tell me please.

Looks like your XSP page is simply read, not executed.

If you have properly build the XSP block (that is no longer shipped as
default in cocoon 2.2), maybe you have missed to declare the generator?

You should have added something like the following in your sitemap.xmap:


>
>
>
> Thanks,
>
> Shweta
>
>

Regards,
--
Johan Cwiklinski
AJLSM

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Problem using XSP pages

2010-09-07 Thread Jasha Joachimsthal
On 7 September 2010 14:44, Shweta Singhai  wrote:

> Hi,
>
> When I Put this
>
>  src="org.apache.cocoon.generation.ServerPagesGenerator"/>
>
>
> in my sitemap, then its giving error :(
>
> error is:
>
> HTTP ERROR: 500
>
> Fatal error parsing
>
> file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
> locks/custom-block/sitemap.xmap (line 19 col. 58): The prefix "map" for
> element "map:generator" is not bound.
>
> RequestURI=/custom-block/xspdemo
>

You probably haven't declared the XML namespace prefix map:

See http://www.w3schools.com/xml/xml_namespaces.asp
The URI is http://apache.org/cocoon/sitemap/1.0

Jasha Joachimsthal

j.joachimst...@onehippo.com - ja...@apache.org

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA 94952 +1
(707) 7734646

>
>
>
>
> -Original Message-
> From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com]
> Sent: Tuesday, September 07, 2010 5:56 PM
> To: users@cocoon.apache.org
> Subject: Re: Problem using XSP pages
>
> Hi,
>
> Le 07/09/2010 14:12, Shweta Singhai a écrit :
> > When I try
> >
> >
> >
> >  in my sitemap.xmap
> >
> >
> >
> > Then my browser showing:
> >
> > As Output of xsp page. But I think its not a proper output. I don’t know
> > where I did mistake. Can any one tell me please.
>
> Looks like your XSP page is simply read, not executed.
>
> If you have properly build the XSP block (that is no longer shipped as
> default in cocoon 2.2), maybe you have missed to declare the generator?
>
> You should have added something like the following in your sitemap.xmap:
>  src="org.apache.cocoon.generation.ServerPagesGenerator"/>
>
> >
> >
> >
> > Thanks,
> >
> > Shweta
> >
> >
>
> Regards,
> --
> Johan Cwiklinski
> AJLSM
>
> -
> To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
> For additional commands, e-mail: users-h...@cocoon.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
> For additional commands, e-mail: users-h...@cocoon.apache.org
>
>


RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
I put that line in  tag, and put the  tag
after  tag in sitemap.xmap file.

But aganin its giving error:(  Error is:

HTTP ERROR: 500

Unable to read Avalon configuration from 'sitemap.xmap'.; nested exception
is org.apache.avalon.framework.configuration.ConfigurationException: Unknown
component type 'generator' at
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap:28:58

RequestURI=/custom-block/xspdemo/


-Original Message-
From: suyog.do...@wipro.com [mailto:suyog.do...@wipro.com] 
Sent: Tuesday, September 07, 2010 6:35 PM
To: users@cocoon.apache.org; shweta.sing...@ictect.com
Subject: RE: Problem using XSP pages

Hi Shweta,

You should put this line under  tag.

Suyog Uttam Doshi
Senior Software Engineer
 
Wipro Technologies
Plot No.31,MIDC,
Rajiv Gandhi Infotech Park,
Hinjewadi,Phase II,
Pune- 411057. India
Tel:+91-20-39105229;
Extn.5229 Direct: +91-20-39105229; 
Mobile:+91- 9970320066
suyog.do...@wipro.com
www.wipro.com
 
 
 
 
-Original Message-
From: Shweta Singhai [mailto:shweta.sing...@ictect.com] 
Sent: Tuesday, September 07, 2010 6:23 PM
To: users@cocoon.apache.org; shweta.sing...@ictect.com
Subject: RE: Problem using XSP pages

Actually where I need to put this line, means at which place in
sitemap.xmap.


-Original Message-
From: Shweta Singhai [mailto:shweta.sing...@ictect.com] 
Sent: Tuesday, September 07, 2010 6:14 PM
To: users@cocoon.apache.org
Subject: RE: Problem using XSP pages

Hi,

When I Put this 

 


in my sitemap, then its giving error :(

error is:

HTTP ERROR: 500

Fatal error parsing
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap (line 19 col. 58): The prefix "map" for
element "map:generator" is not bound.

RequestURI=/custom-block/xspdemo




-Original Message-
From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] 
Sent: Tuesday, September 07, 2010 5:56 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

Hi,

Le 07/09/2010 14:12, Shweta Singhai a écrit :
> When I try
> 
>  
> 
>  in my sitemap.xmap
> 
>  
> 
> Then my browser showing:
> 
> As Output of xsp page. But I think its not a proper output. I don't know
> where I did mistake. Can any one tell me please.

Looks like your XSP page is simply read, not executed.

If you have properly build the XSP block (that is no longer shipped as
default in cocoon 2.2), maybe you have missed to declare the generator?

You should have added something like the following in your sitemap.xmap:


> 
>  
> 
> Thanks,
> 
> Shweta
> 
>  

Regards,
-- 
Johan Cwiklinski
AJLSM

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email. 

www.wipro.com

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Problem using XSP pages

2010-09-07 Thread Johan Cwiklinski
The begining of the sitemap.xmap should looks like:
http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://apache.org/cocoon/sitemap/1.0
http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd";
 xmlns:map="http://apache.org/cocoon/sitemap/1.0";>

  

  

[...]


Regards,
-- 
Johan Cwiklinski
AJLSM

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Problem using XSP pages

2010-09-07 Thread Gaurav Kalia

Hi Shweta

Please make sure that you are following the correct hierarchy when 
describing a new generator in sitemap.xmap.


For example:





src="org.apache.cocoon.generation.ServerPagesGenerator"/>







Thanks
Gaurav
On Tuesday 07 September 2010 06:46 PM, Shweta Singhai wrote:

I put that line in  tag, and put the  tag
after  tag in sitemap.xmap file.

But aganin its giving error:(  Error is:

HTTP ERROR: 500

Unable to read Avalon configuration from 'sitemap.xmap'.; nested exception
is org.apache.avalon.framework.configuration.ConfigurationException: Unknown
component type 'generator' at
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap:28:58

RequestURI=/custom-block/xspdemo/


-Original Message-
From: suyog.do...@wipro.com [mailto:suyog.do...@wipro.com]
Sent: Tuesday, September 07, 2010 6:35 PM
To: users@cocoon.apache.org; shweta.sing...@ictect.com
Subject: RE: Problem using XSP pages

Hi Shweta,

You should put this line under  tag.

Suyog Uttam Doshi
Senior Software Engineer

Wipro Technologies
Plot No.31,MIDC,
Rajiv Gandhi Infotech Park,
Hinjewadi,Phase II,
Pune- 411057. India
Tel:+91-20-39105229;
Extn.5229 Direct: +91-20-39105229;
Mobile:+91- 9970320066
suyog.do...@wipro.com
www.wipro.com




-Original Message-
From: Shweta Singhai [mailto:shweta.sing...@ictect.com]
Sent: Tuesday, September 07, 2010 6:23 PM
To: users@cocoon.apache.org; shweta.sing...@ictect.com
Subject: RE: Problem using XSP pages

Actually where I need to put this line, means at which place in
sitemap.xmap.


-Original Message-
From: Shweta Singhai [mailto:shweta.sing...@ictect.com]
Sent: Tuesday, September 07, 2010 6:14 PM
To: users@cocoon.apache.org
Subject: RE: Problem using XSP pages

Hi,

When I Put this




in my sitemap, then its giving error :(

error is:

HTTP ERROR: 500

Fatal error parsing
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap (line 19 col. 58): The prefix "map" for
element "map:generator" is not bound.

RequestURI=/custom-block/xspdemo




-Original Message-
From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com]
Sent: Tuesday, September 07, 2010 5:56 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

Hi,

Le 07/09/2010 14:12, Shweta Singhai a écrit :
   

When I try



  in my sitemap.xmap



Then my browser showing:

As Output of xsp page. But I think its not a proper output. I don't know
where I did mistake. Can any one tell me please.
 

Looks like your XSP page is simply read, not executed.

If you have properly build the XSP block (that is no longer shipped as
default in cocoon 2.2), maybe you have missed to declare the generator?

You should have added something like the following in your sitemap.xmap:


   



Thanks,

Shweta


 

Regards,
   



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Yup I have the same lines at the beginning of the sitemap

I think I missed something,,can any other setting we have to done for
xsp pages?

-Original Message-
From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] 
Sent: Tuesday, September 07, 2010 7:02 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

The begining of the sitemap.xmap should looks like:
http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://apache.org/cocoon/sitemap/1.0
http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd";
 xmlns:map="http://apache.org/cocoon/sitemap/1.0";>

  

  

[...]


Regards,
-- 
Johan Cwiklinski
AJLSM

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Ya my sitmap.xmap contain the correct hierarchy.

But still its showing error message:


HTTP ERROR: 500

Fatal error parsing
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap (line 118 col. 3): The element type
"map:components" must be terminated by the matching end-tag
"".

RequestURI=/custom-block/xspdemo/



-Original Message-
From: Gaurav Kalia [mailto:gaurav.ka...@techblue.co.uk] 
Sent: Tuesday, September 07, 2010 7:02 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

Hi Shweta

Please make sure that you are following the correct hierarchy when 
describing a new generator in sitemap.xmap.

For example:












Thanks
Gaurav
On Tuesday 07 September 2010 06:46 PM, Shweta Singhai wrote:
> I put that line in  tag, and put the  tag
> after  tag in sitemap.xmap file.
>
> But aganin its giving error:(  Error is:
>
> HTTP ERROR: 500
>
> Unable to read Avalon configuration from 'sitemap.xmap'.; nested exception
> is org.apache.avalon.framework.configuration.ConfigurationException:
Unknown
> component type 'generator' at
>
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
> locks/custom-block/sitemap.xmap:28:58
>
> RequestURI=/custom-block/xspdemo/
>
>
> -Original Message-
> From: suyog.do...@wipro.com [mailto:suyog.do...@wipro.com]
> Sent: Tuesday, September 07, 2010 6:35 PM
> To: users@cocoon.apache.org; shweta.sing...@ictect.com
> Subject: RE: Problem using XSP pages
>
> Hi Shweta,
>
> You should put this line under  tag.
>
> Suyog Uttam Doshi
> Senior Software Engineer
>
> Wipro Technologies
> Plot No.31,MIDC,
> Rajiv Gandhi Infotech Park,
> Hinjewadi,Phase II,
> Pune- 411057. India
> Tel:+91-20-39105229;
> Extn.5229 Direct: +91-20-39105229;
> Mobile:+91- 9970320066
> suyog.do...@wipro.com
> www.wipro.com
>
>
>
>
> -Original Message-
> From: Shweta Singhai [mailto:shweta.sing...@ictect.com]
> Sent: Tuesday, September 07, 2010 6:23 PM
> To: users@cocoon.apache.org; shweta.sing...@ictect.com
> Subject: RE: Problem using XSP pages
>
> Actually where I need to put this line, means at which place in
> sitemap.xmap.
>
>
> -Original Message-
> From: Shweta Singhai [mailto:shweta.sing...@ictect.com]
> Sent: Tuesday, September 07, 2010 6:14 PM
> To: users@cocoon.apache.org
> Subject: RE: Problem using XSP pages
>
> Hi,
>
> When I Put this
>
>  src="org.apache.cocoon.generation.ServerPagesGenerator"/>
>
>
> in my sitemap, then its giving error :(
>
> error is:
>
> HTTP ERROR: 500
>
> Fatal error parsing
>
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
> locks/custom-block/sitemap.xmap (line 19 col. 58): The prefix "map" for
> element "map:generator" is not bound.
>
> RequestURI=/custom-block/xspdemo
>
>
>
>
> -Original Message-
> From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com]
> Sent: Tuesday, September 07, 2010 5:56 PM
> To: users@cocoon.apache.org
> Subject: Re: Problem using XSP pages
>
> Hi,
>
> Le 07/09/2010 14:12, Shweta Singhai a écrit :
>
>> When I try
>>
>>
>>
>>   in my sitemap.xmap
>>
>>
>>
>> Then my browser showing:
>>
>> As Output of xsp page. But I think its not a proper output. I don't know
>> where I did mistake. Can any one tell me please.
>>  
> Looks like your XSP page is simply read, not executed.
>
> If you have properly build the XSP block (that is no longer shipped as
> default in cocoon 2.2), maybe you have missed to declare the generator?
>
> You should have added something like the following in your sitemap.xmap:
>  src="org.apache.cocoon.generation.ServerPagesGenerator"/>
>
>
>>
>>
>> Thanks,
>>
>> Shweta
>>
>>
>>  
> Regards,
>


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Problem using XSP pages

2010-09-07 Thread Gaurav Kalia
Can you check that all the tags are closed. If you look at the error it 
is saying


map:components must be terminated by the matching 
end-tag""




Fatal error parsing
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
locks/custom-block/sitemap.xmap (line 118 col. 3): The element type
"map:components" must be terminated by the matching end-tag
"".
   


Thanks
Gaurav

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
My  tag closed properly. Here is complete code for my
sitemap.xmap.
Please take a review.Let me know if there is any mistake





http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://apache.org/cocoon/sitemap/1.0
http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd";
 xmlns:map="http://apache.org/cocoon/sitemap/1.0";>



  

  



  
  

  


  
  
  





   
  
 


  

  
  
  

  
  
  
   

  
  


  




  
  

  



  
  

  



  

  



-Original Message-
From: Gaurav Kalia [mailto:gaurav.ka...@techblue.co.uk] 
Sent: Tuesday, September 07, 2010 7:26 PM
To: users@cocoon.apache.org
Subject: Re: Problem using XSP pages

Can you check that all the tags are closed. If you look at the error it 
is saying

map:components must be terminated by the matching 
end-tag""


> Fatal error parsing
>
file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b
> locks/custom-block/sitemap.xmap (line 118 col. 3): The element type
> "map:components" must be terminated by the matching end-tag
> "".
>

Thanks
Gaurav

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org