Vikas Sahu

Greenhorn
+ Follow
since Mar 07, 2003
Merit badge: grant badges
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 Vikas Sahu

Hi,

I have one problem. I have one web url htpp://127.0.0.1:8080/UserLogin.jsp
Now I have to acees this url though java code not from the web browser.
When I am accessing this page through HttpURLConnection class,
It is ok, but can any body tell me how I can give user name and password through code for this page UserLogin.jsp.

16 years ago
no if returning from run() method then else block woudnt execute.
Hi Can any body tell me what happened if I use return statement in java thread's run() method.

Ex:

public void run(){
If condition is true:
return ;
else
go ahead...
}


Vikas
No Actually after the login i am trying to see the next page by giving the next link in the url, and trying to read InputStream from the HTTPUrlConnection object instance. But empty string is coming.
Hi,
Using your sugesstion, I am able to login into the webpage but my next page is not being display.
Hi,

I am trying to connect a web page through java code, using HttpURLConnection api,
I am able to access its welcoe page. But this page is asking for username and password.
Can any one tell me how I can login into the website through java code. The web page is
using the post method to send request to the server.

Hi All,

Can any body tell me how to send sms from java code.

Thanks and regards -

Vikas
Hi ,
I am using oracle 9i. And while trying to make request from client to j2ee server through ejb and facing following problem :

"Database Error com/pramati/ejb/runtime/UserSecurityBean_LocalObject_Impl_1343338994$8"

Can any one suggest me. What exact problem is this ?
HI All,

I need unique identifier. For this I planning to use java.rmi.server.UID class.
Can any body tell me what s the maximum limit of this classss to give unique number.
HI All,

I need unique identifier. For this I planning to use java.rmi.server.UID class.
Can any body tell me what s the maximum limit of this classss to give unique number.
16 years ago
You can aither use jndi.property concept or you can use as follows :

String url = //yr server url;
String factory = //yr factory ctx

Properties properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, factory);
properties.put(Context.PROVIDER_URL, url);
Context ctx =InitialContext(properties);

Hope this will work out
Hello friends.

I did self study and I got the answer that I forgot to specify specified jar file
in the MANIFEST.MF file.
I added te entry and its working filne.

Regards -
Vikas Kumar Sahu
16 years ago
Hi All,
I am facing one problem.
I am trying to exeute application jar.
through command java -jar cleint.jar
In this jar I am ussing one class ProcessingFailureException this class is in process.jar file. I have set the process.jar in classpath. but when I am running the command

set classpath=%classpath%;c:\process.jar
java -jar client.jar

The foolowing exception is coming

C:\client>java -jar snmsnbi.jar
Exception in thread "main" java.lang.NoClassDefFoundError: globaldefs/ProcessingFailureException


Can any body give the clue ?

Waiting -
Vikas Kumar Sahu


16 years ago
Hi,
I have one problem regarding the JTable.
I have to implement next , previous option in jtable.
My problem is I have say 1000 records but i dont want to display entire records in a table at a time.
I want 10 records first time then when user press next button then next 10 records should come in the table.
Could any body suggest me how to do that.... or any sample example.

Best Regards -
Vikas Kumar Sahu.
16 years ago
java -jar work1and2.jar
Exception in thread "main" java.lang.SecurityException: no manifiest section for
signature file entry javax/help/resources/Constants_zh.class
at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)

at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
at sun.security.util.SignatureFileVerifier.process(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarFile.initializeVerifier(Unknown Source)
at java.util.jar.JarFile.getInputStream(Unknown Source)
at sun.misc.URLClassPath$JarLoader$1.getInputStream(Unknown Source)
at sun.misc.Resource.cachedInputStream(Unknown Source)
at sun.misc.Resource.getByteBuffer(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
18 years ago