mr raj

Greenhorn
+ Follow
since Aug 21, 2001
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by mr raj

Hi,
Can anybody throw light on HTML Kona.
When my application will need this.
Your response will be appreciated
Thnaks
22 years ago
Yeah it is possible. Here is the exact link how to do... http://e-docs.bea.com/wls/docs60/adminguide/appman.html
Regards
Raj
22 years ago
Thanks a lot guys.
I was not sure whether this is possible or not.You cleared this thing otherwise I could have make effort trying to achieve it, resulting in wastage of time.
Thanks and Regards
MR Raj
22 years ago
Hi All,
I have written a EJBClient Program. My Weblogic Server is running on WL Version 5 and I compiled this client program using the jar files of weblogic 6. The program compiled but when I try to run then while getting InitialContext it throws Exception...
My client program look likes this...
public static void main(String args[])
{
try
{
final Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, "t3://localhost:7001");
environment = new InitialContext (env);

}
catch(Exception e)
{ }
}
Exception is ......
java.lang.NullPointerException
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:191)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246

at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)
at EJBClient.main(EJBClient.java:29)
Can any body help me out.
Can I do it this way ???
Regards
Raj
22 years ago
Hello sven veer,
I tried using Runtime Class, but I am getting Exception on NT...
Exception :java.io.IOException: CreateProcess: cls error=2
I tried on UNIX also, I am not getting any Exception. but the screen is not clearing..
My code is like this....
import java.io.*;
class clearScreenRuntime
{
static void main(String args[])
{
try
{
Runtime.getRuntime().exec("cls");
}
catch(IOException ioe)
{
System.out.println("Exception :"+ioe);
}
}
}
I wanted to know, is this the correct way of doing that....
If any modification requires then please let me know.
Suggestion from others is also welcome.
Regards
Raj
22 years ago
Thanx a lot guys
I will try this in different different ways and try to achieve it. Thanks a lot once again.
Regards
Raj
22 years ago
Hello George,
Thanks for reply. Yes, my client is invoked from the command-line and wants to clear the terminal screen that it was invoked from.
I am using UNIX and my screen has 24 rows. I already did using for loop calling System.out.println() 24 times. But the problem with this is that my screen gets cleared but it starts printing data form 25th line onward instead of 1st line. I want to print the data from the 1st line after clearing the screen.
Suggestion from rest is also welcome.
Its urgent !!!
Regards
Raj
22 years ago
Hi All,
can anybody tell how to clear the MS DOS / UNIX screen.
Actually my project require to clear the UNIX screen before displaying the data fetched from database.
eg., in DOS/UNIX we use cls to clear the screen. The same thing I want to do from my EJB Client before displaying data.
Please share your idea. Its URGENT !!!
Raj
22 years ago
Hi All,
can anybody tell how to clear the screen.
Actually my project require to clear the UNIX screen before displaying the data fetched from database.
eg., in DOS we use cls to clear the screen. The same thing I want to do from my java code.
Please share your idea. Its URGENT !!!
Raj