Deepak Kumar

Ranch Hand
+ Follow
since Nov 05, 2007
Merit badge: grant badges
For More
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Deepak Kumar

however with the below image code,





am getting the image background color as BLACK and font color as WHITE on windows server 2008 R2 enterprise, Service pack1, 64 bit OS.

and the same code am getting background color as WHITE and font color as BLACK on windows XP professional, version 2002, servcie pack 3, 32 bit.

am just quoting the machine configuyrations, am not sure if that is the probelm in different colors.
can somebody please let me know what could be the issue?

Thanks,
Deepak


9 years ago
thank you for the response.

able to wrap the test using org.apache.commons.lang.WordUtils;
as shown below.
9 years ago
Thanks for this program.

if the string is large as shown below, then in the tiff file the below string should be shown as

hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world
hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world

but only few hello world is written to tiff file.
Also can you please let me know if it is possible to format the string as it is and write to tiff file.




thanks a lot
appreciate your help

Thanks,
Deepak
9 years ago

johnson hong wrote:I guess you must compile the jar with ant,by default,ant do not enable debug,so you can get neither FILENAME nor LINE NUMBER,just enable debug by add debug = true while compiling,for example:
<javac destdir="XXXX" source="1.5" target="1.5" debug="true" encoding="UTF-8">



enabling debug to true worked for me!!!
Thanks Johnson!! , is it because that by setting debug to true the values will be passed to compilers??

Thanks Ulf Dittmer for your reply!!
I am totally new to aspirin, is this the correct link https://github.com/masukomi/aspirin to aspirin??
12 years ago
Hi All,

I need to send a mail from j2ee app using tomcat 6 server(mail.jar is placed inside lib of tomcat server)
Am using an wireless Internet , I do not know what smtp IP address should be given, if not what is the correct IP to be given?
Please let me know how to give correct IP address for sending mails?

Thanks a lot,
Deepak
12 years ago
Hi All,

Where can I get the demo version of IBM WEBSPHERE COMMERCE v7?
Also, can you please let me know which good institutes conduct training/seminars on WEBSPHERE COMMERCE V7 in bangalore?

Thank You,
Deepak Kumar
12 years ago
Jeanne,

yeah, I am able to connect to DB from cmd line successfully

Hi All,

I am using the below code but I am unable to connect to the database. Its throwing an error "Invalid Oracle URL specified"

DB: oracle 10g
OS: Windows Vista
jar : ojdbc14.jar

Below is the code, please help me




and below is the error I get



Is there anything I am missing ??? Please help me out.

the contents of my listener.ora file is


SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = Deepak-PC)(PORT = 1521))
)
)

DEFAULT_SERVICE_LISTENER = (XE)



Thanks a lot,

Deepak
Hi All,

Arraylist grows dynamically.

when a new ArrayList() is made it constructs an empty list with an initial capacity of ten, however,
when we keep on adding the elements to the ArrayList, it grows dynamically on the heap, how the JVM manages to allocate the memory on heap ? Is there any load factor used by JVM? and Also what is the use of the method ensureCapacity()?

Thank You,
Deepak Kumar G.S
13 years ago
Hi Ernest Friedman,

Thanks for the reply,

Correct me if I am wrong, what I can conclude is that to implement "java layers" we need to use generic classes and generic methods JAVA5(which act as C++ tepmplate)?

Thank you ,
Deepak
13 years ago


Hi Ernest Friedman,

Thanks for you reply,

Yes I was talking the same thing.

when I read the link provided you ,

I am confused and found it hard to understand the "java layers" and its use.

Is the mixins related to generics classes of JAVA5 and are mixins related to JL, if yes then how it is related?

Do the JL have different syntax , does it require a different compiler?

Can you please tell me clearly about the "java layers"?

Thanks You ,
Deepak












13 years ago


Hi All,

Can anybody just brief me about "java layers"?

Although I googled it, but unable to get enough information because of complexity.

Please can anybody suggest websites/ books/ tutorials which have lucid explanations on "java layers"?

Thank You,

Deepak


13 years ago
Hi All,

Below there is an snippet of code ,
Assume con,ps,rs are defined properly.



Thanks & Regards,
Deepak Kumar G.S