HashMap

2002-03-05 Thread Shahata, Ashraf
Hi all, I've got the following code that uses the HashMap to pass to a session: % HashMap messageList = new Hashtable(); messageList.put(company, NetEffect); messageList.put(company_address, Oosteinde 1); messageList.put(company_city, Amsterdam);

J2EE Web Client problem

2002-03-05 Thread Kairam, Raj
For those of you who tried the tutorials from Sun to test and learn J2EE... Following the instructions, I was able to compile the Web Client, package, specify Web Client's Context Root,Enterprise Bean Reference and specify JNDI Names. The Web Server is obviously working.

Re: HashMap

2002-03-05 Thread Kommana, Sridhar
Try with HashMap messageList = new HashMap(); Thanks, Sridhar -Original Message- From: Shahata, Ashraf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 5:49 AM To: [EMAIL PROTECTED] Subject: HashMap Hi all, I've got the following code that uses the HashMap to pass to

Re: HashMap

2002-03-05 Thread Isidoros Vacropoulos
You must first take a new instance of the hashtable object and then assign to it the value of the session variable that is: Hashtable h = new Hashtable(); h = (Hashtable)session.getAttribute(mailMessages); -Original Message- From: Shahata, Ashraf [mailto:[EMAIL PROTECTED]] Sent:

Re: HashMap

2002-03-05 Thread BootedBear
I'm not sure exactly what your problem is, but the advice to create a new object, and then replace it with the one retrieved from the session is totally unsound. All that will do is to create an extraneous Hashtable instance that will be garbage collected at some point after replacing the

download exception

2002-03-05 Thread Jack Xu
Hi, I am using JRun with the snippet below to download binary information from the database. response.setContentType(application/x-msdownload); ServletOutputStream stream = response.getOutputStream(); stream.write(buffer); However, I kept getting an enigmatic exception:

API URL

2002-03-05 Thread Gardner Monte
I'm sorry for posting such a basic question, but can someone tell me the URL for the Servlet API. I need to look up some specific methods and stuff, and I can't seem to find it even though I've been there before. --Monte Glenn Gardner

GIF Modification

2002-03-05 Thread Peter Dolukhanov
Dear All, I was wondering if there was a Java class that would (easily) allow me to: i) Take an existing GIF image ii) Add objects (ie, circle, colour red, at position x,y) iii) Save or display the output Is this possible? Cheers Pete Dolukhanov

images disabled

2002-03-05 Thread Maurice Munoz
Does anyone know a java solution on how to disabled images being copied through your browser. ==To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set

Re: images disabled

2002-03-05 Thread Peter Claesson (EUS)
There is no way for you to prevent people from copying your images. If you want them to be seen, then they will be downloaded to the browser. Hence available in the cache. Disabling IE context menus still doesn't disable the cache. The only option I can think of is to imprint into the images

Re: images disabled

2002-03-05 Thread Shaik Zulfakhar Ali
Hi, Using Javascript you can prevent the user to copy the images upto some extent Regards Zulfakhar - Original Message - From: Peter Claesson (EUS) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 06, 2002 11:06 AM Subject: Re: images disabled There is no way for you

Class File Length - [Off-Topic]

2002-03-05 Thread I Wayan Saryada
Dear All, Are there any limitation in file length of a class, because I have a problem when i am signing my jar file that contain a file (class) with a length more that 130 characters. After signing the .jar file, and running jarsigner -verify myjar.jar it will says that my manifest file is

file size detection

2002-03-05 Thread Maurice Munoz
Does anyone know the code to detect a page's file size For ex: noname.html = 300 kb ==To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set

Re: file size detection

2002-03-05 Thread Rajarshi Ghosh
Use the Header Content-length ---LOVE IS GOD-- Mr. Rajarshi Ghosh Senior Software Engineer(Team Leader) Educomp Datamatics Ltd. No-16,80 ft Road,4th Block,Koramangala Bangalore- 560034 mail to: [EMAIL PROTECTED] [EMAIL PROTECTED] ...Achieve the