Re: How to read a node value in netscape 6.0.

2002-07-11 Thread Hans Bergsten

Atal Bihari Upadhyay wrote:
> Somehow, I got this feeling in case of questions on JSP as well.
> Anyway, I would appreciate if you send me some site names where I can post
> javascript related questions.

How about searching for "JavaScript forum" on Google? I bet you find
a lot of them.

One specific piece of advice from the article I refered you to:

   

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.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: How to read a node value in netscape 6.0.

2002-07-11 Thread Atal Bihari Upadhyay

Somehow, I got this feeling in case of questions on JSP as well.
Anyway, I would appreciate if you send me some site names where I can post
javascript related questions.

Thanks in advance..
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Hans Bergsten
Sent: Friday, July 12, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: Re: How to read a node value in netscape 6.0.


Atal Bihari Upadhyay wrote:
> Is this forum meant only for simple questions???
 > At least, I don't think so.

No, but it's a forum decicated to JSP questions, and your question
is about JavaScript. Even though JavaScript may be combined with JSP,
it's a completely separate technology and there are other forums that
are dedicated to it where you are more likely to get an answer.

I don't want to start a huge discussion about what type of questions
are appropriate for this list again (it never leads anywhere). I just
wanted to point out that you have the best chance to get answers to
questions that are on topic, so I recommend that you send JavaScript
questions to a different list.

For those who are new to mailing lists like this, here's a great
article about how to get the most out of them by asking the right
questions, in the right way:

   

Hans

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Atal Bihari Upadhyay
> Sent: Thursday, July 11, 2002 9:53 AM
>
> To: [EMAIL PROTECTED]
> Subject: How to read a node value in netscape 6.0.
>
>
> Hi All,
>
> I am trying to read value of a cell () of a table. In IE, innertText
is
> giving the cell value but innerText is not supported in Netscape browser.
>
> ex.
>
document.getElementById("tablecontrol").getElementsyTagName("TR")[2].getElem
> entsByTagName("TD")[2].innerText
>
> where tablecontrol is id of table
>
> will give value o the second cell of the of the second row of table.
>
> In Netscape, I tried with nodeValue i.e.
>
> ex.
>
alert(document.getElementById("tablecontrol").getElementsyTagName("TR")[2].g
> etElementsByTagName("TD")[2].nodeValue)
>
> It gives the value in some other format and blank is apprering in alert
> message.
>
> Can anybody tell me how can I get the value of the text inside cell.
>
> Thanks in advance for all your help.
>
> Regards,
> Atal.
>
>
>
> --
> Computer Sciences Corporation India Pvt. Ltd., Indore, India
>
>
===
> 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
>
>
>
> --
> Computer Sciences Corporation India Pvt. Ltd., Indore, India
>
>
===
> 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
>


--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.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



--
Computer Sciences Corporation India Pvt. Ltd., Indore, India

===
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: How to read a node value in netscape 6.0.

2002-07-11 Thread Hans Bergsten

Atal Bihari Upadhyay wrote:
> Is this forum meant only for simple questions???
 > At least, I don't think so.

No, but it's a forum decicated to JSP questions, and your question
is about JavaScript. Even though JavaScript may be combined with JSP,
it's a completely separate technology and there are other forums that
are dedicated to it where you are more likely to get an answer.

I don't want to start a huge discussion about what type of questions
are appropriate for this list again (it never leads anywhere). I just
wanted to point out that you have the best chance to get answers to
questions that are on topic, so I recommend that you send JavaScript
questions to a different list.

For those who are new to mailing lists like this, here's a great
article about how to get the most out of them by asking the right
questions, in the right way:

   

