users@glassfish.java.net

Re: Dynamically show JSP changes in Glassfish

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Thu, 14 Aug 2008 15:08:41 +0200

Note that NetBeans users have had save/reload for JSPs for a little
while now.
-Alexis

On Aug 14, 2008, at 11:39, Daniel Ortega Segura wrote:

> The same way you did on tomcat should work on Glassfish, you just
> have to copy the modified jsp file in the directory where your app
> is deployed inside Glassfish home; Glassfish will detect it's a
> modified jsp and re-translate/re-compile it on the fly on the next
> access (browser refresh). IDE's typically do this thing for you
> automatically.
>
> If it does not work for you it'd probably be a misconfiguration
> problem from your IDE. Try to copy the file manually (just to check
> out that it works as I said) and then try to configure your IDE to
> do automatically-redeployment on any jsp change.
>
> Good luck!
>
> 2008/8/14 <glassfish_at_javadesktop.org>
> Hi,
> I'm working with Glassfish V2 and can't figure out how to
> dynamically show JSP changes while I'm developing?
>
> At the moment, I have to make the change to the JSP then rebuild the
> EAR file and redeploy to Glassfish...
>
> It's quite frustrating as I've come from developing on Tomcat which
> just shows JSP changes after a browser refresh. How do I do this in
> Glassfish?
> [Message sent by forum member 'marktucks' (marktucks)]
>
> http://forums.java.net/jive/thread.jspa?messageID=293289
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
> --
> Daniel Ortega Segura
> Analista/Instructor de Software Java EE
> Grupo Salenda S.L. - www.salenda.es
> C/Madrid, 2-bis. Oficina 2
> 28911 - Leganés (Madrid).
> T: 902 110 530 / F: 91 101 0809
> M: +34.627.56.76.85
> E: daniel.ortega_at_salenda.es