Re: looping through System.getProperties()?

2006-09-22 Thread Ramesh Kadirisani
Josh, check the following url: http://www.activsoftware.com/code_samples/code.cfm/CodeID/137/Java/Enumerating_the_System_Properties_in_JSP Ramesh Kadirisani. josh hughes wrote: Hello, Could anyone help me complete my first jsp tutorial. I must admit, I am very new to JSP, although I have

how to access remote beans

2003-01-13 Thread Ramesh Kadirisani
scope=page/ can i access a remote bean in some way like jsp:useBean id=connection class=http://xxx/com...xxx.xx.TestBean; scope=page/ Also please suggest me where should i focus in jsp technology to understand this. Thanks, Ramesh Kadirisani

getting JRun servlet error

2002-09-25 Thread Ramesh Kadirisani
) at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364) at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:388) at allaire.jrun.ThreadPool.run(../ThreadPool.java:272) at allaire.jrun.WorkerThread.run(../WorkerThread.java:75) Could somebody help me out in resolving this? Thanks, Ramesh

calling an executable from my jsp program

2002-09-23 Thread Ramesh Kadirisani
perl program(on Windows NT) as below: system(mp.exe siid.sgml -t siid.text -h siid.html -e siid.err ); How can i accomplish the same in my jsp program? Thanks in advance. Ramesh Kadirisani. === To unsubscribe: mailto [EMAIL

replacing a single quote with double quotes

2002-07-16 Thread Ramesh Kadirisani
and java). do i have to create a bean to use the above code? Suppose if i have only the following code in my jsp program and i want to use the above code to print Ramesh''s program, how do i do that? % String msg = Ramesh's program; //here i want to use the code out.println (msg); % thanks, Ramesh

Re: replacing a single quote with double quotes

2002-07-16 Thread Ramesh Kadirisani
Hi Margaret, i tried the following: % String msg = Ramesh's program; msg = msg.replace('\'',); out.println(msg); //i need two single quotes in the place of the existing quote % which leads to compilation error. Ramesh Kadirisani. Margaret Fisk wrote: Why can't you escape both single quotes

Re: replacing a single quote with double quotes

2002-07-16 Thread Ramesh Kadirisani
code like: String doubleTicked = fixTick(singleTicked); Dale Nicholson -Original Message- From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 2:55 PM To: [EMAIL PROTECTED] Subject: Re: replacing a single quote with double quotes hi Peter

Re: replacing a single quote with double quotes

2002-07-16 Thread Ramesh Kadirisani
; while (index != -1) { a_str = a_str.substring(0, index + 1) + ' + a_str.substring(index + 1); start = index + 2; index = a_str.indexOf('\'', start); } return a_str; } --- thanks, Ramesh Kadirisani. Lai, Kenny wrote

Re: help needed(java.sql.SQLException: Invalid Oracle URL specified)

2002-07-11 Thread Ramesh Kadirisani
Hi Ben, thanks for the response. i tried the way you suggested. no luck. is there anything else i have to check? thanks, Ramesh Kadirisani. Ben Steiner wrote: instead of conn = DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr); it should work this way

Re: help needed(java.sql.SQLException: Invalid Oracle URL specifi ed)

2002-07-11 Thread Ramesh Kadirisani
Thank you. Thank you. It worked. thanks a lot. Ramesh Kadirisani. It, Cockpit (CAP, Contractor) wrote: Dear Ramesh, You are missing : next to thin... If you give as follows it will work try this... conn = DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST 1