Piradharsan Navaratnam

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

Recent posts by Piradharsan Navaratnam

Hi friends,

I am facing a situation where i have to assign a vbscript variable with the value i get from a java method. how can i implement this.

Can i call vbscript in side java scriplets.???

For example say i have a vbscript valiable
dim name

i need to assign the variable with the value like
name = <%= MyClass.getName()%>
15 years ago
JSP
Hi friends,

1.
I deployed a stateless session bean in WAS 4.0. I tried to invoke a method on the bean but this exception is thrown when i call the create() method on the home interface. Can anybody tell me the reason?

2.
Even after i undeploy the ejb i can get a reference to the home interface.
But the same corba objectZ_not_exist exception is thrown when the create() mewthod is called.
How is this possible?

3.
What are the files should br in the ejb client jar?

Please help me i am out of time ?

Thank you.
Hi friends,

Im tired of surfing the net to solve my problem. I wrote a webservice and i hosted in the IBM websphere app server. Bt i needed to access it through a stand alone progrm. I don't know what are the jar files needed to run the stand alone program.

Note: I wrote a application client in the RAD 6.0 and its accessing the webservice inside the server. Bt how do I access the webservice through a stand alone program.
16 years ago
Hi brothers and sisters,

I wanted to check whether the a server is running or not. So I wrote a client socket program to connect and check the status of the server.

I faced lot of problems that it i wanted to continuoustly check the server so i wrote the code inside a infinite while loop.

I got the above exceptions not both at once.
The address already exists exception occurred when i connected using the below code.

loop:
while(true){

tyr{
Socket s = new Socket(ip, port);
s.close();
}catch(Exception e){
continue loop;
}
}

The Socket operation on nonsocket exception occurred when i used the below command

the same while loop but I tried to connect through
new Socket.connect(SocketAddress){}

please help
Hello friedns I need to run a query and based on its results to run another query. How can I implement it. Im using mysql innodb.



[ UD: added CODE tags for better readability ]
[ August 19, 2007: Message edited by: Ulf Dittmer ]
In my form i have to invoke a js method before submit. So i added th below code to the submit button.

input type="submit"

onnclick="return jsmethod()"
---------I hv added nn becaz it is not allowing here---------

It is invoking the method when i click the submit button. But it is not invoking the js method when i press enter.

Why is that???

Its invoking the jsmethod() when i click submit button as well as on enter key press on all other forms except one form why???
Hello my dear friends,

Can anybody explain me how to extract the barcode id from a barcode reader. I need my application to capture the id automatically when a barcode label is shown to the reader. Simply say a jsp with a form has a textfield when the client show the barcode lable to the reader it has to capture the id and put it to the texrfield automatically.


Please I hv to submit my project on july 30th. Can anybody help me.
16 years ago
Dear friends,

I viewed a jsp actually it is ull of html and css but I used <%= %>
expressions to retrieve values stored in the request scope.

This page renders in the browser properly when I view it through IE from dreamweaver. But it is not rendering properly in the browser when I call it throgh a servlet and the server is tomcat 5.5. Not properly rendering means it prints the values stored in the request scope but all the background clolor and formatting are all gone not visible. Pls help Im nearing the dead line of my project............
16 years ago
JSP
Dear friends ,

In my web application I thought to send a page saying "Under Construction. Sorry For inconvenience" to the customers who view my application while it is in construction. So I created a table with an attribute saying sys_shut. I need all my servlets to check sys_shut and tel the customer it is under construction. It should happen when the admin sets the value to sys_shut 'OFF'.

How to check this status when ever a request or servlet is invoked. Its like initial context param. But how to implement it.
[ June 04, 2007: Message edited by: Bear Bibeault ]
16 years ago
Can anybody say what happens when we log out. I think we invilidate a session. But what happens when a person closes a browser without logout will he logged out automatically ?
16 years ago
Friend How can I create unique primary keys in java or in mysql.

Please read this...........

There are lot of speed posts(type of mail/letter) are accepted in our postoffices. I need to uniquely identify them. I thought to generate a unique id like this.

Say its 04thJune07 then
the ids will propogate like 040607(a unique post office id - 5 digits)(auto increment letter id)

For example 040607907361
040607 is the date, 90736 is the post office code (there are unique code for every post offices), 1 is the autoincrement no.

Can any body help me?
ok. if servlets an djsp are not good for the backup process then what shall i do to implement this requirement. Can anybody give me some ideas. plzzzzzzzzzzzzz
16 years ago
Hi Friends Im here with a big headache,

Im developing a web base app in windows xp environment. Im using servlets and jsp. Im using tomcat as the web container and mysql as the backend. I need to automate the backup process (ie) a process should trigger automatically from the server and take all the backups (database) daily or whatever.

Can anydoby help me to find a solution for this? plzzzzzzzzzzzzzzzzzzz
16 years ago
Hi Friends Im here with a big headache,

Im developing a web base app in windows xp environment. Im using servlets and jsp. Im using tomcat as the web container and mysql as the backend. I need to automate the backup process (ie) a process should trigger automatically from the server and take all the backups daily or whatever.

Can anydoby help me to find a solution for this? plzzzzzzzzzzzzzzzzzzz
16 years ago