Re: The comparison between string and char.

2001-01-01 Thread Ramesh, Kesav
hey use the following code you wil get "yes" <% BufferedReader in = new BufferedReader( new InputStreamReader( yc.getInputStream())); String inputLine; if ( (inputLine.substring(0,1)).equals("1") ) { out.println("yes"); } else { out.

Re: Maximum size of file uploads?

2001-01-02 Thread Ramesh, Kesav
hey we have a separate application using oreilly's class but care should be taken that when you are uploading the files you are going to send that uch thru the req object. it works well for size <10 mb.see oreilly for much details about this class /** * A utility class to handle multipart/form-

Re: init method in JSP

2001-01-04 Thread Ramesh, Kesav
you can use the additonal code here PageContext.getConfig() will return the config object then you can use the getInitParameter. Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED]

Re: QUERY ABOUT DB2 DATABASE

2001-01-08 Thread Ramesh, Kesav
this is what i heard from my friend.. >> yes there is ..ask ur friend to query on the system catlog...such as sysibm.systables,sysibm.syskeys, sysibm.syscolumns... Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 38

Re: Caching the records

2001-01-10 Thread Ramesh, Kesav
Hai, you can pass the whole 90 into a vector. the browser will not get timed out. coz in our previous project we used 200 per page. you have to query only 10 records at a time and strore it in a vector then you can show only them. you have to keep track of the strat and end row number in any page

Re: How to write info into a file using JSP?

2001-01-10 Thread Ramesh, Kesav
use java.io classes Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Faxin Zhao [mailto:[EMAIL PROTECTED]] Sent: Wednesday

Re: Get/Post question

2001-01-10 Thread Ramesh, Kesav
alternatively you have pass these variables as hidden fields. Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Dan Lopez [

Re: URGENT - (How does sorting of mails work )

2001-01-10 Thread Ramesh, Kesav
store all the values as a file and open the file with line number reader catch the start and end line always. Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: Offtopic

2001-01-10 Thread Ramesh, Kesav
if you are using servlets then it can be done through runtime.getRuntime.exec(""); you need to keep track that when you run the servlet the id will be root so it has to have all the permissions for the directory in whihc you are executing. Regards Ramesh Kesavanarayanan Electronic Data System

Re: Can JSPs call an EJB

2001-01-11 Thread Ramesh, Kesav
check out the weblogic.properties you can set the jsp files there Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Vikas

Re: URL of File Sending the request

2001-01-18 Thread Ramesh, Kesav
request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Messa

Re: How to write info into a file using JSP?

2001-01-18 Thread Ramesh, Kesav
ginal Message - From: "Ramesh, Kesav" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 11, 2001 10:35 AM Subject: Re: How to write info into a file using JSP? > use java.io classes > > > Regards > > Ramesh Kesavanarayanan >

Re: How to create Dynamic PDF's from java

2001-01-18 Thread Ramesh, Kesav
you can use Htmldoc which converts a html page into a pdf format. Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Hosegoo

Re: javax.servlet.ServletRequest

2001-01-19 Thread Ramesh, Kesav
extend your servlet to HttpServlet and use req.getParameter() Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Sebastian C

help regarding audio clip

2001-01-25 Thread Ramesh, Kesav
Hi all, i am trying to invoke a audio file from my jsp . The application compiles well but when i run it i does not do anything. here is the code snippet i used for testing. let me know if anything is wrong in this. === import java.awt.*; import java.applet.AudioClip; impor

Re: help pls

2001-01-25 Thread Ramesh, Kesav
simply say request.getParameter("comment"); Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Jawid Ahmadi [mailto:[EMAIL P

Re: float to decimal?

2001-02-01 Thread Ramesh, Kesav
what is the error you are getting??? Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Manish Joshi [mailto:[EMAIL

Re: problem in using out.println in method

2001-02-06 Thread Ramesh, Kesav
out is a default supplied printwriter object. you are making this as a string. try to take that "" from that and it will work Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [

How do you load native libraries in servlets and avoid Unsatisfie dLinkError

2001-02-08 Thread Ramesh, Kesav
Hello all How do you load native libraries in servlets and avoid UnsatisfiedLinkErrorDetailed Question: How do you load native libraries in servlets and avoid UnsatisfiedLinkError? Basically, it appears that many people have the problem in which one classloader loads a shared object which then f