senthil nathan

Greenhorn
+ Follow
since Jun 14, 2002
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 senthil nathan

Hi,
I have problem like i'm sending 6000 bytes from cobol stored procedure..which when i get in java...my bytes gets reduced in Websphere Application Server(runs on Sun Solaris).This is character which creates problem �.When this character comes twice in the screen...it works fine.but after that each appearance of this character reduces me one byte.This problem in my local PC(Visual Age for Java running on Windows 2000)is not appearing.Data is coming from MainFrame...I checked the db2 driver version in both these environments.
WORKING
Driver Name:IBM DB2 JDBC 2.0 Type 2
Driver Version:07.02.0000
Driver Major Version:7
Driver Minor Version:1

NOT WORKING
Driver Name:IBM DB2 JDBC 2.0 Type 2
Driver Version:07.02.0005
Driver Major Version:7
Driver Minor Version:1
As u can see only the minor change...Is it the probelm....
Need Help.
Thanks
Hi,
Do i need to have any setup in Sun Solaris, in order to work with Unicode characters which comes form Mainframe system.I have problem like i'm sending 6000 bytes from cobol stored procedure..which when i get in java...my bytes gets reduced. This is character which creates problem �.When this character comes twice in the screen...it works fine.but after that each appearance of this character reduces me one byte.This problem in my local PC(Visual Age for Java running on Windows 2000)is not appearing.Do i need to setup something in WebSphere or Operating system.
Need Help.
Thanks
21 years ago
Hi,
Do i need to have any setup in Websphere Application Server(runs on Sun Solaris) in order to work with Unicode characters which comes form Mainframe system.I have problem like i'm sending 6000 bytes from cobol stored procedure..which when i get in java...my bytes gets reduced. This is character which creates problem �.When this character comes twice in the screen...it works fine.but after that each appearance of this character reduces me one byte.This problem in my local PC(Visual Age for Java running on Windows 2000)is not appearing.
Need Help.
Thanks
21 years ago
Hi all,
My application supports multi languages.I'm calling a cobol stored procedure which returns a string which contains say 10 to 50 rows.In that one column contains french characters which works fine in my VisualAge for Java, Windows 2000.When i move my code to another server, WebSpehere 3.5.3,Sun OS.The same code fails.I don't know whether the problem with Operating system, or websphere server needs some set up or Need to update JVM/JDK...If someone can help me regarding this that will be really helpful...
Thanks.
Senthil
21 years ago
I'm working in DB2 database...this is not possible....
Any other suggestion...
Thanks
Senthil
Hi,
I have a query which returns 10,000 rows and it takes lot of time to return.so is there any way in java while calling statement.executeQuery that i can mention get only 60 rows...
Thanks.
Senthil
It depends on what stored procedure u r running...Whether java stored procedure or cobol batch programs or what...based on this we can answer ur question
Senthil
Hi,
Within while(rs.next) you are doing costly operations like getMetaData.Also u r looping inside while rs.next which needs to go looping...try to separate the code and see u should be able to see it work faster.
ALL THE BEST.
Senthil
I'm returning
SKIP_BODY;
in my doStartTag()
Senthil
21 years ago
JSP
Hi,
I have taken a new project which has its framework already done, it uses hashtable extensively...my guess is it will affect performance...if someone can give me the clear explanation of how it will affect and if i can see some material regarding this it will be useful for me to proceed from there on...
As testing is scheduled in a month or so before that i can clean it up..to support my argument i need this..
Thanks.
Senthil
21 years ago
Hi Everyone,
I have a doubt in how lifecycle of taglib works...
public abstract void setPageContext(javax.servlet.jsp.PageContext);
public abstract void setParent(javax.servlet.jsp.tagext.Tag);
public abstract javax.servlet.jsp.tagext.Tag getParent();
public abstract int doStartTag() throws javax.servlet.jsp.JspException;
public abstract int doEndTag() throws javax.servlet.jsp.JspException;
public abstract void release();
Above is the sequence in which methods are called.
THIS IS MY JSP PAGE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<%@ taglib uri="cs6386-taglib.tld" prefix="cs6386" %>
<TITLE><cs6386:first_tag /></TITLE>
</HEAD>
<BODY>
<H1><cs6386:first_tag /></H1>
<cs6386:second_tag />
</BODY>
</HTML>
My question is
IN THE ABOVE PROGRAM I HAVE CALLED 3 TIMES THE TAG CLASS. SO EACH AND EVERYTIME IT WILL CALL doSTARTTAG() METHOD.IS THIS RELATED TO CREATING NEW INSTANCE...SO IF I DIDN'T CODE doENDTAG() IS IT GOING TO BE A PROBLEM..OR HOW IT EXCATLY WORKS...
THANX IN ADVANCE...
SENTHIL
21 years ago
JSP
When We extend TagSupport Class, should we have to call explicitly doEndTag() or it is not needed.

Thanks,
Senthil
21 years ago
JSP
Hi,
I have a screen where i will give one input field, based on this field i'll populate 10 fields.In this 10 fields most of them involve calculations.I'll have method where i'll query the database for that input field.When i get the value, say i'm getting one value, again i should query another table for this fields(Which i got from preevious query) adn then calculate it and set it in a bean.My question is calling a method from another method often causes performance hindrance or not..
Thx in Adv
Senthil
21 years ago
Hi,
Is declaring variables inside a method is efficent or declaring it outside is efficient.
Whta are the Advs and Disadvs of both.
Thanks.
Senthil
21 years ago
Hi,
I have asked Vector and Hashtable in coding.When it was tested in server, admin people said that Vector and HashTable are taking more memory.So try to reduce it.My question is If i use HashTable.clear() and Vector.clear().I know that it will clear all elements from Vector and HashTable, does it releases the consumed space from memory also.
Thnks in Adv.
Senthil
21 years ago