prashant fusate

Greenhorn
+ Follow
since Aug 24, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by prashant fusate

Comparable interface shows that the class knows how to compare ITSELF
against another class.

Comparator interface allows a single class know how to compare two
classes which (typically) are not the same type as the comparator.


Its about moving the responsibility for doing the comparison from the
class that is being compared, to another class who's sole responsibility
is to be the comparator.
14 years ago
Hi
Can Java fieldtypes other than string, int, double etc., so Java fieldtypes like Calendar and Boolean, be returned ?

Thanks
15 years ago
Hi

Yes I getting the are as follows
unknown font Arial,normal,normal so defaulted font to any
[ERROR] unknown font Arial,normal,normal so defaulted font to any
[ERROR] unknown font Arial,normal,normal so defaulted font to any
[ERROR] unknown font Arial,normal,normal so defaulted font to any
[ERROR] unknown font Arial,normal,normal so defaulted font to any
[ERROR] unknown font Arial,normal,normal so defaulted font to any
[ERROR] unknown font Arial,normal,normal so defaulted font to any
[ERROR] unknown font Arial,normal,normal so defaulted font to any

i.e it is not registered with fop

how can i solve this issue?\

Thank you very much.
Hi,

Thanks for the document,
But my problem is something different I want to register windows font with FOP.

To do that I have genrated respective xml files(arial.xml,arialdb.xml ) by using windows arial.ttf file

java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
lib\xercesImpl.jar;lib\xalan.jar
org.apache.fop.fonts.apps.TTFReader enc ansi D:\iBOLT2.5sp6b\projects\PDFArial\fop-config\font\ariali.ttf D:/iBOLT2.5sp6b/projects/PDFArial/fop-config\xml\ariali.xml

and specified genrated xml file in configuration file(i.e userconfig.xml ) to register the windows font in FOP.

by doing all this thing also I am not get output pdf with arial font

Could you please suggest what is wrong I am doing here.
Dear Paul Clapham
Thanks for your update.

But when I used font-family="arial" at that time it does not make any sence.
because arial is not a standerd font for FOP.So how can I used my winodows font to genrate the output PDF file

Thank you
I have created xml to pdf using xslt now I have problem of changing the font of generated pdf file.

How can I change the font of generated pdf file.

How can I specify the font-family in xslt file so that generated pdf file will be in that specified font.
Dear all,

could you please anybody send the source to print the excel file without displying the containt .

Thank you very much
15 years ago
Hi,

please anybody tell me why java does not provide mutiple inheritance


Thanks
15 years ago
Hi,
Thanks for the update.

in the replied link I do not found how to call web service through my stand alone java class please let me know how to call web service via WSDL file nsing my java class what are the jar file required to call it.



Thanks
15 years ago
Dear friends
I have a requirement that webservice is running on net and i want to call that webservice in my stand alone java class. how can i do this

Please send me an example with souce so that i can understand it

Because I have new to this topic

Thanks
prashant
15 years ago
Dear Ashish Vegaraju
thank you very much

that document is enough for me to understands

thanks
16 years ago
Hi ,
I want to make and application that read the HTML file from
from website and want to take some action depending upon the information present in that HTML file(suppose in HTML file somewhere if ARR word present then i want to send a mail in respective person which is related to that word ARR

please help me

How can i developed the things in JAVA

THANKS
Hi,
Thanks for the update.
This error occurs where you call the get method(i.e at the time serching the file in remote FTP Server)
And one more thing this error comes when we set connectType PASV for Active it is working fine.

it very difficult to understand me why this error comes for connection mode PASSIVE

java.lang.NullPointerException
at com.enterprisedt.net.ftp.FTPClient.initGet(FTPClient.java:1088)
at com.enterprisedt.net.ftp.FTPClient.getASCII(FTPClient.java:1110)
at com.enterprisedt.net.ftp.FTPClient.get(FTPClient.java:1021)
at myFTPClient.main(myFTPClient.java:22)
Exception in thread "main"
16 years ago
Hi,
I have written a code for connecting to FTP server
It is properly connected with the referance server but during the copying file from remote server to local machine it giving me an nullpointer exception

could you please give me some suggesion that where i need to change the code or some alternet option.

import com.enterprisedt.net.ftp.*;
import java.net.*;
import java.io.*;
import java.net.InetAddress;
import java.text.*;
import java.util.*;


public class myFTPClient
{
String str[];
public static void main(String args[]) throws IOException, FTPException{

FTPClient f= new FTPClient("10.4.3.20");

f.login("ibolt","ibolt");

//FTPClient f = New FTPClient("10.1.1.4");
System.out.println("connection establish");

f.setConnectMode(FTPConnectMode.ACTIVE);
f.setType(FTPTransferType.ASCII);


//System.out.println("connection establish1");
f.get("C:/temp/pp.txt","map1.txt");

//System.out.println("connection establish3");

//System.out.println("connection released");


}



}




Thanks
16 years ago
i am new person for java so anybody can send me a sample code for
how to connect Ftp server using javacode
16 years ago