Salut,
OK I've closed the issue as I haven't tested properly (on Linux). I will
do some test on win32 and let you know.
A+
- Jeanfrancois
Jeanfrancois Arcand wrote:
> Salut,
>
> this is a bug. I've filled:
>
> https://grizzly.dev.java.net/issues/show_bug.cgi?id=469
>
> and already fixed it. As a Workaround, just add:
>
>> GrizzlyAdapter ga = new GrizzlyAdapter(webResourcesPath){
>>
>> @Override
>> public void service(GrizzlyRequest request,
>> GrizzlyResponse response) {
>> response.setStatus(404, "Not Found");
>> }
>> };
> > ws.addGrizzlyAdapter(ga);
>
> working a on fix :-)
>
> -- Jeanfrancois
>
> Jeanfrancois Arcand wrote:
>> Salut,
>>
>> paksegu wrote:
>>>
>>>
>>> what could I be doing wrong, no file found?
>>> http://localhost:8080/index.html
>>>
>>>
>>> @Action
>>> public void Webserver() {
>>> GrizzlyWebServer ws = new GrizzlyWebServer("C:/fish2o");
>>> try{
>>> jLabel6.setText("Grizzly WebServer listening
>>> on port 8080");
>>> ws.start();
>>> } catch (IOException ex){
>>> // Something when wrong.
>>> }
>>> }
>>>
>>>
>>
>> Stupid question: is there a index.html file under fish20?
>>
>> Thanks!
>>
>> -- Jeanfrancois
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>