users@glassfish.java.net

Re: hosting jsp pages with glassfish and apache...

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 15 May 2007 22:23:41 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> i have my hello.war portlet being served thru apache... worked really well... for those having a hard time with this check out:
>
> http://ubuntuforums.org/showthread.php?t=445176
>
> i now want to set up a web directory that i can put my jsp pages in... where would i start... I can handle the apache end... how would i set up glassfish? thanks!

I'm not sure I understand exactly what you want to do. I might be wrong,
but what you need to to is to add the proper mapping in httpd.conf, like:

> # Send all jsp requests to GlassFish
> JkMount /*.jsp worker1

This way all jsp requests will be redirected to GlassFish. More info
here [1], although the blog referred on the Ubunto forum is really good.

Hope that help.

Thanks

-- Jeanfrancois

[1]
http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.html



> [Message sent by forum member 'huggy77' (huggy77)]
>
> http://forums.java.net/jive/thread.jspa?messageID=217218
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>