JSP to JavaScript error

2003-02-04 Thread Jan Arenö
Hi, this is a JSP/Javascript question I send a Oracle db Rowid between two pages. Since the Rowid can contain '+' char i use URLEncoder.encode. I have a link a href=javascript: nextPage('%=URLEncoder.encode(Rowid)%')Next page/a script function nextPage(rowid) { //Do some stuff... and end in:

Threat Level 3 - Jakarta Tomcat Multiple Vulnerabilities

2003-02-04 Thread Shahata, Ash
Hi all, we have just received notification about the above vulnerabiltiy in Tomcat releases prior to 3.3.1a.. my question is, is there a way to upgrade my 3.2.3 to this 3.3.1a, or do I need to re install ? Did anyone apply this 3.3.1a !? Thanks -- Ash

URGENT!!!!!!!!

2003-02-04 Thread Ruchi Agarwal
Can some one help me .. how to download images from an HTML page and save to to the hard disk.// My program shd be able to give a URL and I shd be able to copy the images from that URL to my Hard disk. *-- This message and any attachment(s) is intended only for the use of the

Re: URGENT!!!!!!!!

2003-02-04 Thread Sreenath V Reddy
Title: RE: URGENT u can use teh URL class in java and specify teh image name(complete URL) and use teh input stream and read teh bytes and write to the local disk using file system. -Original Message- From: Ruchi Agarwal [mailto:[EMAIL PROTECTED]] Sent: Tue 2/4/2003 1:46 PM

Re: HttpClient to Servlet

2003-02-04 Thread Evan Wright, iLabs Inc.
Create a session object the first time the client connects (log in) with getSession(true) and each subsequent getSession(false) would return that object. (?) - Original Message - From: Adrian Janssen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 4:29 AM Subject:

Re: JSP to JavaScript error

2003-02-04 Thread Vikramjit Singh
when you encode it you must decode it also, to get the value. try using the decode function. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jan Arenö Sent: Tuesday, February 04, 2003 1:53 PM To: [EMAIL

File Downlaods

2003-02-04 Thread Clayton Nash
Hi All, I have a servlet class that downloads a file to a user. It looks something like this. int size=0; File target=new File(f_Path+/+os_filename); int fileSize=new Long(target.length()).intValue();

Re: HttpClient to Servlet

2003-02-04 Thread Christian Bollmeyer (GMX)
Well, in fact there are three ways to use getSession(), a 'default' one plus a method that takes a boolean as input indicating whether to explicitly create a Session or not. Normally, one would use the default implementation (getSession()). This will either return a reference to the Session if

Re: HttpClient to Servlet

2003-02-04 Thread Sloan Michael
According to http://java.sun.com/products/servlet/2.3/javadoc/index.html It looks like getSession() and getSession(true) do the same thing. getSession(true) does not create a new session if one already exists.

Locale getAvailableLocales()

2003-02-04 Thread Chuck Coker at JSP Interest
Hi, Could anyone provide sample code for going through the locales in java.util.Locale.getAvailableLocales() and printing them out. I would like to see a sample that is different than what I am using. I'm sure there must me several ways to accomplish the task. This code used to work. I haven't

Re: JSP to JavaScript error

2003-02-04 Thread Vikramjit Singh
to add on In hope this will help u... An approach towards handling the special characters has been mentioned below. Steps to be followed for Special Character Handling Gist of the approach followed [A] Forward Flow - While Adding data - Use escape function to encrypt the field