Help coderanch get a
new server
by contributing to the fundraiser

nuthan kumar

Ranch Hand
+ Follow
since Feb 14, 2006
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 nuthan kumar

Hi I have one JSP which is calling java class to perform some action. JSP page is not able to catch correct exception from the class.

Java class Code


JSP code


in jsp instead of displaying Array out of bound exception, its always displaying null pointer exception. I tried throwing custom exception from java class. still jsp is catching Null pointer exception.
14 years ago
JSP
Hi,
Is there any way to pass a bean object (instantiated in a JSP) to applet..? My requirement is to display dynamic progress messages in between bean method calls.
14 years ago
Hi,
Is there any way to invoke a browser loaded applet from DLL file from client side. My requirement is to provide a new menu item in Microsoft office, when user clicks on it, it has to check whether predefined applet loaded (browser loaded applet) or not, if its already loaded then it has to invoke a method from the applet to upload the word document to server.

Thanks in advacne
Nuthan
15 years ago
I tried with "Accept-Charset" setting, still no luck
Hi,
I am facing problem while submitting AJAX request with Japanese charter, in target page Japanese characters are not coming properly.
I am using below code to send Ajax request.


variable sParams contains Japanese characters.

actual file name 1-計画.tif and while trying to print that name its printing 1-??.tif
15 years ago
i am seeing ? in the string, i tried by removing encoding/decoding also. still its not wroking properly
15 years ago
Hi All,
I am getting string value from one FTP server (this holds name of the file, and we are using Apache FTP API to get filenames), while creating a file in local maching with same name its not creating with japanese characters, its puting some junk charcters. Please help me in creating file with same name. I am using following code to get file name and to create new file

String sFilename = ftpFile.getName(); // ftpFile is apache FTPFile object
String jpName = new String(sFilename.getBytes("UTF-8"),Charset.forName("SJIS"));
File targetFile = new File(jpName);
targetFile.createNewFile();

but this code is not working properly

Nuthan
15 years ago
I am not able to attach sample ppt file .. can you help me in attaching ppt file
I want to get markings on the image (text boxe, lines etc ..) which give more information about image. there are created uisng PPT drawing. I need to get the image along with these markings.


Nuthan
Hi,
I need to develop JAVA code which will read PPT file to extract images and create PDF file. I am using POI and iText libraries. But I am facing problem in extracting images along with markings on them. Is there any way to extract image along with markings or is there any way to convert entire slide into image using POI..?


Nuthan
I found the problem, there is not issue with XL file generation, but downloading file giving problem. I am using following content type in the jsp file

response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment;filename=\""+filename+"\"");
16 years ago
No, BEA also using same JVM as tomcat .. and in both servers file.encoding system property is Cp1252
16 years ago
I am running both servers (tomcat and weblogic) in same windows system.
16 years ago
Hello Everyone,
I am facing problems with XL file creation using JXL and weblogic, where as same code is working fine in Tomcat server. In weblogic its putting non readable characters. there is no differenct in UTF character seeting in both the server. Please let me know is there any other setting I need to worry about.
16 years ago