404 not found error

2003-02-04 Thread Asif Talpur
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 wantthe pagehttp://www.google.comto show up whenI request the page http://localhost:8080/cocoon/seegoogle
map:pipeline map:match pattern="seegoogle" map:generate src=""http://www.google.com">http://www.google.com"type="html"/ map:serialize/ /map:match /map:pipeline
Now, when I request the page http://localhost:8080/cocoon/seegooglethe browser gives "404 not found error." But strange thing is that when I modify the pipeline by giving the src=""http://localhost:8080/cocoon/">http://localhost:8080/cocoon" and request thepage http://localhost:8080/cocoon/seegoogle,it shows the cocoon welcome page.
So can anybody help me with that? 
Thanks
Asif TalpurDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RE: 404 not found error

2003-02-04 Thread Richard Cunliffe








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 wantthe pagehttp://www.google.comto
show up whenI request the page http://localhost:8080/cocoon/seegoogle

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

Now, when I request the page http://localhost:8080/cocoon/seegooglethe
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 thepage 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