.com/Custom-URL-handlers-in-Tomcat-web-app-tp15629476p26636133.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MK,
MK wrote:
| Plus, one could place a link to it from the ticket on the Java issue
tracker, so
| that people coming from there have a solution at hand. I simply don't
see this
| getting fixed anytime soon.
Another good idea.
I would be glad to su
Christopher Schultz christopherschultz.net> writes:
> Praveen,
>
> pmanvi wrote:
> | I found that org.apache.catalina.loader.WebappLoader was setting the
> | URL.setURLStreamHandlerFactory() with DirContextURLStreamHandlerFactory,
> | basically jndi stream handler.
> | I updated this file rebuil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Praveen,
pmanvi wrote:
| I found that org.apache.catalina.loader.WebappLoader was setting the
| URL.setURLStreamHandlerFactory() with DirContextURLStreamHandlerFactory,
| basically jndi stream handler.
| I updated this file rebuild the class & placed
To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Custom-URL-handlers-in-Tomcat-web-app-tp15629476p16118205.html
Sent fr
Hi Praveen,
pmanvi gmail.com> writes:
> ...
>
> Do let me know if you find some solution to the same.
actually, in the end I got it working using Christoph's suggestion to use the
URL(scheme, host, port, path, handler) constructor. Unless that legacy system
you're using unwraps and reconstruct
p!
>
> Best,
> Matt
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTEC
ed
> an actual URL connection, I just want to pass custom URL strings, which
> should
> be perfectly fine if they are valid URLs, no?!
>
> I hope you can help!
>
> Best,
> Matt
>
>
> -
> To start a new topic, e-mail: users@tomca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
MK wrote:
| actually I just realized that this is not gonna help if Tomcat does
not honor
| the java.protocol.handler.pkgs setting, because even if Tomcat can
load the JAR
| and knows where to look for it, it would still need to read this
s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
MK wrote:
| Christopher Schultz christopherschultz.net> writes:
|>
|> As I'm reading more in the API, I can see that the URL class has a
|> constructor that takes a URLStreamHandler. Could you utilize this
|> constructor instead?
|
| that'
MK nts.ricoh.co.jp> writes:
> [...]
> I am using Tomcat 5.5 by the way.
>
> I will try rolling a jar from my protocol handler and put it in the places you
> suggested. Maybe that'll work, I'll report back.
actually I just realized that this is not gonna help if Tomcat does not honor
the java.pro
Christopher, thanks a lot for your replies.
Christopher Schultz christopherschultz.net> writes:
> MK wrote:
> | Actually I don't even call URL.openConnection, because I don't need it
> at all.
> | It's really just that the java.net.URL constructor requires that there
> exists an
> | object which
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
MK wrote:
| Actually I don't even call URL.openConnection, because I don't need it
at all.
| It's really just that the java.net.URL constructor requires that there
exists an
| object which implements this behavior just in case someone shoul
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
Christopher Schultz wrote:
| From the bug you mentioned in your original post, it looks like
| putting it into your webapp just isn't going to work. Instead, you'll
| have to install it into a ClassLoader that is higher-up in the chain.
| A
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
MK wrote:
| Christopher Schultz christopherschultz.net> writes:
|>
|> How did you set the [Java] property?
|
| I am running my web app inside an Eclipse WTP server container
project. So I set
| the property as a JVM argument in the Server
Christopher Schultz christopherschultz.net> writes:
>
> [...]
> | problem is, none of these approaches work in Tomcat 5.5. For 1), this
> simply
> | didn't have any effect for me. 2) neither, maybe Tomcat simply ignores
> that
> | property?
>
> How did you set the property?
I am running my web
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> MK,
>
> MK wrote:
> | I have the following problem:
> | My Web application needs to handle Lotus Notes URLs which use the scheme
> | "notes". However, since Java
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MK,
MK wrote:
| I have the following problem:
| My Web application needs to handle Lotus Notes URLs which use the scheme
| "notes". However, since Java does not know this protocol by default,
it throws a
| MalformedUrlException when I construct a jav
Hi everybody,
I have the following problem:
My Web application needs to handle Lotus Notes URLs which use the scheme
"notes". However, since Java does not know this protocol by default, it throws a
MalformedUrlException when I construct a java.net.URL from a notes://
URL-string.
So, I read up on
19 matches
Mail list logo