Hi,

I developed a cocoon app which I invoke in my browser
with:

http://localhost:8080/myapp

After development, I wanted to be able to invoke my
app from my browser with:

http://localhost:8080

I did this by editing the server.xml file in my
catalina_ home/conf directory, inserting:

<Context path="" docBase="myapp" debug="0"/>

This worked except for the problem that I have some
absoulte paths in my application which cause this to
fail. 
I circumvented this problem by creating a folder in
webapps called "start" which has an index.html that
loads my app as follows:

(server.xml)
<Context path="" docBase="start" debug="0"/> 

(index.html)
<html>
 <body onload="document.f.submit();">
   <form action="http://localhost:8080/myapp";
name="f">
   </form>
 </body>
</html>

This also worked but I have the problem now of
accessing pipelines like "myapp/pattern" where
(obviously) "pattern" is a pattern which is matched in
a pipeline in my sitemap.

I want to be able to invoke "myapp" and "pattern" from
my browser using

http://localhost:8080 and
http://localhost:8080/pattern

respectively. What is the best way to do this without
re-writing my app?

Thanks.



__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to