venkateswarlu nelavalli

Greenhorn
+ Follow
since Apr 22, 2008
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 venkateswarlu nelavalli

Hi,

In my jdbc code i have an insert statement like
psmt.setBoolean(model.getFlag()), getFlag() returns true or false.
It sets 0 or 1 in tables.

How I need to mention this in IBatis.I have same model object and passing this model object as a parameterClass to the Ibatis in the XML file.I need to insert 0 or 1 in the database.

Thanks
Venkat.
Hey I am sorry to forgot.I used servlet code only.The above code is in servlet.Once it streams all the data it is trying to open in a new window, in this while opening i got this problem.

Thanks
Venkat.
15 years ago
Hi,

I am getting a problem while opening Excel and pdfs in JSP using Websphere Application Server 6.1.It is working fine with WAS5.I am using the following code to display in excel.
HSSFWorkbook wb = null;
ServletOutputStream sos = null;
sos = resp.getOutputStream();
wb.write(sos);
sos.flush();
It is trying to open the window but it says couldn't open.Next popup says Microsoft excel can not access the file.

Please help me out.

Thanks
Venkat.
15 years ago