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);
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.
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
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:
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
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:
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
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
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
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
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
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
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
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
14 matches
Mail list logo