users@glassfish.java.net

Re: Execute html pages as jsp

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Tue, 4 Sep 2012 23:01:10 +0200

Hi,
Knowing nothing about how GF works or gets configured, I would just rename
all the files to dot-jsp and would write a servlet with a single line of
code 'doGet' method which would forward all the dot-html to dot-jsp. A
five-minutes solution.

Regards,
Witold Szczerba
On Sep 4, 2012 11:08 AM, <forums_at_java.net> wrote:

> Hi is possible to execute html pages as jsp with GlassFish 2.1? I don't
> need
> a webapplication. I want only to configure a virtual server and have some
> html pages inside it's docroot. But these pages have jsp code inside and I
> can't rename them to "jsp", so I need to tell GF to execute also html pages
> as jsp thanks
>
> --
>
> [Message sent by forum member 'Gnorro76']
>
> View Post: http://forums.java.net/node/**889818<http://forums.java.net/node/889818>
>
>
>