Hans

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Atal Bihari Upadhyay
> Sent: Thursday, July 11, 2002 9:53 AM
>
> To: [EMAIL PROTECTED]
> Subject: How to read a node value in netscape 6.0.
>
>
> Hi All,
>
> I am trying to read value of a cell () of a table. In IE, innertText is
> giving the cell value but innerText is not supported in Netscape browser.
>
> ex.
> document.getElementById("tablecontrol").getElementsyTagName("TR")[2].getElem
> entsByTagName("TD")[2].innerText
>
> where tablecontrol is id of table
>
> will give value o the second cell of the of the second row of table.
>
> In Netscape, I tried with nodeValue i.e.
>
> ex.
> alert(document.getElementById("tablecontrol").getElementsyTagName("TR")[2].g
> etElementsByTagName("TD")[2].nodeValue)
>
> It gives the value in some other format and blank is apprering in alert
> message.
>
> Can anybody tell me how can I get the value of the text inside cell.
>
> Thanks in advance for all your help.
>
> Regards,
> Atal.
>
>
>
> --
> Computer Sciences Corporation India Pvt. Ltd., Indore, India
>
> ===
> 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
>
>
>
> --
> Computer Sciences Corporation India Pvt. Ltd., Indore, India
>
> ===
> 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
>


--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.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: How to read a node value in netscape 6.0.

2002-07-11 Thread Vikramjit Singh

you check which version of Netscape and Javascript you are using. Coz if you
are using javascript 1.2 most of the lower versions browser dont support it,
and some of the scripts are compatible only with Microsoft IE. Since they
support javascript 1.0.

So check which version of javascript u r using. Try in IE, whether your
script is running. If it is then change your script so that it runs on your
browser or upgrade your browser.


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


-Original Message-
From: Atal Bihari Upadhyay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 9:31 PM
To: [EMAIL PROTECTED]
Subject: Re: How to read a node value in netscape 6.0.


Is this forum meant only for simple questions???
At least, I don't think so.
Pls help me out as I'm facing following problem since long.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Atal Bihari Upadhyay
Sent: Thursday, July 11, 2002 9:53 AM

To: [EMAIL PROTECTED]
Subject: How to read a node value in netscape 6.0.


Hi All,

I am trying to read value of a cell () of a table. In IE, innertText is
giving the cell value but innerText is not supported in Netscape browser.

ex.
document.getElementById("tablecontrol").getElementsyTagName("TR")[2].getElem
entsByTagName("TD")[2].innerText

where tablecontrol is id of table

will give value o the second cell of the of the second row of table.

In Netscape, I tried with nodeValue i.e.

ex.
alert(document.getElementById("tablecontrol").getElementsyTagName("TR")[2].g
etElementsByTagName("TD")[2].nodeValue)

It gives the value in some other format and blank is apprering in alert
message.

Can anybody tell me how can I get the value of the text inside cell.

Thanks in advance for all your help.

Regards,
Atal.



--
Computer Sciences Corporation India Pvt. Ltd., Indore, India

===
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



--
Computer Sciences Corporation India Pvt. Ltd., Indore, India

===
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: help needed(java.sql.SQLException: Invalid Oracle URL specified)

2002-07-11 Thread m venkateswara rao

Hi Ramesh..
In your connection line,
conn=DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521
:BIST1", "oaxapr","oaxapr");
Pls note the following things..
1)bis6.xxx.x.xx.xx: This should be your Oracle Server host name/IP
address.
Oracle Listener should run at 1521 port only. Other wise change 1521 to the
given port for Oracle server)
2)If you are using thin driver of Oracle, then you must specify the ORACLE
SID at the place of BIST1, not TNS name.
Find out your Oracle SID and replace BIST1 with Oracle SID name.

