[no subject]

2002-08-20 Thread Kesavanarayanan, Ramesh (Cognizant)

Hi all,

 I have j2sdk2.1 in my machine. how will i compile a jsp page. I have stored
the jsp page under webpages\web-inf\servlets.

 let me know your comments please.


Regards

Ramesh Kesavanarayanan
 *   [EMAIL PROTECTED]





This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

Visit us at http://www.cognizant.com



[no subject]

2002-08-20 Thread Lakshmeenarayana G G

The SDK doesn't contain JSP compiler.
Check with J2EE SDK.. in java.sun.com

There is a compiler by name jspc.

Cheers
L G Goundalkar.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Kesavanarayanan, Ramesh
(Cognizant)
Sent: Tuesday, August 20, 2002 12:04 PM
To: [EMAIL PROTECTED]
Subject:


Hi all,

 I have j2sdk2.1 in my machine. how will i compile a jsp page. I have stored
the jsp page under webpages\web-inf\servlets.

 let me know your comments please.


Regards

Ramesh Kesavanarayanan
 *   [EMAIL PROTECTED]

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: JavaMail

2002-08-20 Thread Emmanuel Eze

why don't u use JavaMail API?

-Original Message-
From: Jan Arenö [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 10:07 AM
To: [EMAIL PROTECTED]
Subject: JavaMail


Hi

I have a function that sends a JavaMail.

(import sun.net.smtp.SmtpClient;)

   SmtpClient client = new SmtpClient(mailServer);
   client.from(from);
   client.to(to);
   PrintStream message = client.startMessage();
   message.println(To:  + to);
   message.println(Subject:  + subject);
   message.println(mymessage);
   message.println();
   message.println();
   client.closeServer();

But since I am suppost to use our SmtpServer and out clients mailadress,
this is a problem. My SMTPserver don't allow anyone to use it to send a
email, only the ones that have an account.
What I want to do is to either fix so I can email from the right email OR
add an replyadress. How do I do any of this?

// Jan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: JavaMail

2002-08-20 Thread Lakshmeenarayana G G

I agree with emmanuel.

Guys, Please unsubscribe if you are going on leave or you are terminating
the email id.
Its irritating to get OUT OF OFFICE reply from you.

Cheers.
L G Goundalkar


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Emmanuel Eze
Sent: Tuesday, August 20, 2002 1:03 PM
To: [EMAIL PROTECTED]
Subject: Re: JavaMail


why don't u use JavaMail API?

-Original Message-
From: Jan Arenö [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 10:07 AM
To: [EMAIL PROTECTED]
Subject: JavaMail


Hi

I have a function that sends a JavaMail.

(import sun.net.smtp.SmtpClient;)

   SmtpClient client = new SmtpClient(mailServer);
   client.from(from);
   client.to(to);
   PrintStream message = client.startMessage();
   message.println(To:  + to);
   message.println(Subject:  + subject);
   message.println(mymessage);
   message.println();
   message.println();
   client.closeServer();

But since I am suppost to use our SmtpServer and out clients mailadress,
this is a problem. My SMTPserver don't allow anyone to use it to send a
email, only the ones that have an account.
What I want to do is to either fix so I can email from the right email OR
add an replyadress. How do I do any of this?

// Jan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



SV: JavaMail

2002-08-20 Thread Jan Arenö

I don't know. I took the code from a JavaGuru answer... that's all I know...
It worked and then I didn't have any reason to change it...

Is JavaMail API something I need to install or is it part of the default
installation?
Please send me some tips on the API

//Jan

-Ursprungligt meddelande-
Från: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]För Emmanuel Eze
Skickat: den 20 augusti 2002 09:33
Till: [EMAIL PROTECTED]
Ämne: Re: JavaMail


why don't u use JavaMail API?

-Original Message-
From: Jan Arenö [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 10:07 AM
To: [EMAIL PROTECTED]
Subject: JavaMail


Hi

I have a function that sends a JavaMail.

(import sun.net.smtp.SmtpClient;)

   SmtpClient client = new SmtpClient(mailServer);
   client.from(from);
   client.to(to);
   PrintStream message = client.startMessage();
   message.println(To:  + to);
   message.println(Subject:  + subject);
   message.println(mymessage);
   message.println();
   message.println();
   client.closeServer();

But since I am suppost to use our SmtpServer and out clients mailadress,
this is a problem. My SMTPserver don't allow anyone to use it to send a
email, only the ones that have an account.
What I want to do is to either fix so I can email from the right email OR
add an replyadress. How do I do any of this?

// Jan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: JavaMail

2002-08-20 Thread Kesavanarayanan, Ramesh (Cognizant)

you can download mail.jar and activation.jar and set it inyour classpath.
then you can start using javamail.
you can get many smaple programs from sun site.

Regards

Ramesh Kesavanarayanan
 *   [EMAIL PROTECTED]




-Original Message-
From: Jan Arenö [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 2:09 PM
To: [EMAIL PROTECTED]
Subject: SV: JavaMail


I don't know. I took the code from a JavaGuru answer... that's all I know...
It worked and then I didn't have any reason to change it...

Is JavaMail API something I need to install or is it part of the default
installation?
Please send me some tips on the API

//Jan

-Ursprungligt meddelande-
Från: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]För Emmanuel Eze
Skickat: den 20 augusti 2002 09:33
Till: [EMAIL PROTECTED]
Ämne: Re: JavaMail


why don't u use JavaMail API?

-Original Message-
From: Jan Arenö [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 10:07 AM
To: [EMAIL PROTECTED]
Subject: JavaMail


Hi

I have a function that sends a JavaMail.

(import sun.net.smtp.SmtpClient;)

   SmtpClient client = new SmtpClient(mailServer);
   client.from(from);
   client.to(to);
   PrintStream message = client.startMessage();
   message.println(To:  + to);
   message.println(Subject:  + subject);
   message.println(mymessage);
   message.println();
   message.println();
   client.closeServer();

But since I am suppost to use our SmtpServer and out clients mailadress,
this is a problem. My SMTPserver don't allow anyone to use it to send a
email, only the ones that have an account.
What I want to do is to either fix so I can email from the right email OR
add an replyadress. How do I do any of this?

// Jan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

Visit us at http://www.cognizant.com



Windows Authentication

2002-08-20 Thread Lakshmeenarayana G G

How can I use Windows Authentication details in my J2EE application. Is it
possible using The JavaTM Authentication and Authorization Service (JAAS) ?

Cheers
L G Goundalkar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



[OT]EJB Mailing list

2002-08-20 Thread Vikramjit Singh

Dear all,

does anybody know of any ejb mailing list. Could you plz send me the mail id
of it. I tried finding one, but in vain.

Regards,
Vikramjit Singh,
GTL Ltd.
Ph. 7612929-1059

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: [OT]EJB Mailing list

2002-08-20 Thread Manoj Nahar

Hi
see this

http://archives.java.sun.com/ejb-interest.html

Manoj Nahar


At 02:21 PM 8/20/2002 +0530, you wrote:
Dear all,

does anybody know of any ejb mailing list. Could you plz send me the mail id
of it. I tried finding one, but in vain.

Regards,
Vikramjit Singh,
GTL Ltd.
Ph. 7612929-1059

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



moving of file

2002-08-20 Thread RAJESH SINGHANIA

hello all,

currently i am facing one problem of moving a file from one directory to the other 
directory. I have used java.io package for moving a file but by using this performance 
is very low.

so, is their any other way of moving a file from java program.

please help me

regards,

rajesh







-
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: moving of file

2002-08-20 Thread Kesavanarayanan, Ramesh (Cognizant)

You can use ANT.


Regards

Ramesh Kesavanarayanan
 *   [EMAIL PROTECTED]




-Original Message-
From: RAJESH SINGHANIA [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: moving of file


hello all,

currently i am facing one problem of moving a file from one directory to the
other directory. I have used java.io package for moving a file but by using
this performance is very low.

so, is their any other way of moving a file from java program.

please help me

regards,

rajesh







-
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

Visit us at http://www.cognizant.com



Re: moving of file

2002-08-20 Thread Asif.Raj

create a new file object for the file you want to use

File fh = new File(/home/user/foo);

fh.renameTo(new File(/home/user/dir1/dir2/foobar));

hope this helps
thanks
asif

 -Original Message-
 From: RAJESH SINGHANIA [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 20, 2002 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: moving of file


 hello all,

 currently i am facing one problem of moving a file from one
 directory to the other directory. I have used java.io package
 for moving a file but by using this performance is very low.

 so, is their any other way of moving a file from java program.

 please help me

 regards,

 rajesh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: moving of file

2002-08-20 Thread Kesavanarayanan, Ramesh (Cognizant)

Try robocopy.


Regards

Ramesh Kesavanarayanan
 *   [EMAIL PROTECTED]


-Original Message-
From: RAJESH SINGHANIA [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: moving of file


hello all,

currently i am facing one problem of moving a file from one directory to the
other directory. I have used java.io package for moving a file but by using
this performance is very low.

so, is their any other way of moving a file from java program.

please help me

regards,

rajesh







-
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

Visit us at http://www.cognizant.com



Re: Windows Authentication

2002-08-20 Thread Lakshmeenarayana G G

ok..Thats just client side.
What API I can use in my JSP to get the user authentication details?
One way is I can update the web.xml file with roles and usernames. But this
is manual solution.
Is there anyway I can access the Windows Active directory?? Is it possible
using JAAS?

If you have worked on JRun4 it has three types of authentication. JDBC, LDAP
and Windows.
I think they use JAAS. Have you worked on these stuffs?

Thanks for the time.
L G Goundalkar.


-Original Message-
From: Kesavanarayanan, Ramesh (Cognizant)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 3:35 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Windows Authentication


i think in IE you have a default setup. i have seen it in IE6.
goto Tools / Internet Options / Advanced

under the heading Security you can fnd the checkbox

enable integrated windows authentication(requires restart).
try this. it may be of help to you.


Regards

Ramesh Kesavanarayanan
 *   [EMAIL PROTECTED]


-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 2:35 PM
To: [EMAIL PROTECTED]
Subject: Windows Authentication


How can I use Windows Authentication details in my J2EE application. Is it
possible using The JavaTM Authentication and Authorization Service (JAAS) ?

Cheers
L G Goundalkar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Showing SQL in database error

2002-08-20 Thread Campano, Troy

I have a JSP that makes a call to a database.
It's a method that makes the call and throws a SQLException.
 
At the top of my JSP I use a errorPage= directive to catch my errors, so I can make 
my own custom error message.
 
When I get a JDBC error, I'd like to also display the SQL that caused the problem.
Is there a way to send the SQL String over to the error page?
 
 
 
thanks!
 
 
Troy Campano
 
 

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Showing SQL in database error

2002-08-20 Thread Lakshmeenarayana G G

You can use the implicit exception object to get the error details.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:38 PM
To: [EMAIL PROTECTED]
Subject: Showing SQL in database error


I have a JSP that makes a call to a database.
It's a method that makes the call and throws a SQLException.

At the top of my JSP I use a errorPage= directive to catch my errors, so I
can make my own custom error message.

When I get a JDBC error, I'd like to also display the SQL that caused the
problem.
Is there a way to send the SQL String over to the error page?



thanks!


Troy Campano



=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Showing SQL in database error

2002-08-20 Thread Campano, Troy

Would that give me the SQL code as well or just more details on the JDBC database 
error?


-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 20, 2002 8:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


You can use the implicit exception object to get the error details.

-Original Message-
From: A mailing list about Java Server Pages specification and reference 
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:38 PM
To: [EMAIL PROTECTED]
Subject: Showing SQL in database error


I have a JSP that makes a call to a database.
It's a method that makes the call and throws a SQLException.

At the top of my JSP I use a errorPage= directive to catch my errors, so I can make 
my own custom error message.

When I get a JDBC error, I'd like to also display the SQL that caused the problem. Is 
there a way to send the SQL String over to the error page?



thanks!


Troy Campano



=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Showing SQL in database error

2002-08-20 Thread Lakshmeenarayana G G

I think it will give deatils of JDBC Exception. I don't think it will give
you the SQL Query.


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


Would that give me the SQL code as well or just more details on the JDBC
database error?


-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 8:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


You can use the implicit exception object to get the error details.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:38 PM
To: [EMAIL PROTECTED]
Subject: Showing SQL in database error


I have a JSP that makes a call to a database.
It's a method that makes the call and throws a SQLException.

At the top of my JSP I use a errorPage= directive to catch my errors, so I
can make my own custom error message.

When I get a JDBC error, I'd like to also display the SQL that caused the
problem. Is there a way to send the SQL String over to the error page?



thanks!


Troy Campano



=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set
JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set
JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Showing SQL in database error

2002-08-20 Thread Fabian Sommer

Hi Troy!

I myself have chosen to display error messages without using the
error-tag provided by struts. I set a request attribute with the
errormessage:

...
catch (SQLException E) {
request.setAttribute(sql-error, E.toString());
}
...

To display this within my jsp i use:
...
%=request.getAttribute(sql-error);%
...

I'm sure there exists a better one, but that's a quick solution for
examining code errors.

Hope this helps!
Fabian

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Showing SQL in database error

2002-08-20 Thread Campano, Troy

I have a variable named sSQL that contains the value of my SQL.
Is there anyway to display that SQL?
Maybe by adding the sSQL to the exception somehow?




thanks!

-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 20, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


I think it will give deatils of JDBC Exception. I don't think it will give you the SQL 
Query.


-Original Message-
From: A mailing list about Java Server Pages specification and reference 
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


Would that give me the SQL code as well or just more details on the JDBC database 
error?


-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 8:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


You can use the implicit exception object to get the error details.

-Original Message-
From: A mailing list about Java Server Pages specification and reference 
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:38 PM
To: [EMAIL PROTECTED]
Subject: Showing SQL in database error


I have a JSP that makes a call to a database.
It's a method that makes the call and throws a SQLException.

At the top of my JSP I use a errorPage= directive to catch my errors, so I can make 
my own custom error message.

When I get a JDBC error, I'd like to also display the SQL that caused the problem. Is 
there a way to send the SQL String over to the error page?



thanks!


Troy Campano



=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



FW: Showing SQL in database error

2002-08-20 Thread Lakshmeenarayana G G

u can save all ur sql in a session variable prior to executing them.  Then
try to get the sql that threw the exception from the session variable from
ur error page.

Emma

-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


You can use the implicit exception object to get the error details.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:38 PM
To: [EMAIL PROTECTED]
Subject: Showing SQL in database error


I have a JSP that makes a call to a database.
It's a method that makes the call and throws a SQLException.

At the top of my JSP I use a errorPage= directive to catch my errors, so I
can make my own custom error message.

When I get a JDBC error, I'd like to also display the SQL that caused the
problem.
Is there a way to send the SQL String over to the error page?



thanks!


Troy Campano



=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: FW: Showing SQL in database error

2002-08-20 Thread Campano, Troy

Oooh, good idea!


thanks for the help!


[ t r o y ]

-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 20, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: FW: Showing SQL in database error


u can save all ur sql in a session variable prior to executing them.  Then try to get 
the sql that threw the exception from the session variable from ur error page.

Emma

-Original Message-
From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Showing SQL in database error


You can use the implicit exception object to get the error details.

-Original Message-
From: A mailing list about Java Server Pages specification and reference 
[mailto:[EMAIL PROTECTED]]On Behalf Of Campano, Troy
Sent: Tuesday, August 20, 2002 5:38 PM
To: [EMAIL PROTECTED]
Subject: Showing SQL in database error


I have a JSP that makes a call to a database.
It's a method that makes the call and throws a SQLException.

At the top of my JSP I use a errorPage= directive to catch my errors, so I can make 
my own custom error message.

When I get a JDBC error, I'd like to also display the SQL that caused the problem. Is 
there a way to send the SQL String over to the error page?



thanks!


Troy Campano



=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For 
digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some 
relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Showing SQL in database error

2002-08-20 Thread Chris Barker

HI,
You could try using something called DebuggableStatement.

Check out http://www.javaworld.com/javaworld/jw-01-2002/jw-0125-overpower_p.html for 
the complete article.

I have used it well in servlets so it should be ok for Jsp use aswell.

Cheers,

Chris

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



JSPs and HTML-Frames

2002-08-20 Thread Fabian Sommer

Hi Folks!

Perhaps no newbie anymore, but I still have a simple question: if I
build a frameset and want to forward form data from one frame to a jsp
in another frame, how should I do that?
Within jsp:forward (if I don't want to process form data but want to
automatically change other contest if somewhere else in my frameset an
action occurred) there is no possibility to add a target parameter? I
tried this using the _blank target, but tomcat seemed to ingnore this
target?
Code-snippet:
...
jsp:forward page=/index.jsp
jsp:param name=target value=_blank/
/jsp:forward
...

And if I use struts: is there any support for frames within this
framework? I was looking for target-parameter within the
struts-config-1.1-DTD, but it looks as if there is nothing to help me in
this case?
Or do I have to learn more about using tiles within struts?

Thanks in advance,
Fabian

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Showing SQL in database error

2002-08-20 Thread Vikramjit Singh

in your catch block you can write
catch(Exception e){
throw new SQLException(The query is +sqlquery+ the database error
is: +e.getMessage());
}

Regards,
Vikramjit Singh,
GTL Ltd.
Ph. 7612929-1059



 -Original Message-
 From: Campano, Troy [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 20, 2002 5:22 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Showing SQL in database error


 I have a variable named sSQL that contains the value of my SQL.
 Is there anyway to display that SQL?
 Maybe by adding the sSQL to the exception somehow?




 thanks!

 -Original Message-
 From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 20, 2002 8:25 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Showing SQL in database error


 I think it will give deatils of JDBC Exception. I don't think
 it will give you the SQL Query.


 -Original Message-
 From: A mailing list about Java Server Pages specification
 and reference [mailto:[EMAIL PROTECTED]]On Behalf Of
 Campano, Troy
 Sent: Tuesday, August 20, 2002 5:47 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Showing SQL in database error


 Would that give me the SQL code as well or just more details
 on the JDBC database error?


 -Original Message-
 From: Lakshmeenarayana G G [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 20, 2002 8:21 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Showing SQL in database error


 You can use the implicit exception object to get the error details.

 -Original Message-
 From: A mailing list about Java Server Pages specification
 and reference [mailto:[EMAIL PROTECTED]]On Behalf Of
 Campano, Troy
 Sent: Tuesday, August 20, 2002 5:38 PM
 To: [EMAIL PROTECTED]
 Subject: Showing SQL in database error


 I have a JSP that makes a call to a database.
 It's a method that makes the call and throws a SQLException.

 At the top of my JSP I use a errorPage= directive to catch
 my errors, so I can make my own custom error message.

 When I get a JDBC error, I'd like to also display the SQL
 that caused the problem. Is there a way to send the SQL
 String over to the error page?



 thanks!


 Troy Campano



 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body:
 signoff JSP-INTEREST. For digest: mailto
 [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body:
 signoff JSP-INTEREST. For digest: mailto
 [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

 To unsubscribe: mailto [EMAIL PROTECTED] with body:
 signoff JSP-INTEREST. For digest: mailto
 [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body:
 signoff JSP-INTEREST. For digest: mailto
 [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

 ==
 To unsubscribe: mailto [EMAIL PROTECTED] with
 body: signoff JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set
 JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Sun[tm] ONE Studio 4

2002-08-20 Thread Sajag Patel

Does anyone know where to put the oracle classes12.zip file in Sun One
Studio 4 (AKA Forte 4.0). I have tried placing it the lib folder and the
lib/ext folder, neither seem to work. Any help would be greatly appreciated.
Thanks.

Sajag Patel

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Sun[tm] ONE Studio 4

2002-08-20 Thread Rafal Smyka

Try to rename it to classes12.jar.

--
Regards,
Rafal

- Original Message -
From: Sajag Patel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 3:27 PM
Subject: Sun[tm] ONE Studio 4


 Does anyone know where to put the oracle classes12.zip file in Sun One
 Studio 4 (AKA Forte 4.0). I have tried placing it the lib folder and the
 lib/ext folder, neither seem to work. Any help would be greatly
appreciated.
 Thanks.

 Sajag Patel


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Sun[tm] ONE Studio 4

2002-08-20 Thread Pablo Bryan

You need to mount it.

On Tuesday 20 August 2002 09:43 am, you wrote:
 Try to rename it to classes12.jar.

 --
 Regards,
 Rafal

 - Original Message -
 From: Sajag Patel [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 20, 2002 3:27 PM
 Subject: Sun[tm] ONE Studio 4

  Does anyone know where to put the oracle classes12.zip file in Sun One
  Studio 4 (AKA Forte 4.0). I have tried placing it the lib folder and the
  lib/ext folder, neither seem to work. Any help would be greatly

 appreciated.

  Thanks.
 
  Sajag Patel

 ===

  To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff

 JSP-INTEREST.

  For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST

 DIGEST.

  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://archives.java.sun.com/jsp-interest.html
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.jsp
   http://www.jguru.com/faq/index.jsp
   http://www.jspinsider.com

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
 JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set
 JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Exit-function in JSP?

2002-08-20 Thread Borislav Iordanov

The code in your JSP is translated into a function in a Java Servlet class.
Hence, you could juste use the Java equivalent which is return:

%
  if (I want to stop)
  {
return;
  }
%

Boris

- Original Message -
From: Gunter D'Hondt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 9:03 AM
Subject: Exit-function in JSP?


 How can I stop the execute of a script like most other serverside
 scriptlanguages have a exit() or halt() function that stops your
script


 Gunter


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Sun[tm] ONE Studio 4

2002-08-20 Thread Tiago Nodari

 you can mount a zip/jar file, just like you mount directories, if
I am not mistaken it will find it when you compile ...

At 04:43 PM 8/20/2002 +0200, you wrote:
Try to rename it to classes12.jar.

--
Regards,
Rafal

- Original Message -
From: Sajag Patel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 3:27 PM
Subject: Sun[tm] ONE Studio 4


  Does anyone know where to put the oracle classes12.zip file in Sun One
  Studio 4 (AKA Forte 4.0). I have tried placing it the lib folder and the
  lib/ext folder, neither seem to work. Any help would be greatly
appreciated.
  Thanks.
 
  Sajag Patel
 
 
===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
  For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://archives.java.sun.com/jsp-interest.html
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.jsp
   http://www.jguru.com/faq/index.jsp
   http://www.jspinsider.com
 

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

cya,

Tiago Nodari
Need a JSP Developer? I am looking for a job in the US...
www.nodari.org

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: A doubt in JSP

2002-08-20 Thread Shawn Bayern

On Mon, 19 Aug 2002, Gopinath D wrote:

 What is the difference between Session and Cookie?

A cookie is something that a server sends a browser and that a browser
sends back to a server.  A session, at a high level, represents a single
user's interaction with a web application; it may be implemented in terms
of cookies, URL rewriting, or other mechanisms entirely.

A cookie sends an individual value to a browser.  By contrast, a session
(in the Servlet API and thus in JSP) provides the ability to store
multiple attributes (key/value pairs), which are all indexed automatically
to the user's visit to the site (his or her session).  The Servlet
container (e.g., Tomcat) takes care of managing the session, perhaps by
sending a cookie that contains a token which the server uses to identify
the session.

Hope this helps,

--
Shawn Bayern
JSTL in Action   http://www.jstlbook.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Connection Pooling

2002-08-20 Thread Campano, Troy

I'm new to connection pooling. Could someone please tell me if I am on the right track?
 
 
If I set the amount of MAXIMUM ACTIVE CONNECTIONS to 4, does that mean that only 4 
people can be logged into the web app or that there are 4 connections that are shared 
among all the users?
 
Does this mean I want to set MAXIMUM ACTIVE CONNECTIONS to the amount of users I think 
would be using a webapp at a given time?
 
 
Are there docs on how a lot of this connection pooling stuff works?
I am using Tomcat with DBCP.
 
 
thank you!
 

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Connection Pooling

2002-08-20 Thread Robert S. Sfeir

Connection refers to the connection to the DB but a user or something
else in your app.  The 4 connections you have are shared between your
users, if they're available.  Meaning when you getConnection() you're
requesting a connection from the pooler.  If you're only allowing 4
connections in use at any one time, and the pooler needs yet another
connection to the DB, it will wait until one of the connections it
returned, con.close(), then hand a connection to your request and get
going.  (At least this is how I understand it :-)  )


 Does this mean I want to set MAXIMUM ACTIVE CONNECTIONS to the amount
 of users I think would be using a webapp at a given time?
No, load test your application to find out how many connections your
application will need to have open with x number of users.  A better
way to do this I think is to set the MAX to what ever your DB will
allow, then set the MIN to say 2 to ensure that when the load is not
heavy you have at least 2 connections open and ready to service your
requests.  if you let it close all your connections completely, the
first user to hit the app after a period of calm on your app will have
to wait until the connection is open to the DB, then handed to your
process.

 Are there docs on how a lot of this connection pooling stuff works?

http://webdevelopersjournal.com/columns/connection_pool.html


Robert S. Sfeir
Senior Java Engineer
gov.nih.cit.deca
[EMAIL PROTECTED]

And eye for an eye results in the whole world going blind. --
Mohandas Ghandhi

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Connection Pooling

2002-08-20 Thread Zahid Rahman

I suggest you download JBuilder7.
Once you have downloaded Jbuilder7

You will find a document which is described as :-

Borland JBuilder 7 and BEA WebLogic Server 7.0 Integration - Jump start
development, deployment, and debugging of EJBs and JSPs
  http://bdn.borland.com/article/0,1410,28943,00.html .

This document is a step by step guide to using JSPs , Servlets ,
EJBs.

You will come across connection pooling in the document.
They also provide you with a database called JDatastore.
You will be shown how to do connection pooling in the above mentioned
document.

The one problem you will across is when you are creating an entity bean
 which requires you to make a connection to this database.
If you try to create a JDBC connection  you will get a message saying
connection refused. This is because you do not have a user name  password
for the sample database.
Rather than choosing a new connection option go to  existing connection.
You will then get an existing connection already created database instance
of  JDataStore Server.
I mention this because  you have to go pass this stage in order
to get to the stage where you have to do connection pooling.


- Original Message -
From: Campano, Troy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 6:20 PM
Subject: Connection Pooling


I'm new to connection pooling. Could someone please tell me if I am on the
right track?


If I set the amount of MAXIMUM ACTIVE CONNECTIONS to 4, does that mean that
only 4 people can be logged into the web app or that there are 4 connections
that are shared among all the users?

Does this mean I want to set MAXIMUM ACTIVE CONNECTIONS to the amount of
users I think would be using a webapp at a given time?


Are there docs on how a lot of this connection pooling stuff works?
I am using Tomcat with DBCP.


thank you!


=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTERES
T.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Bean Page Scope and security

2002-08-20 Thread Greg Dunn

I'm developing an application that displays sensitive data and I need to be
sure there is no way user X can see another user's data.  I have some
questions about bean scope.

What happens to a bean with page scope when it goes out of scope?  Is it
garbage collected?

What happens if a user requests a page using a bean but shuts down before
the request can be completed?  Will the next request always get a new bean?

Is there ANY way a user can see another user's data if the data is retrieved
using a page scope bean?

Any other suggestions would be welcome.  Thanks,

Greg

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Connection Pooling

2002-08-20 Thread Martin Gainty




Hello Troy 




Im not familiar with that particualt Database but if you follow Oracles ideas onhow to configure Connection Pools (Many logical connections to 1 Physical Connection)and Connection Caching (how big should the cache be and when should you release the resource) you can tweakyou Connection Pooling/Caching Algorithm to such factors as1)Pooling/Caching Connectionsfor connections which are accessed Intermittently2)Pooling/Caching Connections for connections which are being accessed constantlyHere is a link to get you started:http://otn.oracle.com/products/oracle9i/daily/jul16.htmlAfter designing a strategy for Connection Pooling/Caching you might also want totake a look at commensurate policy for dbcursors.In either let me know you make out,













Martin Gainty





From: "Campano, Troy" <[EMAIL PROTECTED]>

Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>

To: [EMAIL PROTECTED]

Subject: Connection Pooling

Date: Tue, 20 Aug 2002 13:20:55 -0400

MIME-Version: 1.0

Received: from [192.18.99.108] by hotmail.com (3.2) with ESMTP id MHotMailBF2BC591006140043718C012636CA64C0; Tue, 20 Aug 2002 10:21:45 -0700

Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107])by swjscmail2.java.sun.com (Postfix) with ESMTPid 7A8802255E; Tue, 20 Aug 2002 11:18:38 -0600 (MDT)

Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with spool id 2512437 for [EMAIL PROTECTED]; Tue, 20 Aug 2002 11:16:52 -0600

Received: from charon.lmig.com (charon.lmig.com [143.115.190.14]) by swjscmail1.java.sun.com (Postfix) with ESMTP id 055E4484B for <[EMAIL PROTECTED]>; Tue, 20 Aug 2002 11:16:52 -0600 (MDT)

Received: from LM-EXIMS-02.lm.lmig.com (lm-exims-02.lm.lmig.com [147.179.184.111]) by charon.lmig.com (8.10.2+Sun/8.10.2) with ESMTP id g7KHKwA02365 for <[EMAIL PROTECTED]>; Tue, 20 Aug 2002 13:20:58 -0400 (EDT)

From [EMAIL PROTECTED] Tue, 20 Aug 2002 10:23:22 -0700

Delivered-To: [EMAIL PROTECTED]

content-class: urn:content-classes:message

X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3

X-MS-Has-Attach:

X-MS-TNEF-Correlator:

Thread-Topic: Connection Pooling

Thread-Index: AcJIbfGc02X9XcQKTaONWRFzIntxPg==

Message-ID: [EMAIL PROTECTED]

Sender: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>



I'm new to connection pooling. Could someone please tell me if I am on the right track?





If I set the amount of MAXIMUM ACTIVE CONNECTIONS to 4, does that mean that only 4 people can be logged into the web app or that there are 4 connections that are shared among all the users?



Does this mean I want to set MAXIMUM ACTIVE CONNECTIONS to the amount of users I think would be using a webapp at a given time?





Are there docs on how a lot of this connection pooling stuff works?

I am using Tomcat with DBCP.





thank you!





==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant FAQs on JSP/Servlets can be found at:



 http://archives.java.sun.com/jsp-interest.html

 http://java.sun.com/products/jsp/faq.html

 http://www.esperanto.org.nz/jsp/jspfaq.jsp

 http://www.jguru.com/faq/index.jsp

 http://www.jspinsider.com


MSN Photos is the easiest way to share and print your photos: Click Here

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


Re: Bean Page Scope and security

2002-08-20 Thread Martin Gainty

Greg:page scope technically means you lose access to your objects when you leave the page - it doesn't mean the objects are garbage-collected immediately - so any connections could still remain open. It's always best to close connections explicitly.
Anyone else???






Martin Gainty



__

Disclaimer and confidentiality note

Everything in this e-mail and any attachments relating to the official business of Laconia Data Systems (LDS) is proprietary to the company. It is confidential, legally privileged and protected by law.LDS does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of LDS. 

The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way.



LDScan not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.

___













From: Greg Dunn <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Bean Page Scope and security
Date: Tue, 20 Aug 2002 13:13:27 -0500
MIME-Version: 1.0
Received: from [192.18.99.108] by hotmail.com (3.2) with ESMTP id MHotMailBF2BD485003A4136E820C012636CA78E0; Tue, 20 Aug 2002 11:25:29 -0700
Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107])by swjscmail2.java.sun.com (Postfix) with ESMTPid E1E2C226EC; Tue, 20 Aug 2002 12:22:27 -0600 (MDT)
Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with spool id 2517670 for [EMAIL PROTECTED]; Tue, 20 Aug 2002 12:20:40 -0600
Received: from rams.nisc.cc (mail.cadp.org [12.10.126.154]) by swjscmail1.java.sun.com (Postfix) with ESMTP id 335A4480A for <[EMAIL PROTECTED]>; Tue, 20 Aug 2002 12:10:40 -0600 (MDT)
Received: from [12.10.126.135] (helo=gdunn) by rams.nisc.cc with smtp (Exim 3.16 #1) id 17hDWT-62-00 for [EMAIL PROTECTED]; Tue, 20 Aug 2002 13:14:33 -0500
From [EMAIL PROTECTED] Tue, 20 Aug 2002 11:25:40 -0700
Delivered-To: [EMAIL PROTECTED]
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Scanner: exiscan *17hDWT-62-00*H7SgpX7HwJ6*
Message-ID: <[EMAIL PROTECTED]>
Sender: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
In-Reply-To: [EMAIL PROTECTED]

I'm developing an application that displays sensitive data and I need to be
sure there is no way user X can see another user's data. I have some
questions about bean scope.

What happens to a bean with page scope when it goes out of scope? Is it
garbage collected?

What happens if a user requests a page using a bean but shuts down before
the request can be completed? Will the next request always get a new bean?

Is there ANY way a user can see another user's data if the data is retrieved
using a page scope bean?

Any other suggestions would be welcome. Thanks,

Greg

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com
MSN Photos is the easiest way to share and print your photos: Click Here

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



JSTL quick reference

2002-08-20 Thread Shawn Bayern

Hi all,

Someone on this list, last week, mentioned that it was hard to find a
quick-reference for JSTL, with a list of tags and attributes.  Since I'd
included this as an appendix to JSTL in Action, I convinced my publisher
to make it available for free.  It also includes a reference to the JSTL
expression language (EL).

You can download it from

  http://www.manning.com/bayern/appendixA.pdf

(No strings attached or registration required.)  :-)

Enjoy,

--
Shawn Bayern
JSTL in Action   http://www.jstlbook.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: JSTL quick reference

2002-08-20 Thread M. Simms

This may be a dumb question, but can someone provide a really quick synopsis
explaining WHY JSTL tags are preferable to regular JSP 1.1 tags.
what are the benefits / advantages ?
To me it seems like just another software layer (XPath) to learn, master and
control..
further making J2EE webdev even more complex.

So we've now got (in layers) HTML, Javascript, CSS/DHTML, JSP scripting,
servlets, EJBs and now Xpath all within a struts framework
wow.
Suddenly, brain surgerylooks simple ! (and in this market, pays much,
much, much better)

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Shawn Bayern
 Sent: Tuesday, August 20, 2002 4:45 PM
 To: [EMAIL PROTECTED]
 Subject: JSTL quick reference


 Hi all,

 Someone on this list, last week, mentioned that it was hard to find a
 quick-reference for JSTL, with a list of tags and attributes.  Since I'd
 included this as an appendix to JSTL in Action, I convinced my publisher
 to make it available for free.  It also includes a reference to the JSTL
 expression language (EL).

 You can download it from

   http://www.manning.com/bayern/appendixA.pdf

 (No strings attached or registration required.)  :-)

 Enjoy,

 --
 Shawn Bayern
 JSTL in Action   http://www.jstlbook.com

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
 JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set
 JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: JSTL quick reference

2002-08-20 Thread Campano, Troy

 
I'm guessing because it further seperates programming from design so if you're a web 
development shop and you have designers who know tag based stuff like html and 
programmers that do code the programmers develop the logic and the designers have easy 
to use tags.

That way if you're a designer you don't need to know Java to do server side coding. 
It's almost like learning a couple new HTML tags.

They also make easy to do the build once, use many times theme because you're 
building a library of useful/common code.

It also makes everyone happy because coldfusion developers who are used to tag based 
server side coding can make an easy transition to Java or if someone prefers 
staight-forward code (like PHP devlopers), they can go that route with Java as well. I 
think it gives JSP a lot of options to it's users.


thanks!
-Original Message-
From: M. Simms
To: [EMAIL PROTECTED]
Sent: 8/20/02 7:19 PM
Subject:  Re: JSTL quick reference

This may be a dumb question, but can someone provide a really quick
synopsis
explaining WHY JSTL tags are preferable to regular JSP 1.1 tags.
what are the benefits / advantages ?
To me it seems like just another software layer (XPath) to learn, master
and
control..
further making J2EE webdev even more complex.

So we've now got (in layers) HTML, Javascript, CSS/DHTML, JSP scripting,
servlets, EJBs and now Xpath all within a struts framework
wow.
Suddenly, brain surgerylooks simple ! (and in this market, pays
much,
much, much better)

 -Original Message-
 From: A mailing list about Java Server Pages specification and
reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Shawn Bayern
 Sent: Tuesday, August 20, 2002 4:45 PM
 To: [EMAIL PROTECTED]
 Subject: JSTL quick reference


 Hi all,

 Someone on this list, last week, mentioned that it was hard to find a
 quick-reference for JSTL, with a list of tags and attributes.  Since
I'd
 included this as an appendix to JSTL in Action, I convinced my
publisher
 to make it available for free.  It also includes a reference to the
JSTL
 expression language (EL).

 You can download it from

   http://www.manning.com/bayern/appendixA.pdf

 (No strings attached or registration required.)  :-)

 Enjoy,

 --
 Shawn Bayern
 JSTL in Action   http://www.jstlbook.com

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
 JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set
 JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



File upload

2002-08-20 Thread subbu

How to upload a directory.Or multiple files in one time browse(ie: i will have 
only one browse button)

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com