dhana sss

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

Recent posts by dhana sss

i do no u only say A class extend Explicitly and object class will extend Implicitly .....
by
dhana
is there any difference between implicit and explicit class
if any tell me ...

by
dhana
then u'r saying that all the classes will extend Object Class ...
am i right ...
tell me "srini"

by
dhana
hai friends ,,
am asking .. there is one class

class test
{
public static void main(String arg[])
{
System.out.println("whether this class will extends public class java.lang.Object");
}
}
which is the super class for java Language...
this is an interview question .
I SAY Object is the super class for java Language ...

then he asked whether object class will extend ??

i say Yes it will implectly extend ...
then he whether each and every class will extend object
i say yes ...
then he asked multiple inheritance is possible in java ...
i say no ...

then how will say object class will extend in each and every class....
hai friends if there is any solution tell mem

by
dhana
Thanks Kashif Riaz and all ,

for giving me idea to use JDOM .... another one question friends .....
i want to convert the XML file to String or RTF or Text file . if there is any solution tell ... and any sample code if any ..

thanks by
dhana
20 years ago
hai Ernest Friedman-Hill ,
i'm reading text file and store the text file in a string variable . then i want to convert the string into a xml format .

this is my clear question.. if u need more details other than this tell me

by
dhana
20 years ago
hai all,
how to convert java string into XML format and convert XML to java string ??? (this should be dynamic during run time ). if there is any solution help me ....

ex: i'm having string array which was readed from a file . then i want to convert it into XML format to C++ structure ...
from C++ structure i will get the Reply as XML format .. then i want to convert it into java string format...
send me Some sample Code if any......

[ EJFH: Remove invitation to take discussion offline ]
[ February 07, 2005: Message edited by: Ernest Friedman-Hill ]
20 years ago
i want to connect C program to java using java native Interface.
this is my codding:

HelloWorld.java

class HelloWorld {
private native void print();
public static void main(String[] args) {
new HelloWorld().print();
}
static {
System.loadLibrary("HelloWorld");
}
}

Helloworld.c

#include <jni.h>
#include <stdio.h>
#include "HelloWorld.h"

JNIEXPORT void JNICALL
Java_HelloWorld_print(JNIEnv *env, jobject obj)
{
printf("Hello World!\n");
return;
}

HelloWorld.h

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class HelloWorld */

#ifndef _Included_HelloWorld
#define _Included_HelloWorld
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: HelloWorld
* Method: print
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_HelloWorld_print
(JNIEnv *, jobject);

#ifdef __cplusplus
}
#endif
#endif


hai all i need only the JNI.h file . if any one have please send me the link or send me the txt file to my mail ID : [email protected]

by
dhana
20 years ago
i want to connect C program to java using java native Interface.
this is my codding:

HelloWorld.java

class HelloWorld {
private native void print();
public static void main(String[] args) {
new HelloWorld().print();
}
static {
System.loadLibrary("HelloWorld");
}
}

Helloworld.c

#include <jni.h>
#include <stdio.h>
#include "HelloWorld.h"

JNIEXPORT void JNICALL
Java_HelloWorld_print(JNIEnv *env, jobject obj)
{
printf("Hello World!\n");
return;
}

HelloWorld.h

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class HelloWorld */

#ifndef _Included_HelloWorld
#define _Included_HelloWorld
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: HelloWorld
* Method: print
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_HelloWorld_print
(JNIEnv *, jobject);

#ifdef __cplusplus
}
#endif
#endif


hai all i need only the JNI.h file . if any one have please send me the ling or send me the txt file to my mail ID : [email protected]

by
dhana
20 years ago
hai friend i dono much about this. try this one

<TABLE class="normtext" id="Table5" style="WIDTH: 688px; HEIGHT: 26px" cellSpacing="0"
cellPadding="0" width="688" border="0">

<TR align="left" bgcolor="lightsteelblue">
<TH>Prefix</TH><TH>First Name</TH><TH>Last Name</TH>
<TH>Office Phone</TH><TH>Mobile Number</TH><TH>Address</TH>
<TH>City</TH><TH>Country</TH><TH>Zip Code</TH>
</TR >
<%! int count=0;%>
<logic:iterate id="customer" name="customers">
<%
count=count+1;
%>

<tr align="left" bgColor="#f0f8ff">
<td>
<bean:write name="customer" property="prefix" />
</td>
<td>
<bean:write name="customer" property="fname" />
</td>
<td>
<bean:write name="customer" property="lname" />
</td>
<td>
<bean:write name="customer" property="ophone" />
</td>
<td>
<bean:write name="customer" property="mnumber" />
</td>
<td>
<bean:write name="customer" property="address" />
</td>
<td>
<bean:write name="customer" property="city" />
</td>
<td>
<bean:write name="customer" property="country" />
</td>
<td>
<bean:write name="customer" property="zipcode" />
</td>
</logic:iterate>
</tr>
</TABLE>
<%
if (count!= 0)
{ %>

by
dhana
20 years ago
i mean(API) it is NTS2000(NACT) product which is a telecome releated . NTS is written in java ... just now i got some idea .. it's better to write WEB Services .. URI:/api/account/modifyaccount .this is the URL i want to send whit customer details and modify the customer details .... i dono much about that NTS2000 ... i'm having 15 pages document . just they are say the if u send through the url format they will take care every think .
if any one want to see the document go to www.nact.com and see the document .

how to send customer details and also retreiving the customer details.
help need
thanks
dhana
20 years ago
hai to all,
situation: i want to write my own driver which communicate to API Server . which was written in java. the client send the client's information to the API server and at the same time retreiving the client's informaton like account details etcc...

if there is any solution help me ....

by
dhana
20 years ago
hai to all,

i need help.if there is any one working in telecom Project . (will be more helpfull). i want to connect JAVA API into NACT-NTS2000 (it's (NTS2000) fully based on JAVA ).

thanks
dhana

[ EJFH: We like to have questions answered here in the forum. Don't say "mail me the answer." ]
[ December 23, 2004: Message edited by: Ernest Friedman-Hill ]
20 years ago
hai Rich Smyth ,

i got the same Error as u got . i'm trying for 5 days but i can't able to get the result. if there is any solution tell me [email protected]







by
dhana
[ December 05, 2004: Message edited by: dhana sss ]
20 years ago