hi hemant,
if ur xsl is inside ur war , u need o need to the give
the path.
depends on app server ur
running.
eg(websphere
:"/opt/IBMWebAS/installedApps/app1.ear/app1.war/xsl/your.xsl)
try to have ur xsl outside ur
war...
like this
(/var/webapps/appname/xsl/test.xsl)
that will avoid u to rebuild ear for any xsl
changes
in
production.
code
for jsse:
public class SSLProvider
{
static
{
init();
}
private static void
init(){
Provider pvr
=Security.getProvider("com.ibm.jsse.JSSEProvider");
if(pvr==null)
{
Security.addProvider(new
com.ibm.jsse.JSSEProvider());
System.setProperty("java.protocol.handler.pkgs","com.ibm.net.ssl.internal.www.protocol");
Logger.log("-------------***--Enabled
jsse---------",Logger.INFO);
}
Logger.log("ProviderName:"+Security.getProvider("com.ibm.jsse.JSSEProvider"),Logger.INFO);
Logger.log("Handler
Name:"+System.getProperty("java.protocol.handler.pkgs"),Logger.INFO);
}
hope this helps
cheers
vasanth
-----Original Message-----
From: Hemant Pawar [mailto:[EMAIL PROTECTED]]
Sent: Friday,
January 31, 2003 4:37 AM
To: [EMAIL PROTECTED]
Subject: RE:
Problem reading xsl in https environment
Thanks for
replies.
Here are few more details..
The xsl is already available in
my war file. I am
trying to read the xsl in my jsp using the code
new
Transformer( new StreamSource (url));//xalan.jar
The url is complete path
of the xsl which lies in the
same folder as the jsp. It is able to pick up
the xsl
when you use simple http:// request , but when its
https:// it
fails.
Vasanth, can you tell me how to enable the JSSE in
system
properties?
Thanks n regards,
Hemant
--- "Soosai,
Lourdhu Vasanth" <[EMAIL PROTECTED]>
wrote:
> make sure u have
enabled JSSE in the system
> properties.
>
>
>
-----Original Message-----
> From: Voytenko, Dimitry
> [mailto:[EMAIL PROTECTED]]
> Sent:
Thursday, January 30, 2003 12:04 PM
> To:
'[EMAIL PROTECTED]'
> Subject: RE: Problem reading xsl in
https
> environment
>
>
> Hi Hemant,
>
> But
can you download this file with anything else
> (Explorer, wget, etc)
from
> your network environment? It's just might be
> unavailbale.
Otherwise Xerces
> should work just fine.
> Unfortunetely, depending
on JDK you use
> java.net.URLConnection provides not
> very clear
exception message why error has occured.
> Usually it's just
>
FileNotFound exception.
>
> thanks,
> Dimitry
>
>
-----Original Message-----
> From: Hemant Pawar [mailto:[EMAIL PROTECTED]]
> Sent:
Thursday, January 30, 2003 06:19
> To:
[EMAIL PROTECTED]
> Subject: Problem reading xsl in https
environment
>
>
> Hi
>
> I encountered exception
while trying to read a xsl
> file in https environment. I am using
xalan.jar to
> transform a xml. Xalan internally uses xerces to
>
read
> the xsl,which is used as input for the
>
transformation.
>
> The exception encountered is as
follows
>
> File
>
"https://intradev.bc/NPAD/npa/screens/interventionsmodule/OMSNPSEN.xsl"
> not found.
>
at
>
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1202)
>
at
>
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Defa
>
ultEntityHandler.java:499)
>
at
>
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:312)
>
at
>
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1080)
>
>
Is there problem in xerces to read file in https
>
connection?
>
> Please help.
>
> Regards,
>
Hemant
>
>
__________________________________________________
> Do you
Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
>
now.
> http://mailplus.yahoo.com
>
>
---------------------------------------------------------------------
>
To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>
For additional commands, e-mail:
>
[EMAIL PROTECTED]
>
>
>
_____________________________________________________
>
Sector Data, LLC, is not affiliated with Sector,
> Inc., or
SIAC
>
>
---------------------------------------------------------------------
>
To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>
For additional commands, e-mail:
>
[EMAIL PROTECTED]
>
> This e-mail may contain
confidential or privileged
> information. If you
> think you
have received this e-mail in error, please
> advise the sender by
>
reply e-mail and then delete this e-mail
> immediately. Thank
you.
Aetna
>
>
---------------------------------------------------------------------
>
To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>
For additional commands, e-mail:
>
[EMAIL PROTECTED]
>
__________________________________________________
Do
you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up
now.
http://mailplus.yahoo.com
---------------------------------------------------------------------
To
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
commands, e-mail: [EMAIL PROTECTED]
This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna
