Salut,
Survivant 00 wrote:
> I need advice for this one.
>
> I got JSp working. I got PHP working.
This is great! So you no longer have mapping issues?
>
> but not in the same time.. here the reason
>
> http://localhost:8080/twitter/index.html
> for JSP or servlet I need to have a SA with a rootfolder where the war
> file is.(c:\demo\twitter.war)
The File or the folder? I don't think the StaticResourceAdapter is able
to load file directly from the jar.
>
> sa.setRootFolder(rootFolder);
>
> http://localhost:8080/wordpress/index.php
> but for PHP, Quercus retrieve the filename from the method :
> getRealPath(); and because of that I need to have a rootfolder
>
> sa.setRootFolder(rootFolder+context); and it will works.
> (c:\demo\wordpress)
>
> I tried few combinaisions.. but I never got theses 2 to work in the same
> time.
OK I suspect the later is the proper way. Just clarify the first case
and I will take a look.
A+
-- Jeanfrancois