users@glassfish.java.net

Re: How do I register a new URLStreamHandler for a servlet?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 18 Jun 2009 10:43:55 +0530

You need to define a system property, so you have to use JVM settings.

For info on OSGi, search the web.

Sahoo

glassfish_at_javadesktop.org wrote:
> I'm using v3. I'm not sure what you mean by 'not loadable'; I can use my handlers in a standalone class with no problem.
>
> Am I supposed to use the jvm.settings screen? I was using the parameters for the individual servlet, since the URLStreamHandlers are all defined in the servlet jar. Do I need to package them separately? If so, where do I add them to glassfish?
>
> In v3, you say I can use OSGi to install the handlers dynamically. What is OSGi, and where can I find out about it?
> [Message sent by forum member 'carlburke' (carlburke)]
>
> http://forums.java.net/jive/thread.jspa?messageID=351704
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>