Asif,

 

Where have you put your files? your file structure should look like this if you kept to all the original directory settings:

 

      C:\tomcat\webapps\cocoon\seegoogle.xml

 

 

This gives the address

 

      http://localhost:8080/cocoon/seegoogle/seegoogle

 

 

 

If you put <map:match pattern="seegoogle.html"> then the address would be

 

      http://localhost:8080/cocoon/seegoogle/seegoogle.html

 

 

Richard.

 

 

 

 

-----Original Message-----
From: Asif Talpur [mailto:[EMAIL PROTECTED]]
Sent: 04 February 2003 12:23
To: [EMAIL PROTECTED]
Subject: 404 not found error

 

Hi guys,

I am a novice user and I need your help with this problem. Following is an excerpt from my sitemap file. Basically at this moment I want the page http://www.google.com to show up when I request the page http://localhost:8080/cocoon/seegoogle 

 <map:pipeline>
    <map:match pattern="seegoogle">
       <map:generate src="" href="">http://www.google.com" type="html"/>
       <map:serialize/>
    </map:match>   
</map:pipeline>

Now, when I request the page http://localhost:8080/cocoon/seegoogle the browser gives "404 not found error." But strange thing is that when I modify the pipeline by giving the src="" href="">http://localhost:8080/cocoon"  and request the page http://localhost:8080/cocoon/seegoogle, it shows the cocoon welcome page.

So can anybody help me with that?

Thanks

Asif Talpur

 


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to