If you do the above two things, it should work.
Please get back to me, if it does not work..
with rgds,
Rao

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ramesh Kadirisani
Sent: Thursday, July 11, 2002 8:27 PM
To: [EMAIL PROTECTED]
Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
specified)


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:BIST
1:oaxapr/oaxapr");
> it should work this way...
>   conn =
>
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1",
> "oaxapr","oaxapr");
>
> Ben
>
> >>> [EMAIL PROTECTED] 07/11/02 07:51AM >>>
> hi,
> i am trying to use oracle jdbc driver in my jsp program to connect to
> oracle database and i am getting the following error.
>
> java.sql.SQLException: Invalid Oracle URL specified
>
> The following is part of my coding:
>
> <%@ page import="java.sql.*,java.io.*, oracle.jdbc.driver.*"%>
> <%
> Connection conn;
> try
> {
>  Class.forName ("oracle.jdbc.driver.OracleDriver");
>  conn =
>
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1:oaxapr/oaxapr");
> .
> %>
>
> The following is the set up in my work environment:
>
> Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
> Server2: windows 2000, Oracle database
> tnsnames.ora on server1 has the service name BIST1 that refers to
> Oracle database on server2.
> i downloaded classes12.zip from oracle site into lib of JRE on
> server1.
>
> Could somebody please let me know
> the correct syntax to specify the Oracle URL?
> if the syntax whatever i used is correct, the reason for getting the
> above error?
> the way i am using the oracle jdbc drivers is correct or not?
>
> thanks in advance,
> Ramesh Kadirisani.
>
>
===
> 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



**Disclaimer


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


*



Re: How to read a node value in netscape 6.0.

2002-07-11 Thread Atal Bihari Upadhyay

Is this forum meant only for simple questions???
At least, I don't think so.
Pls help me out as I'm facing following problem since long.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Atal Bihari Upadhyay
Sent: Thursday, July 11, 2002 9:53 AM

To: [EMAIL PROTECTED]
Subject: How to read a node value in netscape 6.0.


Hi All,

I am trying to read value of a cell () of a table. In IE, innertText is
giving the cell value but innerText is not supported in Netscape browser.

ex.
document.getElementById("tablecontrol").getElementsyTagName("TR")[2].getElem
entsByTagName("TD")[2].innerText

where tablecontrol is id of table

will give value o the second cell of the of the second row of table.

In Netscape, I tried with nodeValue i.e.

ex.
alert(document.getElementById("tablecontrol").getElementsyTagName("TR")[2].g
etElementsByTagName("TD")[2].nodeValue)

It gives the value in some other format and blank is apprering in alert
message.

Can anybody tell me how can I get the value of the text inside cell.

Thanks in advance for all your help.

Regards,
Atal.



--
Computer Sciences Corporation India Pvt. Ltd., Indore, India

===
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



--
Computer Sciences Corporation India Pvt. Ltd., Indore, India

===
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: Form Collection

2002-07-11 Thread Bhiogade, Mittal S (SUPP)

just append the for loop var say "i" with checkbox name to form the unique checkbox 
name and retrive also in same manner

Regards,
Mittal S.Bhiogade

-Original Message-
From: Duc Nguyen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 2:51 PM
To: [EMAIL PROTECTED]
Subject: Form Collection


Hi all,
I have an HTML form that generate on the fly depending on the number of record that 
returned from the database.  For each record I will generate a check box for user to 
select.  My
question is when the user submit the form on my processing page how do I find out 
which check box was checked.  In ASP they have the concept of Form collection.  I 
wonder if JSP
has the similar concept for that.

Thanks,
Duc

  _

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

===
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



Form Collection

2002-07-11 Thread Duc Nguyen
Hi all,
I have an HTML form that generate on the fly depending on the number of record that returned from the database.  For each record I will generate a check box for user to select.  My question is when the user submit the form on my processing page how do I find out which check box was checked.  In ASP they have the concept of Form collection.  I wonder if JSP has the similar concept for that.
 
Thanks,
DucMSN 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: 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",
>  "oaxapr","oaxapr");
>
> Yogaraj
>
> -Original Message-
> From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 8:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
> specified)
>
> 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:BIST
> 1:oaxapr/oaxapr");
> > it should work this way...
> >   conn =
> >
> DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
> 1",
> > "oaxapr","oaxapr");
> >
> > Ben
> >
> > >>> [EMAIL PROTECTED] 07/11/02 07:51AM >>>
> > hi,
> > i am trying to use oracle jdbc driver in my jsp program to connect to
> > oracle database and i am getting the following error.
> >
> > java.sql.SQLException: Invalid Oracle URL specified
> >
> > The following is part of my coding:
> >
> > <%@ page import="java.sql.*,java.io.*, oracle.jdbc.driver.*"%>
> > <%
> > Connection conn;
> > try
> > {
> >  Class.forName ("oracle.jdbc.driver.OracleDriver");
> >  conn =
> >
> DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
> 1:oaxapr/oaxapr");
> > .
> > %>
> >
> > The following is the set up in my work environment:
> >
> > Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
> > Server2: windows 2000, Oracle database
> > tnsnames.ora on server1 has the service name BIST1 that refers to
> > Oracle database on server2.
> > i downloaded classes12.zip from oracle site into lib of JRE on
> > server1.
> >
> > Could somebody please let me know
> > the correct syntax to specify the Oracle URL?
> > if the syntax whatever i used is correct, the reason for getting the
> > above error?
> > the way i am using the oracle jdbc drivers is correct or not?
> >
> > thanks in advance,
> > Ramesh Kadirisani.
> >
> >
> ===
> > 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 MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly Prohibited.
> If you have received this message by error, please notify us
> immediately, return the original mail to the sender and delete the
> message from your system."
>
> ===
> 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".
Fo

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

2002-07-11 Thread Ben Steiner

you are correct.  he is missing the ":" on the right side of 'thin'.

"jdbc:oracle:thin:@bis6.xxx.x.xx.xx:1521:BIST1"

Ben

>>> [EMAIL PROTECTED] 07/11/02 08:54AM >>>
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",
 "oaxapr","oaxapr");

Yogaraj

-Original Message-
From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 8:27 PM
To: [EMAIL PROTECTED]
Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
specified)


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:BIST

1:oaxapr/oaxapr");
> it should work this way...
>   conn =
>
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST

1",
> "oaxapr","oaxapr");
>
> Ben
>
> >>> [EMAIL PROTECTED] 07/11/02 07:51AM >>>
> hi,
> i am trying to use oracle jdbc driver in my jsp program to connect
to
> oracle database and i am getting the following error.
>
> java.sql.SQLException: Invalid Oracle URL specified
>
> The following is part of my coding:
>
> <%@ page import="java.sql.*,java.io.*, oracle.jdbc.driver.*"%>
> <%
> Connection conn;
> try
> {
>  Class.forName ("oracle.jdbc.driver.OracleDriver");
>  conn =
>
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST

1:oaxapr/oaxapr");
> .
> %>
>
> The following is the set up in my work environment:
>
> Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
> Server2: windows 2000, Oracle database
> tnsnames.ora on server1 has the service name BIST1 that refers to
> Oracle database on server2.
> i downloaded classes12.zip from oracle site into lib of JRE on
> server1.
>
> Could somebody please let me know
> the correct syntax to specify the Oracle URL?
> if the syntax whatever i used is correct, the reason for getting the
> above error?
> the way i am using the oracle jdbc drivers is correct or not?
>
> thanks in advance,
> Ramesh Kadirisani.
>
>
===
> 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 MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR
THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

===
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/j

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

2002-07-11 Thread It, Cockpit (CAP, Contractor)

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",
 "oaxapr","oaxapr");

Yogaraj

-Original Message-
From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 8:27 PM
To: [EMAIL PROTECTED]
Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
specified)


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:BIST
1:oaxapr/oaxapr");
> it should work this way...
>   conn =
>
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1",
> "oaxapr","oaxapr");
>
> Ben
>
> >>> [EMAIL PROTECTED] 07/11/02 07:51AM >>>
> hi,
> i am trying to use oracle jdbc driver in my jsp program to connect to
> oracle database and i am getting the following error.
>
> java.sql.SQLException: Invalid Oracle URL specified
>
> The following is part of my coding:
>
> <%@ page import="java.sql.*,java.io.*, oracle.jdbc.driver.*"%>
> <%
> Connection conn;
> try
> {
>  Class.forName ("oracle.jdbc.driver.OracleDriver");
>  conn =
>
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1:oaxapr/oaxapr");
> .
> %>
>
> The following is the set up in my work environment:
>
> Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
> Server2: windows 2000, Oracle database
> tnsnames.ora on server1 has the service name BIST1 that refers to
> Oracle database on server2.
> i downloaded classes12.zip from oracle site into lib of JRE on
> server1.
>
> Could somebody please let me know
> the correct syntax to specify the Oracle URL?
> if the syntax whatever i used is correct, the reason for getting the
> above error?
> the way i am using the oracle jdbc drivers is correct or not?
>
> thanks in advance,
> Ramesh Kadirisani.
>
>
===
> 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 MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

===
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: 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...
>   conn =
> DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1",
> "oaxapr","oaxapr");
>
> Ben
>
> >>> [EMAIL PROTECTED] 07/11/02 07:51AM >>>
> hi,
> i am trying to use oracle jdbc driver in my jsp program to connect to
> oracle database and i am getting the following error.
>
> java.sql.SQLException: Invalid Oracle URL specified
>
> The following is part of my coding:
>
> <%@ page import="java.sql.*,java.io.*, oracle.jdbc.driver.*"%>
> <%
> Connection conn;
> try
> {
>  Class.forName ("oracle.jdbc.driver.OracleDriver");
>  conn =
> 
>DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr");
> .
> %>
>
> The following is the set up in my work environment:
>
> Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
> Server2: windows 2000, Oracle database
> tnsnames.ora on server1 has the service name BIST1 that refers to
> Oracle database on server2.
> i downloaded classes12.zip from oracle site into lib of JRE on
> server1.
>
> Could somebody please let me know
> the correct syntax to specify the Oracle URL?
> if the syntax whatever i used is correct, the reason for getting the
> above error?
> the way i am using the oracle jdbc drivers is correct or not?
>
> thanks in advance,
> Ramesh Kadirisani.
>
> ===
> 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: help needed(java.sql.SQLException: Invalid Oracle URL specified)

2002-07-11 Thread Ben Steiner

instead of
  conn =
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr");
it should work this way...
  conn =
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1",
"oaxapr","oaxapr");

Ben


>>> [EMAIL PROTECTED] 07/11/02 07:51AM >>>
hi,
i am trying to use oracle jdbc driver in my jsp program to connect to
oracle database and i am getting the following error.

java.sql.SQLException: Invalid Oracle URL specified

The following is part of my coding:

