Yes.You are right.
It is actually printing:
file:/C:/try/sc/default1.htm
If I move the jar to other location it is not working.
But what should I use so that on running jar file it work fine.
Which statement I should include?
Please write me.
> Yes.You are right.
(By saying enough things) I often am.
> It is actually printing:
>
> file:/C:/try/sc/default1.htm
Aha! I want to pause for a moment, now that I have *finally*
managed to get you to copy/paste exactly what you are seeing,
to savour the moment. ..OK, done.
> If I move the jar to other location it is not working.
Now.. I want to know *exactly* what the same string is for the
jar, this is more tricky, since System.out.println() can be dumped
to a 'black hole' for some jar files. You might need to resort
to showing it in a JTextArea (so you can copy it) in a JOptionPane.
By the way. Did you say this file was included *inside* the
jar file? I recall you said you added the directory to the
jar, but just check that using the jar 'list' option. E.G.
jar t jarname.jar
> But what should I use so that on running jar file it work fine.
> Which statement I should include?
> Please write me.
Please *stop* saying that! I do not 'write you' but
'write the group'. And note that anyone else is also
free to 'write the group', not just me and you.
..and perhaps I should explain that you are accessing a
usenet newsgroup through a web page at JavaKB. I am not
(*we* are not) a part of the JavaKB site, but just a person
who reads this newsgroup.
Hope that helps.

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
smita bhopale - 08 Jun 2005 06:52 GMT
Thank you for the help . Now it is working fine.
After debugging I got exact mistake.
One filename from my directory was different than what I was accessing.
I useally testing that page only.
Thx.
Andrew Thompson - 08 Jun 2005 07:52 GMT
> Thank you for the help .
You're welcome.
> ..Now it is working fine.
That is excellent. :-)

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane