I think we sill have problem with the mapping : "/jps/index.jsp"
but didn't try since. Take a look at the unittest that I sent.
OK I suspect the later is the proper way. Just clarify the first case and I
will take a look.
just tell me what I should do (if it's in the deployer the problem) and I'll
fix it.
now that we have something working.. it's easier to debug :)
2009/6/22 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>
> 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
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>