<%@ page import="java.sql.*,java.io.*, oracle.jdbc.driver.*"%>
<%
Connection conn;
try
{
 Class.forName ("oracle.jdbc.driver.OracleDriver");
 conn =
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr");
.
%>

The following is the set up in my work environment:

Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
Server2: windows 2000, Oracle database
tnsnames.ora on server1 has the service name BIST1 that refers to
Oracle database on server2.
i downloaded classes12.zip from oracle site into lib of JRE on
server1.

Could somebody please let me know
the correct syntax to specify the Oracle URL?
if the syntax whatever i used is correct, the reason for getting the
above error?
the way i am using the oracle jdbc drivers is correct or not?

thanks in advance,
Ramesh Kadirisani.

===
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: Reg Print in JSP.

2002-07-11 Thread Tiago Nodari

 I dont think you can bypass the user confirmation.

At 02:21 PM 7/11/2002 +1000, you wrote:
>hi,
>
>i have a client requirement on this print. If i use window.print(), then the
>print widow will popup asking for the user confirmation. my requirement is
>that when ever i open a popup window, it should directly print.
>
>thanks,
>vijay
>- Original Message -
>From: "Senthilkumar ,T.P (CTC)" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, July 11, 2002 5:30 PM
>Subject: Re: Reg Print in JSP.
>
>
> > You can open the JSP file through a normal window open method. Set the
> > height and widhth of the window according to your convenient size. On load
> > of the JSP file you can call window.print() method.
> >
> > If you want to open it through a modal window use showModalDialog method
>in
> > Javascript and open the JSP file.
> >
> > TPS
> >
> > -Original Message-
> > From: Vijayanand [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 11, 2002 8:24 AM
> > To: [EMAIL PROTECTED]
> > Subject: Reg Print in JSP.
> >
> >
> > hi all,
> >
> > i have an urgent requirement.. Can any one suggest some idea on this.
> >
> > I have to popup an window, which has a JSP file. I need to print it,
> > when it is opened. And also i need to minimize the popup window..
> >
> > thanks,
> > vijay
> >
> >
>==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

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



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

2002-07-11 Thread Ramesh Kadirisani

hi,
i am trying to use oracle jdbc driver in my jsp program to connect to oracle database 
and i am getting the following error.

java.sql.SQLException: Invalid Oracle URL specified

The following is part of my coding:

<%@ page import="java.sql.*,java.io.*, oracle.jdbc.driver.*"%>
<%
Connection conn;
try
{
 Class.forName ("oracle.jdbc.driver.OracleDriver");
 conn = 
DriverManager.getConnection("jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr");
.
%>

The following is the set up in my work environment:

Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
Server2: windows 2000, Oracle database
tnsnames.ora on server1 has the service name BIST1 that refers to Oracle database on 
server2.
i downloaded classes12.zip from oracle site into lib of JRE on server1.

Could somebody please let me know
the correct syntax to specify the Oracle URL?
if the syntax whatever i used is correct, the reason for getting the above error?
the way i am using the oracle jdbc drivers is correct or not?

thanks in advance,
Ramesh Kadirisani.

===
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: Calling from one page to another

2002-07-11 Thread Vikramjit Singh

Hasnt this question been answered many times. ;)

When a sendRedirect() method is invoked, it causes the web container
to return a response back to the browser with information that a new URL
should be requested. Because the browser issues a completely new request,
any objects that are stored as request attributes before the redirect
occurs, will be lost. This is one of the biggest differences between a
forward and redirect.
Because of the extra round-trip that occurs, a redirect is slower than using
a forward.

One more thing. All URLs passed to the sendRedirect() method should be ran
through the encodeRedirectURL() method so that the Session ID can be
included if the browser doesn't support cookies and session tracking needs
to occur.

For further information check this out.

http://www.fawcette.com/javapro/2002_03/online/online_eprods/servlets_03_19/

Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1031


-Original Message-
From: Senthilkumar ,T.P (CTC) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:56 AM
To: [EMAIL PROTECTED]
Subject: Calling from one page to another


Hi all,

What is the difference between getServletContext().getRequestDispatcher(),
response.sendRedirect(),jsp forward tag, include directive Everything
forwards the request to another servlet / jsp. What are the differences and
in which case I should use which method. Pls explain me / Provide the URL

TPS

===
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: Environment Variable

2002-07-11 Thread Bhushan_Bhangale

Try this

System.out.println(System.getProperty("user.name"));
System.setProperty("user.name","a");
System.out.println(System.getProperty("user.name"));

It prints the changed value.

-Original Message-
From: Aruniima Chakrabarti
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 3:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Environment Variable


I am using the following code but it is still not changing the env variable
as I want it to... it still remains same as the old user name... any idea
why so???


class SetEnv
{
public static void main(String[] args)
{
SetEnv se = new SetEnv();
String user = System.getProperty("user.name");
System.out.println(user);
System.setProperty("user.name","a");
System.out.println("done");

}


}

Regards,
aruniima

 -Original Message-
From:   Bhushan_Bhangale [mailto:[EMAIL PROTECTED]]
Sent:   11 Jul,2002 3:02 PM
To: [EMAIL PROTECTED]
Subject:Re: Environment Variable

Check the java.lang.System class there using the setProperty method you can
do. But tell me what you want to achieve?

Thanks & Regards
Bhushan Bhangale
Programmer Analyst
Infosys Technologies Ltd.
Pune - 411042
Tel: (Office) +91 (20) 2932800/01 Ext. 6129
E-mail: [EMAIL PROTECTED]


-Original Message-
From: Aruniima Chakrabarti
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Environment Variable


How Can I set environment variables using Java code??

Regards,
aruniima




This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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 message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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] 

Output of your job "jsp-interest"

2002-07-11 Thread L-Soft list server at Sun Microsystems Inc. (1.8d)

> Content-Type: application/octet-stream;
Unknown command - "CONTENT-TYPE:". Try HELP.

> name=logo1[1].jpg
Unknown command - "NAME=LOGO1[1].JPG". Try HELP.

> Content-Transfer-Encoding: base64
Unknown command - "CONTENT-TRANSFER-ENCODING:". Try HELP.

> Content-ID: 
Unknown command - "CONTENT-ID:". Try HELP.

> /9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsKCgwQ
Unknown command - "/9J". Try HELP.

> DAwMDAwMEAwODxAPDgwTExQUExMcGxsbHCAgICAgICAgICD/2wBDAQcHBw0MDRgQEBgaFREV
Unknown command - "DAWMDAWMEAWODXAPDGWTEXQUEXMCGXSBHCAGICAGICAGICD". Try
HELP.

> GiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICD/wAAR
Unknown  command -
"GIAGICAGICAGICAGICAGICAGICAGICAGICAGICAGICAGICAGICAGICAGICAGICAGICD". Try
HELP.

> CACoAgwDAREAAhEBAxEB/8QAHQAAAwADAQEBAQECAwQFBggHCf/EAFYQAAEC
Unknown command - "CACOAGWDAREAAHEBAXEB". Try HELP.

> AwQEBgsMBwgCAQUBAAECAwAEEQUSEyEGMUFRFCJhcZHRByMyQlJUgZOhscEIFRYXGDNicpLT
Unknown  command  -
"AWQEBGSMBWGCAQUBAAECAWAEEQUSEYEGMUFRFCJHCZHRBYMYQLJUGZOHSCEIFRYXGDNICPLT".
Try HELP.

> 4fAkNUNTc4KyNGODosLS4vElRGQ3VXSjs/L/xAAbAQEBAAMBAQEAAQIDBAUG
Unknown command - "4FAKNUNTC4KYNGODOSLS4VELRGQ3VXSJS". Try HELP.

All subsequent commands have been flushed.



===
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: Environment Variable

2002-07-11 Thread Aruniima Chakrabarti

I am using the following code but it is still not changing the env variable
as I want it to... it still remains same as the old user name... any idea
why so???


class SetEnv
{
public static void main(String[] args)
{
SetEnv se = new SetEnv();
String user = System.getProperty("user.name");
System.out.println(user);
System.setProperty("user.name","a");
System.out.println("done");

}


}

Regards,
aruniima

 -Original Message-
From:   Bhushan_Bhangale [mailto:[EMAIL PROTECTED]]
Sent:   11 Jul,2002 3:02 PM
To: [EMAIL PROTECTED]
Subject:Re: Environment Variable

Check the java.lang.System class there using the setProperty method you can
do. But tell me what you want to achieve?

Thanks & Regards
Bhushan Bhangale
Programmer Analyst
Infosys Technologies Ltd.
Pune - 411042
Tel: (Office) +91 (20) 2932800/01 Ext. 6129
E-mail: [EMAIL PROTECTED]


-Original Message-
From: Aruniima Chakrabarti
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Environment Variable


How Can I set environment variables using Java code??

Regards,
aruniima




This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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 message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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: Environment Variable

2002-07-11 Thread Aruniima Chakrabarti

Thanks... got it...
The program has to set some  environment variables on the user machine...

Regards,
aruniima

 -Original Message-
From:   Bhushan_Bhangale [mailto:[EMAIL PROTECTED]]
Sent:   11 Jul,2002 3:02 PM
To: [EMAIL PROTECTED]
Subject:Re: Environment Variable

Check the java.lang.System class there using the setProperty method you can
do. But tell me what you want to achieve?

Thanks & Regards
Bhushan Bhangale
Programmer Analyst
Infosys Technologies Ltd.
Pune - 411042
Tel: (Office) +91 (20) 2932800/01 Ext. 6129
E-mail: [EMAIL PROTECTED]


-Original Message-
From: Aruniima Chakrabarti
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Environment Variable


How Can I set environment variables using Java code??

Regards,
aruniima




This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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 message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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: Environment Variable

2002-07-11 Thread Elancheran T.S.

Get the System properties and set the variables you want to set.

Properties prop = System.getProperties();
prop.put(key, value);

Hope this will help you.


Aruniima Chakrabarti wrote:

> How Can I set environment variables using Java code??
>
> Regards,
> aruniima
>
> 
>
> This message contains privileged and confidential information and is
> intended only for the individual named. If you are not the intended
> recepient you should not disseminate, distribute, store, print, copy or
> deliver this message. Please notify the sender immediately by e-mail if you
> have received this e-mail by mistake and immediately delete this e-mail from
> your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. The sender therefore does not accept
> liability for any errors or omissions in the contents of this message which
> arise as a result of e-mail transmission.  If verification is required
> please request a hard-copy version.
>
> --
>
> ===
> 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: Environment Variable

2002-07-11 Thread Bhushan_Bhangale

Check the java.lang.System class there using the setProperty method you can do. But 
tell me what you want to achieve?

Thanks & Regards 
Bhushan Bhangale 
Programmer Analyst 
Infosys Technologies Ltd. 
Pune - 411042 
Tel: (Office) +91 (20) 2932800/01 Ext. 6129 
E-mail: [EMAIL PROTECTED] 


-Original Message-
From: Aruniima Chakrabarti
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Environment Variable


How Can I set environment variables using Java code??

Regards,
aruniima




This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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



Environment Variable

2002-07-11 Thread Aruniima Chakrabarti

How Can I set environment variables using Java code??

Regards,
aruniima




This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--

===
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: Reg Print in JSP.

2002-07-11 Thread Vijayanand

hi,

i have a client requirement on this print. If i use window.print(), then the
print widow will popup asking for the user confirmation. my requirement is
that when ever i open a popup window, it should directly print.

thanks,
vijay
- Original Message -
From: "Senthilkumar ,T.P (CTC)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 5:30 PM
Subject: Re: Reg Print in JSP.


> You can open the JSP file through a normal window open method. Set the
> height and widhth of the window according to your convenient size. On load
> of the JSP file you can call window.print() method.
>
> If you want to open it through a modal window use showModalDialog method
in
> Javascript and open the JSP file.
>
> TPS
>
> -Original Message-
> From: Vijayanand [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 8:24 AM
> To: [EMAIL PROTECTED]
> Subject: Reg Print in JSP.
>
>
> hi all,
>
> i have an urgent requirement.. Can any one suggest some idea on this.
>
> I have to popup an window, which has a JSP file. I need to print it,
> when it is opened. And also i need to minimize the popup window..
>
> thanks,
> vijay
>
>
==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



Calling from one page to another

2002-07-11 Thread Senthilkumar ,T.P (CTC)

Hi all,

What is the difference between getServletContext().getRequestDispatcher(),
response.sendRedirect(),jsp forward tag, include directive Everything
forwards the request to another servlet / jsp. What are the differences and
in which case I should use which method. Pls explain me / Provide the URL

TPS

===
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: Reg Print in JSP.

2002-07-11 Thread Senthilkumar ,T.P (CTC)

You can open the JSP file through a normal window open method. Set the
height and widhth of the window according to your convenient size. On load
of the JSP file you can call window.print() method.

If you want to open it through a modal window use showModalDialog method in
Javascript and open the JSP file.

TPS

-Original Message-
From: Vijayanand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 8:24 AM
To: [EMAIL PROTECTED]
Subject: Reg Print in JSP.


hi all,

i have an urgent requirement.. Can any one suggest some idea on this.

I have to popup an window, which has a JSP file. I need to print it,
when it is opened. And also i need to minimize the popup window..

thanks,
vijay

==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: include file outside the web server

2002-07-11 Thread 崔 建偉

1. put them in the servervariables
2.put them in the applicationContext
yes you can,but can.t use [include] to get it
can you get it by access a file ?

- Original Message -
From: "Josep R. Raurell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 4:02 PM
Subject: include file outside the web server


> Hello.
>
> I want store the user and the password, for access a database, in a
> file. And for security reasons I want to put outside the web directories.
>
> Its posible to do this with JSP ?.
> (I try with include, but is relative to the page, and it seems is not
> possible to do this).
>
> Maybe there is a better form to avoid to put the user and the password
> in the code ???.
>
>
> Thanks.
> Josep R. Raurell.
>
>
===
> 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



Reg Print in JSP.

2002-07-11 Thread Vijayanand

hi all,

i have an urgent requirement.. Can any one suggest some idea on this.

I have to popup an window, which has a JSP file. I need to print it, when it is 
opened. And also i need to minimize the popup window..

thanks,
vijay

==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