"Resource not found" message

2002-06-20 Thread Tom Loebach
Folks,
  This is a newbie question. I am trying to pass parameters into cocoon with a URI that looks like this:
http://server:8080/cocoon/APP?color=red&shape=square
Cocoon has no problems when the parameters have values. If I pass in a URI that looks like this:
http://server:8080/APP?color=&shape=square
I get the follwoing error
--
The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says:Exception during processing of http://server;8080/APP?color=&shape=square More precisely:org.apache.cocoon.ProcessingException: Exception during processing of http://server:8080/APP?color=&shape=square: org.apache.cocoon.ResourceNotFoundException: Resource not found http://server:8080/APP?color=&shape=square: java.io.FileNotFoundException: http://server:8080/APP?color=&shape=square
-
My sitemap entry looks like this:
          http://server/APP/app_query{requestQuery}"/>        
-
Any tips would be appreciated.
Thanks,
-tomDo You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

sitemap construction help

2002-06-13 Thread Tom Loebach
This is probably a pretty basic question but I am having a had time figuring out how to create a sitemap entry that handles the following situation.
I want to send cocoon a URI that looks like this:
http://server:8080/cocoon/app?color=red (or)
http://server:8080/cocoom/app?color=blue
I have a server that generates XML based upon a generator request that looks like this:
http://server/xml_generator?color=red (or)
http://server/xml_generator?color=blue
My xml_generator is a service that provides different XML output based upon the value of the "color" variable.
My question is "How do I write the sitemap entry when I want to pass variables in the URI"?
A sitemap entry that works but is undesirable is this:
  http://server/xml_generator?color=red/>    
I want to write a sitemap entry that looks like this but it does not work. I want to be able to have a variable in the URI be passed to the generator.
      
So if I sent cocoon a URI like this; http://server/app?color=red, I would expect the generator to send a request that looks like this; http://server/xml_generator?color=red.
Does anyone have any tips on how I can write the sitemap entry to allow for variables?
Thanks,
-tom   
 Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup