Kamlesh Sangani

Greenhorn
+ Follow
since Feb 28, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Kamlesh Sangani

i use the -X VM classpath argument for java2wsdl. did u try that???
20 years ago
Hi,

I have two web services. A and B. i want to intercept all calls to B and route it to A. All logic is implemented in A. Any suggestion on how to do it? I am thinking of message handeler but no idea whr to start. ne insight will b helpful.

thx
20 years ago
did u try
?
20 years ago
JSP
did u say 5 minutes? u r setting 50000 ms.
if your methods are static only one obejct can avail class-level lock.

but if your methods are not static and if you have two diff. objects, then both objects can enter into the synchronized method simultaneously. this is object-level lock.
Hi all,

I know that you need to use volatile modifier if the variable is being used by two or more threads simultaneously. But in an example even if I am not using volatile and if i change that variable it gets notified into other thread. Does JDK 1.4 use other technoques to handle shared variables? BTW i m not using any synchronized block. not even System.out.println()...

I m using JDK 1.4.2 and Eclipse 3.0. any insight will b helpful.

thanks
Use this to create your parser

XMLReader xr = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");

or you can also specify which parser you want to use at runtime using org.xml.sax.driver property.

i hope it helps...
DTD
i found out. DTD does not support "composite" primary/foreign key.
posted June 19, 2004 04:48 PM
--------------------------------------------------------------------------------
hi all,

how can we create DTD for composite primary key as we can not have 2 ID atributes for one element?

consider the following e.g.

<name firstname="a" lastname="b">
<age>21</age>
<location>usa</location>
</name>

suppose i want to assign ID to both firstname and lastname atributes. is it possible through DTD?

thanks
kamlesh
DTD
hi all,

how can we create DTD for composite primary key as we can not have 2 ID atributes for one element?

consider the following e.g.

<name firstname="a" lastname="b">
<age>21</age>
<location>usa</location>
</name>

suppose i want to assign ID to both firstname and lastname atributes. is it possible through DTD?

thanks
kamlesh
How can i handle the event of JTable? like when user clicks particular row which event is fired???
20 years ago
Hi,
I m using JTable to dsisplay data. I m extending AbstractTableModel.
But I dont know how to set columnheading n data in table?
In class i m declaring 2D array for column headnings. but which method i should call to make these headning appear on JTable?
20 years ago
hi,
ya thats it. it worked. thanx a lot.
but thats in Metal n Motif look and feel. In windows when i change background/foreground it doesnt diaplay text. ne idea???
21 years ago
Hi,
I am setting JButton's setPrefeerredSize and setMinimumSize property.
I am also changing the foreground color runtime.
However whenever I change foreground color rather than dispalying text on button it displays ... as text. Any idea whats going on? any suggestion wld be of gr8 help.
Thanx.
21 years ago
no i am not using box layout. I m using Box (i.e. horizontal n vertical boxes). and i can not find pack() method in it.
21 years ago