users@glassfish.java.net

Re: JSP will not compile in GlassFish v3 (build 47.4)

From: shreyasd <shreyas.deshpande_at_gmail.com>
Date: Wed, 3 Feb 2010 22:02:39 -0800 (PST)

hi i am having same problem.

but on one of machines on our network it works but not on my machine.

in deployment guide for glassfish v3 they sya that if there are any clasess
which are used in ejb module and in jsp . they should be kept outside in a
separate jar file.







glassfish-2 wrote:
>
> hello Jan,
>
> Thank you for your quick response.
>
> I put Class-Path: EJBTest2.jar in my war MANIFEST.MF file and the jsp
> will still not compile ie. same result.
>
> I also tried putting the EJBTest2.jar in the lib directory in the
> application.xml file and that did not work either ie. same compiler
> problem.
>
> I don't know if the following link says that my current problem is a
> current bug. It seems very similar to my problem. Although I am not using
> WAB files.
>
> http://forums.java.net/jive/thread.jspa?messageID=373758&#373758
>
> I am now trying to compile the jsps and put the compiled jsps in my war
> file. I hope this works, although this has not been an easy task to
> compile the jsps ie. I am still working on it. I will have to link the jsp
> with the compiled jsp in my web.xml file. But I wonder if glassfish will
> still try to compile it anyway and ignore the already compiled jsps ?
>
> Bottom line: the jsp compiler cannot find a class that is in another jar,
> my EJBTest.jar.
>
> Is there anyone else out there who is using JSPs, JSFs or struts and has
> been successful in the compiling of these components with classes that are
> in other jars.
>
> I must be doing something really wrong given that many frontend of
> glassfish use JSPs, JSFs and struts. This is a show stopper for me.
> Sigh...
>
> Thank you very much for any help.
>
> Michale Z
> [Message sent by forum member 'michaelzzz' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=375203
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/JSP-will-not-compile-in-GlassFish-v3-%28build-47.4%29-tp26661189p27448108.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.