Re: How do i remove 0d 0a characters

2004-04-25 Thread Eric Noel
On 4/26/2004 12:58 PM, Eric Noriega wrote:
   Does the database contains the CR/LF characters, or is it possible
that the data was entered with the literal '0d 0a' string.  You are
correct that these CR/LF are hex equivalent to 0d/0a.  What DB are you
using?
Eric Noel wrote:
I had problems with data fetched from db where it contains 0d 0a
character ( it think its a carriage return). so i try doing the
following to remove them.( btw, im using jsp 2.0). but its seems its not
removing them? any help will be appreciated.

<%-- Trim --%>

<%-- Convert all types of single quotes --%>



<%-- Convert all types of double quotes --%>


<%-- Replace 0d 0a carriage returns & line feeds --%>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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 archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
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 archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
it is mysql, data were imported from access
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


Re: How do i remove 0d 0a characters

2004-04-25 Thread Eric Noriega
   Does the database contains the CR/LF characters, or is it possible
that the data was entered with the literal '0d 0a' string.  You are
correct that these CR/LF are hex equivalent to 0d/0a.  What DB are you
using?
Eric Noel wrote:
I had problems with data fetched from db where it contains 0d 0a
character ( it think its a carriage return). so i try doing the
following to remove them.( btw, im using jsp 2.0). but its seems its not
removing them? any help will be appreciated.

<%-- Trim --%>

<%-- Convert all types of single quotes --%>



<%-- Convert all types of double quotes --%>


<%-- Replace 0d 0a carriage returns & line feeds --%>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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 archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
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 archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


How do i remove 0d 0a characters

2004-04-25 Thread Eric Noel
I had problems with data fetched from db where it contains 0d 0a
character ( it think its a carriage return). so i try doing the
following to remove them.( btw, im using jsp 2.0). but its seems its not
removing them? any help will be appreciated.

<%-- Trim --%>

<%-- Convert all types of single quotes --%>



<%-- Convert all types of double quotes --%>


<%-- Replace 0d 0a carriage returns & line feeds --%>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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 archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


Re: How do I ?

2002-02-21 Thread It, Cockpit (CAP, Contractor)

Can you give me some more idea please.
Actually using URLConnection also I can request a servlet from my stand
alone Java program.
But the thing is, to call a method in a servlet I have to get an instance of
that servlet.
My doubt is How do I get that instance to call that servlet's specific
method other than service/get/post methods.
Because If I send a request to a servlet by default you can call get or post
or service method(if it is generic servlet).
Please clarify.
And thanx for you response.Yours was the only response that I had got.:-(
Regards
Yogaraj 


-Original Message-
From: Sami J. Casab. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:45 PM
To: [EMAIL PROTECTED]
Subject: Re: How do I ?


you can use geturl method. With this method you can call a servlet, jsp or
an http document in general form your standalone application. I hope this
help you.

Sami.

-Mensaje original-
De: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]En nombre de It, Cockpit (CAP,
Contractor)
Enviado el: Miércoles, 20 de Febrero de 2002 10:35 p.m.
Para: [EMAIL PROTECTED]
Asunto: How do I ?


Dear Friends,
I have an urgent requirement.
How do I call other than Service method of a servlet from my stand alone
Java programe?

Help me please!
Yogaraj


"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/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: How do I ?

2002-02-21 Thread Vikramjit Singh

u can check this link

http://www.javaworld.com/javaworld/javaqa/2002-01/01-qa-0118-servlet.html?

Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-3140


-Original Message-
From: Sami J. Casab. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 10:15 AM
To: [EMAIL PROTECTED]
Subject: Re: How do I ?


you can use geturl method. With this method you can call a servlet, jsp or
an http document in general form your standalone application. I hope this
help you.

Sami.

-Mensaje original-
De: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]En nombre de It, Cockpit (CAP,
Contractor)
Enviado el: Miércoles, 20 de Febrero de 2002 10:35 p.m.
Para: [EMAIL PROTECTED]
Asunto: How do I ?


Dear Friends,
I have an urgent requirement.
How do I call other than Service method of a servlet from my stand alone
Java programe?

Help me please!
Yogaraj


"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/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: How do I ?

2002-02-21 Thread Sami J. Casab.

you can use geturl method. With this method you can call a servlet, jsp or
an http document in general form your standalone application. I hope this
help you.

Sami.

-Mensaje original-
De: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]En nombre de It, Cockpit (CAP,
Contractor)
Enviado el: Miércoles, 20 de Febrero de 2002 10:35 p.m.
Para: [EMAIL PROTECTED]
Asunto: How do I ?


Dear Friends,
I have an urgent requirement.
How do I call other than Service method of a servlet from my stand alone
Java programe?

Help me please!
Yogaraj


"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/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



How do I ?

2002-02-20 Thread It, Cockpit (CAP, Contractor)

Dear Friends,
I have an urgent requirement.
How do I call other than Service method of a servlet from my stand alone
Java programe?

Help me please!
Yogaraj


"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: SV: GR8 How do I access the static HTML generated by a JSP?

2001-10-22 Thread Hamid

Hi,
I have written the following code. It works fine. But there is a problem
in it:
1)  I am on LAN and behind proxy server. When I give local IP address of
a site. It is accessing it and shows its contents. But when I give some
site's URL e.g www.yahoo.com, it gives error: connection failure. It is
not understandable why is it giving this error as it is establishing url
conection and I am accessing these site from the same computer.

2) Does anyone has accessed the data via XML. e.g any site opening its
data in XML form and will access its Data via XML and manipulate the
data in our own look & feel.

Waiting for gr8 responses..

Hamid Hassan
Software Engineer


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of Daniel Jaffa
Sent: Monday, October 22, 2001 7:50 PM
To: [EMAIL PROTECTED]
Subject: Re: SV: How do I access the static HTML generated by a JSP?

I think this code would work for you.  If you put this code into a bean
and
store all the lines to the database.  You then could make it a session
variable and print it out. I got this code from two different sites, and
it
works great.
If you have any problems email me directly.

Daniel Jaffa
Computer GOD who Created the Stars and Moon
"If you are not happy, I am not happy"
<%
BufferedReader br = null;
HttpURLConnection urlc = null;
URL u = null;
urlString = "http://yoururl.com";
String line =  "";
try {
u = new URL (urlString);
}
catch (MalformedURLException mfurle) {
System.out.println ("URL: " + urlString + "\t\tMalformed
URL " +
mfurle.getMessage());
}
try {
urlc = (HttpURLConnection)u.openConnection ();
}
catch (UnknownHostException uhe) {
System.out.println (urlString + "\tUnknown Host " +
uhe.getMessage());
}
catch (NoRouteToHostException nrthe) {
System.out.println (urlString + "\tNo Route to Host " +
nrthe.getMessage());
}
catch (Exception e) {
System.err.println (urlString + "\tException " +
e.getMessage());
}
// Now we can connect and start loading the page
try {
urlc.connect ();
}
catch (IOException ioe) {
System.out.println ("Connection Failure " + urlString +
"\tException: " +
ioe.getMessage());
}
catch (Exception e) {
System.err.println (urlString + "\tException " +
e.getMessage());
}
br = new BufferedReader (new InputStreamReader
(urlc.getInputStream ()));

while ( (line = br.readLine ()) != null ) {
%><%=line%><%="\n"%><%
}
br.close ();
urlc.disconnect ();
}

%>

Original Message Follows

Thanks for that, Jan.  I don't think it is what I am looking for,
although
it might be my only solution.

I am trying to find a pure JSP way of accessing the HTML.  For instance,
my
JSP might look something like this...







The result of the database query is 



The HTML source at the browser would look like this:





The result of the database query is MyValue




When I detach it using the JavaScript button function, I don't want to
call
the JSP again or re-submit the database query.  All I want to do is send
the actual HTML source to the browser again by retrieving it using
servlet
APIs or something.  I don't even know if this is possible.

David


_
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp


===
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: SV: How do I access the static HTML generated by a JSP?

2001-10-22 Thread Daniel Jaffa

I think this code would work for you.  If you put this code into a bean and
store all the lines to the database.  You then could make it a session
variable and print it out. I got this code from two different sites, and it
works great.
If you have any problems email me directly.

Daniel Jaffa
Computer GOD who Created the Stars and Moon
"If you are not happy, I am not happy"
<%
BufferedReader br = null;
HttpURLConnection urlc = null;
URL u = null;
urlString = "http://yoururl.com";
String line =  "";
try {
u = new URL (urlString);
}
catch (MalformedURLException mfurle) {
System.out.println ("URL: " + urlString + "\t\tMalformed URL " +
mfurle.getMessage());
}
try {
urlc = (HttpURLConnection)u.openConnection ();
}
catch (UnknownHostException uhe) {
System.out.println (urlString + "\tUnknown Host " + uhe.getMessage());
}
catch (NoRouteToHostException nrthe) {
System.out.println (urlString + "\tNo Route to Host " +
nrthe.getMessage());
}
catch (Exception e) {
System.err.println (urlString + "\tException " + e.getMessage());
}
// Now we can connect and start loading the page
try {
urlc.connect ();
}
catch (IOException ioe) {
System.out.println ("Connection Failure " + urlString + "\tException: 
" +
ioe.getMessage());
}
catch (Exception e) {
System.err.println (urlString + "\tException " + e.getMessage());
}
br = new BufferedReader (new InputStreamReader (urlc.getInputStream ()));

while ( (line = br.readLine ()) != null ) {
%><%=line%><%="\n"%><%
}
br.close ();
urlc.disconnect ();
}

%>

Original Message Follows

Thanks for that, Jan.  I don't think it is what I am looking for, although
it might be my only solution.

I am trying to find a pure JSP way of accessing the HTML.  For instance, my
JSP might look something like this...







The result of the database query is 



The HTML source at the browser would look like this:





The result of the database query is MyValue




When I detach it using the JavaScript button function, I don't want to call
the JSP again or re-submit the database query.  All I want to do is send
the actual HTML source to the browser again by retrieving it using servlet
APIs or something.  I don't even know if this is possible.

David


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===
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: SV: How do I access the static HTML generated by a JSP?

2001-10-22 Thread David Stevenson

Thanks for that, Jan.  I don't think it is what I am looking for, although
it might be my only solution.

I am trying to find a pure JSP way of accessing the HTML.  For instance, my
JSP might look something like this...







The result of the database query is 



The HTML source at the browser would look like this:





The result of the database query is MyValue




When I detach it using the JavaScript button function, I don't want to call
the JSP again or re-submit the database query.  All I want to do is send
the actual HTML source to the browser again by retrieving it using servlet
APIs or something.  I don't even know if this is possible.

David



   
  
Jan Arenö  
  
<[EMAIL PROTECTED]To: [EMAIL PROTECTED] 
  
E>   cc:   
  
Sent by: A       Subject: SV: How do I access the 
static HTML generated by a JSP?
mailing list   
  
about Java Server  
  
Pages  
  
specification and  
  
reference  
  
 
  
   
  
   
  
22/10/2001 14:15   
  
Please respond to  
  
A mailing list 
  
about Java Server  
  
Pages  
  
specification and  
  
reference  
  
   
  
   
  



I don't know if this is what you're after but here it goes

you can do like this

First your normal jsp page... bla bla
Say you have these variables...

String var1 = "lost";
String var2 = "and";
String var3 = "found";


function test(para1, para2)
{
  alert("Message : " + para1 + " and "+ para2 + " and this jsp thing
<%=var1%>
}


','<%=var2%>')" and you can open
a new window when the jsp-page is loaded at in clients browser...

Hope it helped...

// Jan

-Ursprungligt meddelande-
Från: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]För David Stevenson
Skickat: den 22 oktober 2001 12:19
Till: [EMAIL PROTECTED]
Ämne: How do I access the static HTML generated by a JSP?


I have a JSP which creates a view of a file query in a browser frame. I
want
to be able to submit a JavaScript button function to 'detach' the page from
the frame and open it in its own browser window. Please note I do not want
to re-submit the JSP or the database query.

The JavaScript side of things is no problem, but I would like to know if
there is any way of accessing the actual HTML of the first page so that I
can re-display it in the new window?

Thanks

David

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

SV: How do I access the static HTML generated by a JSP?

2001-10-22 Thread Jan Arenö

I don't know if this is what you're after but here it goes

you can do like this

First your normal jsp page... bla bla
Say you have these variables...

String var1 = "lost";
String var2 = "and";
String var3 = "found";


function test(para1, para2)
{
  alert("Message : " + para1 + " and "+ para2 + " and this jsp thing
<%=var1%>
}


','<%=var2%>')" and you can open
a new window when the jsp-page is loaded at in clients browser...

Hope it helped...

// Jan

-Ursprungligt meddelande-
Från: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]För David Stevenson
Skickat: den 22 oktober 2001 12:19
Till: [EMAIL PROTECTED]
Ämne: How do I access the static HTML generated by a JSP?


I have a JSP which creates a view of a file query in a browser frame. I want
to be able to submit a JavaScript button function to 'detach' the page from
the frame and open it in its own browser window. Please note I do not want
to re-submit the JSP or the database query.

The JavaScript side of things is no problem, but I would like to know if
there is any way of accessing the actual HTML of the first page so that I
can re-display it in the new window?

Thanks

David

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



How do I access the static HTML generated by a JSP?

2001-10-22 Thread David Stevenson

I have a JSP which creates a view of a file query in a browser frame. I want to be 
able to submit a JavaScript button function to 'detach' the page from the frame and 
open it in its own browser window. Please note I do not want to re-submit the JSP or 
the database query.

The JavaScript side of things is no problem, but I would like to know if there is any 
way of accessing the actual HTML of the first page so that I can re-display it in the 
new window?

Thanks

David

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



how do i pass data from servlet to jsp bean ?

2001-09-04 Thread chenghong



hi all,
    how do 
i pass data from servlet to jsp bean ?
 
 example in my servlet i have this object call 
config which is a hastable type.is it a way to use it in jsp bean and 
taglib program ? ignore this if there isn;t
 
thanks.


Re: how do I make a new class name = a variable?

2001-07-24 Thread Duffey, Kevin

As another reply indicated, there is no reason to create a NEW string.
Strings are immutable objects. This means, you can NOT change any part of a
String without a NEW string being created for you automatically. Therefore,
its faster and less resources used to just point a reference variable to the
String returned from the request:

String s = request.getParameter("attribute-name");

The s variable now points to the SAME memory location the request object
uses to point to it.

There is really only one reason I can think of ever using new
String(string-source);  That is if you want the NEW string to be modified in
some manner without changing the source string passed in. Even so..because
they are immutable, anytime you do anything on a String, a new String is
created.


> -Original Message-
> From: Richard Diaz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 11:47 AM
> To: [EMAIL PROTECTED]
> Subject: how do I make a new class name = a variable?
>
>
> I'm taking the paramater from the previous page and moving it into the
> sLogingName varible.
>
> Then I try to create an Account Bean using the name of the
> variable... can I
> do this?
>
> <%
> String sLogingName = new String
> (request.getParameter("name"));
> %>
>
> 
>
> <%
>
> etc...
>
>
>
> thanks!
> Rich
>
> _
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>
> ==
> =
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I make a new class name = a variable?

2001-07-24 Thread Karau, Joe

you could...

but the
request.getParameter(String parameterName)
method returns a String.

All you would need to do is:
String sLoginName = request.getParameter("name");

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-Original Message-
From: Richard Diaz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 1:47 PM
To: [EMAIL PROTECTED]
Subject: how do I make a new class name = a variable?


I'm taking the paramater from the previous page and moving it into the
sLogingName varible.

Then I try to create an Account Bean using the name of the variable... can I
do this?

<%
String sLogingName = new String (request.getParameter("name"));
%>



<%

etc...



thanks!
Rich

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I make a new class name = a variable?

2001-07-24 Thread Richard Diaz

I'm taking the paramater from the previous page and moving it into the
sLogingName varible.

Then I try to create an Account Bean using the name of the variable... can I
do this?

<%
String sLogingName = new String (request.getParameter("name"));
%>



<%

etc...



thanks!
Rich

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I view the end result

2001-04-24 Thread kuttappan

mark your class as public as:
public class Point3DExample {
and try again. This should work.

Rohit.
- Original Message -
From: "Marshall, Katyann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, 23 April, 2001 8:28 PM
Subject: Re: how do I view the end result


> yes this is a simple class file, I know everything is correct on it
because
> I took it directly from a book, for practice purposes,
>
> this is the warning I'm getting
>
> [(C:\JBuilder35\jdk1.2.2\bin\javaw   -classpath "C:\Documents and
> Settings\kmarshal\jbproject\untitled2\temp;
> com.borland.jbuilder.runtime.AppletTestbed 300 300 Point3DExample
> The applet Point3DExample does not have a public constructor
> Point3DExample()]
>
>
> this is my code
>
>
> class Point3D {
> double x;
> double y;
> double z;
> }
>
>  class Point3DExample {
>  public static void main(String args[]) {
> Point3D p = new Point3D();
> p.x =1.1;
> p.y =3.5;
> p.z = -2.8;
> System.out.println("p.x = " + p.x);
> System.out.println("p.y = " + p.y);
> System.out.println("p.z = " + p.z);
> }
> }
>
> can you help me to see the end results, I'm not to sure how to set up my
> class path,
> my number is 914-640-5294
>
> I'm realy desprate
>
> KT
>
>
>
> -Original Message-
> From: erik morton [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 10:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how do I view the end result
>
>
> Is this a simple class or a JSP?
> If it's a class I would either run the project (Run -> Run Project) or
just
> right
> click on the file in the source browser and choose the Run option.
>
> If it is a JSP the process is the same. Good Luck!
>
> "Marshall, Katyann" wrote:
>
> > Hi All,
> > I'm new to Java, I made a simple java file and it compile without
errors,
> > how do I view the end results in JBuilder?
> >
> > thanks
> >
> > KT
> >
> >
>
===
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> --
> Erik I Morton
> Software Developer
> --
> CommerceHub
> http://www.commercehub.com
> 518-886-0704
> 21 Corporate Drive
> Clifton Park, NY 12065
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.250 / Virus Database: 123 - Release Date: 19/04/2001

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I view the end result

2001-04-23 Thread Marshall, Katyann

yes this is a simple class file, I know everything is correct on it because
I took it directly from a book, for practice purposes,

this is the warning I'm getting

[(C:\JBuilder35\jdk1.2.2\bin\javaw   -classpath "C:\Documents and
Settings\kmarshal\jbproject\untitled2\temp;
com.borland.jbuilder.runtime.AppletTestbed 300 300 Point3DExample
The applet Point3DExample does not have a public constructor
Point3DExample()]


this is my code


class Point3D {
double x;
double y;
double z;
}

 class Point3DExample {
 public static void main(String args[]) {
Point3D p = new Point3D();
p.x =1.1;
p.y =3.5;
p.z = -2.8;
System.out.println("p.x = " + p.x);
System.out.println("p.y = " + p.y);
System.out.println("p.z = " + p.z);
}
}

can you help me to see the end results, I'm not to sure how to set up my
class path,
my number is 914-640-5294

I'm realy desprate

KT



-Original Message-
From: erik morton [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 10:17 AM
To: [EMAIL PROTECTED]
Subject: Re: how do I view the end result


Is this a simple class or a JSP?
If it's a class I would either run the project (Run -> Run Project) or just
right
click on the file in the source browser and choose the Run option.

If it is a JSP the process is the same. Good Luck!

"Marshall, Katyann" wrote:

> Hi All,
> I'm new to Java, I made a simple java file and it compile without errors,
> how do I view the end results in JBuilder?
>
> thanks
>
> KT
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Erik I Morton
Software Developer
--
CommerceHub
http://www.commercehub.com
518-886-0704
21 Corporate Drive
Clifton Park, NY 12065

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I view the end result

2001-04-23 Thread erik morton

Is this a simple class or a JSP?
If it's a class I would either run the project (Run -> Run Project) or just right
click on the file in the source browser and choose the Run option.

If it is a JSP the process is the same. Good Luck!

"Marshall, Katyann" wrote:

> Hi All,
> I'm new to Java, I made a simple java file and it compile without errors,
> how do I view the end results in JBuilder?
>
> thanks
>
> KT
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Erik I Morton
Software Developer
--
CommerceHub
http://www.commercehub.com
518-886-0704
21 Corporate Drive
Clifton Park, NY 12065

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Oggetto: how do I view the end result

2001-04-23 Thread Igor Zerbesi DIGEST

>Hi All,
 >I'm new to Java, I made a simple java file and it compile without errors,
 >how do I view the end results in JBuilder?

 >thanks

Right click on java file then choose run.
It doesn't appear if the class doesn't have
main method implemented.

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I view the end result

2001-04-23 Thread Marshall, Katyann

Hi All,
I'm new to Java, I made a simple java file and it compile without errors,
how do I view the end results in JBuilder?

thanks

KT

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I get Content-Length ?

2001-04-18 Thread Yasuo Itoh
Hello,

 I needs Content-Length for the i-Mode of NTT-DOCOM.

 I tried as follows at the last line in a JSP file.

 <% response.setContentLength(out.getBufferSize() - out.getRemaining()); %>

 I got the length however the length was little bit smaller than correct length.

 Apche_1_3_14_WIN, jakarta-tomcat-3.2.1, jdk1.2.2

 Thank you,

( "Ichiro Suzuki" is No.1 !!)
---
 Yasuo Itoh <[EMAIL PROTECTED]>
 office:Cresc Corporation 
4-5-12-201 Shiba Minato-ku Tokyo Japan 108-0014
TEL/FAX 03-5484-7885
 home:  <[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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


Re: How do I set up a JSP alias with Tomcat standalone ?

2001-04-06 Thread M. Simms


routerJsp
CiscoRouterBoInfo.jsp



routerJsp
/RouterInfo/*


Will this work ?

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Bouchut
> Sent: Friday, April 06, 2001 6:22 AM
> To: [EMAIL PROTECTED]
> Subject: How do I set up a JSP alias with Tomcat standalone ?
>
>
> Hello,
>
> How do I set up an alias for a JSP using Tomcat in standalone mode ?
> Here is an excerpt of my web.xml configuration file.
>
> 
>   routerJsp
>   /some/where/CiscoRouterBoInfo.jsp
> 
> 
>   routerJsp
>   /RouterInfo
> 
>
> When I direct my browser to the JSP URL, /RouterInfo it does not work.
> I get the following error message:
>
>   Error: 404
>
>   Location: /janet/mo/router/CiscoRouterBoInfo.jspnull
>
>   File Not Found
>   /some/where/CiscoRouterBoInfo.jspnull
>
> Any ideas or pointers ?
>
> Regards.
> Eric.
>
> ==
> =
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I set up a JSP alias with Tomcat standalone ?

2001-04-06 Thread Eric Bouchut

Hello,

How do I set up an alias for a JSP using Tomcat in standalone mode ?
Here is an excerpt of my web.xml configuration file.


  routerJsp
  /some/where/CiscoRouterBoInfo.jsp


  routerJsp
  /RouterInfo


When I direct my browser to the JSP URL, /RouterInfo it does not work.
I get the following error message:

  Error: 404

  Location: /janet/mo/router/CiscoRouterBoInfo.jspnull

  File Not Found
  /some/where/CiscoRouterBoInfo.jspnull

Any ideas or pointers ?

Regards.
Eric.

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



[Off topic] How do I set environment variables in Linux?

2001-03-28 Thread Gallardo Giancarlo

I'm new in this stuff of Linux, and I still have to learn many things. One
of them is this about setting variables.

So, this is my problem:


I've just downloaded Forte for Java. But when i try to install it (using
the RPM file), it says JAVA_HOME not found in environment variables set. So
where can set this variable?. Maybe it's a dummie question, but i have no
idea about it.


Thanks a lot!

Giancarlo.

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I ..??

2001-03-22 Thread Surendra Kumar

Hi,

Could any of you help...

I want to change the default examples directory to
my own directory ( eg. mydirectory ) in JSWDK. How do I
do it ??  I tried inserting another web application
in the webserver.xml file

  -->
  
- 
- 
  
  
  
  

But the problem I face is, when I try to invoke a servlet in the
mydirectory, the server responds with ' you are not authorised to view this
page '

What should I change ??? Any suggestions please.

Thanks in advance & regds,
Kumar

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I...

2001-02-09 Thread A.C.

> know the type of each entity in a ResultSet after an SQL
statement has
> been executed?

this is not a jsp issue, take a look to the java.sql API or at least
read this:
http://developer.java.sun.com/developer/onlineTraining/Database/JDBCShor
tCourse/jdbc/exercises/MetaData-ing/help.html

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I...

2001-02-09 Thread Joseph Ottinger

JDBC, not JSP...

Check the ResultSetMetaData from the ResultSet.


>From: Marino Vittorio <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How do I...
>Date: Fri, 9 Feb 2001 11:07:00 +0100
>
>...know the type of each entity in a ResultSet after an SQL statement has
>been executed? I need to know the type before extracting the object, the
>query changes every time, so I don't know columns types before. Thanks,
>Vittorio
>
>===
>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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get your FREE download of MSN Explorer at http://explorer.msn.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I...

2001-02-09 Thread Tushar Sarmah

Use the Result Set meta data

> --
> From: Marino Vittorio[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Friday, February 09, 2001 3:37 PM
> To:   [EMAIL PROTECTED]
> Subject:  How do I...
>
> ...know the type of each entity in a ResultSet after an SQL statement has
> been executed? I need to know the type before extracting the object, the
> query changes every time, so I don't know columns types before. Thanks,
> Vittorio
>
> ==
> =
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I...

2001-02-09 Thread Marino Vittorio

...know the type of each entity in a ResultSet after an SQL statement has
been executed? I need to know the type before extracting the object, the
query changes every time, so I don't know columns types before. Thanks,
Vittorio

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I to go out from this list???

2001-02-08 Thread Slava

Sivakumar Chiluvuri wrote:

> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>
> Marcelo Mathias Lima <[EMAIL PROTECTED]> on 01/18/2001 05:09:48 PM
>
> Please respond to A mailing list about Java Server Pages specification and
>   reference <[EMAIL PROTECTED]>
>
> To:   [EMAIL PROTECTED]
> cc:(bcc: Sivakumar Chiluvuri/JAMNAGAR/RIL)
> Subject:  how do I to go out from this list???
>
> please
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I get a QueryString out of POST parameters?

2001-02-07 Thread Julia Reynolds

Here is something you might want to look at:
http://jsptags.com/tags/navigation/pager/
It's a taglibrary that allows you to "page" through search results.


ZHU Jia wrote:

> Hi,
>
> I'm doing a project using JSP and JDBC right now. I'm trying to show only 5
> search result entries on a single page, then have a link which reads "The Next
> 5 Entries" or something like that. But the problem is that I get my search
> parameters from a HTML form, with POST method, I think there must be an easy
> way to construct a link using the parameters in the request object without the
> knowledge of the exact name of each parameter.
> But I searched long and hard, found nothing:-( Now I'm a little bit confused,
> I thought what I'm trying to do is quite standard stuff, am I missing
> something essential here?
> Any hints or tips will be highly appreciated, and many thanks in advance!
>
> best regards
> ZHU Jia
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
In a time of drastic change it is the learners who inherit the future. The learned
find themselves equipped to live in a world that no longer exists. - Eric Hoffer



  H e a l t h S t r e a m,   I n c.
  Julia Reynolds - Systems Developer
  209 10th Ave. South Ste. 450 - Nashville, TN 37203
  phone: (615) 301-3220 - fax: (615) 301-3200

  email: [EMAIL PROTECTED]
  Web Site: http://www.cmecourses.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I get a QueryString out of POST parameters?

2001-02-07 Thread Hung Yee

The method 'request.getParameterNames()' will return an Enumeration of all
the parameter names of the request object, regardless of whether you use the
GET or POST method.

So you could have a JSP scriptlet code that looks something like this:

<%
 // get all the parameter names and their values that got POSTed to this JSP
page
 String paramName = null;
 String paramValue = null;
 for (java.util.Enumeration e = request.getParameterNames();
e.hasMoreElements() ;) {
paramName = (String)e.nextElement();
paramValue = request.getParameter(paramName);
out.println(" parameter name is: "+paramName);
out.println(" value for parameter name "+paramName+" is:
"+paramValue);
  }

%>

Note that this code assumes that a parameter only has one value.  If your
parameter is an array of form values, then you need to use the method
'request.getParameterValues(java.lang.String name)' to get the all the
values in the array.

You can take a look at the Servlet 2.2 API for more information about these
methods:
http://www.java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletRe
quest.html

Good luck.

-Original Message-
From: Lee Ball [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 7:51 AM
To: [EMAIL PROTECTED]
Subject: Re: How do I get a QueryString out of POST parameters?


The first decision you need to make is whether you want to GET the first
five results or whether you want to get all the results and DISPLAY only
the first five.

In the first instance you need to put something in your JDBC call to limit
the results you get back (you can do it in SQL!). In the second case you
hold all the results in some structure (like a vector) in your bean (or
servlet or whatever) and then your jsp page can make iterating calls along
your vector.

Sorry it's a bit fluffy but that's the basics of it and not knowing how your
project is architected that's the best I can do.

Cheers
Lee




-Original Message-
From: ZHU Jia [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2001 15:36
To: [EMAIL PROTECTED]
Subject: How do I get a QueryString out of POST parameters?


Hi,

I'm doing a project using JSP and JDBC right now. I'm trying to show only 5
search result entries on a single page, then have a link which reads "The
Next
5 Entries" or something like that. But the problem is that I get my search
parameters from a HTML form, with POST method, I think there must be an easy
way to construct a link using the parameters in the request object without
the
knowledge of the exact name of each parameter.
But I searched long and hard, found nothing:-( Now I'm a little bit
confused,
I thought what I'm trying to do is quite standard stuff, am I missing
something essential here?
Any hints or tips will be highly appreciated, and many thanks in advance!

best regards
ZHU Jia

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I get a QueryString out of POST parameters?

2001-02-07 Thread Lee Ball

The first decision you need to make is whether you want to GET the first
five results or whether you want to get all the results and DISPLAY only
the first five.

In the first instance you need to put something in your JDBC call to limit
the results you get back (you can do it in SQL!). In the second case you
hold all the results in some structure (like a vector) in your bean (or
servlet or whatever) and then your jsp page can make iterating calls along
your vector.

Sorry it's a bit fluffy but that's the basics of it and not knowing how your
project is architected that's the best I can do.

Cheers
Lee




-Original Message-
From: ZHU Jia [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2001 15:36
To: [EMAIL PROTECTED]
Subject: How do I get a QueryString out of POST parameters?


Hi,

I'm doing a project using JSP and JDBC right now. I'm trying to show only 5
search result entries on a single page, then have a link which reads "The
Next
5 Entries" or something like that. But the problem is that I get my search
parameters from a HTML form, with POST method, I think there must be an easy
way to construct a link using the parameters in the request object without
the
knowledge of the exact name of each parameter.
But I searched long and hard, found nothing:-( Now I'm a little bit
confused,
I thought what I'm trying to do is quite standard stuff, am I missing
something essential here?
Any hints or tips will be highly appreciated, and many thanks in advance!

best regards
ZHU Jia

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I get a QueryString out of POST parameters?

2001-02-07 Thread ZHU Jia

Hi,

I'm doing a project using JSP and JDBC right now. I'm trying to show only 5
search result entries on a single page, then have a link which reads "The Next
5 Entries" or something like that. But the problem is that I get my search
parameters from a HTML form, with POST method, I think there must be an easy
way to construct a link using the parameters in the request object without the
knowledge of the exact name of each parameter.
But I searched long and hard, found nothing:-( Now I'm a little bit confused,
I thought what I'm trying to do is quite standard stuff, am I missing
something essential here?
Any hints or tips will be highly appreciated, and many thanks in advance!

best regards
ZHU Jia

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I to go out from this list???

2001-01-20 Thread Sivakumar Chiluvuri

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




Marcelo Mathias Lima <[EMAIL PROTECTED]> on 01/18/2001 05:09:48 PM

Please respond to A mailing list about Java Server Pages specification and
  reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:(bcc: Sivakumar Chiluvuri/JAMNAGAR/RIL)
Subject:  how do I to go out from this list???



please

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I to go out from this list???

2001-01-18 Thread Harish Vishvanath

Hi
Please follow the directions at the end of ever mail which tells you how to
unsubscribe if u want to ...
Im highlighting them  below for u..

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

regards
Harry





-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Willard Thompson
Sent: Thursday, January 18, 2001 6:02 PM
To: [EMAIL PROTECTED]
Subject: Re: how do I to go out from this list???


-Original Message-
From: Marcelo Mathias Lima [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 5:40 AM
To: [EMAIL PROTECTED]
Subject: how do I to go out from this list???


please

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I to go out from this list???

2001-01-18 Thread Willard Thompson

-Original Message-
From: Marcelo Mathias Lima [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 5:40 AM
To: [EMAIL PROTECTED]
Subject: how do I to go out from this list???


please

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I to go out from this list???

2001-01-18 Thread Marcelo Mathias Lima

please

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



out.flush() - or how do I show partially created pages?

2000-12-07 Thread Kai Hackemesser

Hi!

My question: I want to show my jsp page partially on creation. I make many
administrative database accesses with it and I want to see the process
status. I tried to show my page partially by calling out.flush(), but this
didn't wort as I thought. How do I show partially created pages?

ciao!
Kai

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I display a Greek character in JSP? - Urgent ...

2000-12-04 Thread Kai Hackemesser

http://www.w3.org/TR/html4/sgml/entities.html#h-24.3

- Original Message -
From: G.Nagarajan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 04, 2000 10:35 AM
Subject: Re: How do I display a Greek character in JSP? - Urgent ...


> Hi king,
> The pages are in German. Do you know of an English version?
> Thanks and Regards,
> Nagaraj.
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of sun_king
> Sent: Monday, December 04, 2000 6:36 AM
> To: [EMAIL PROTECTED]
> Subject: Re: How do i display a greek character in JSP? - Urgent ...
>
>
> look into Volker Turau's book and online examples at:
> http://shannon.informatik.fh-wiesbaden.de/jsp/index.html
> http://shannon.informatik.fh-wiesbaden.de/buch/index.jsp
> http://shannon.informatik.fh-wiesbaden.de/jsp/download.html
>
> especially the internationalization examples here:
> http://shannon.informatik.fh-wiesbaden.de/buch/i18n.jsp
>
> all are handled through localization files and the examples are very clear
>
> good luck!!
>
> Rathna wrote:
>
> > hi all,
> >
> > I have to display a greek character in the JSP page.
> > i am constructing the string object as follows,
> >
> > <% byte[] str= new byte("Oôïêå Oèâ Çáìäïí");
> > String greek = new String(str,"ISO-8859-7");
> > out.println(greek); %>
> >
> > but when the Jrun Interprets the code it gives me
> > javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfff4
> > 0xffef) Error.
> >
> > How do i display the languages which is other than english in the JSP
> > pages?
> >
> > FYI, i don't want to set the html charset as greek code since only few
> > information in the page is greek and rest of it is english.
> >
> > I badly need to rectify this problem and any early reply will help me a
> > lot
> >
> > thanks for your time ...
> >
> > --
> > with rgds,
> > rathna
> >
> >
>
===
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I display a Greek character in JSP? - Urgent ...

2000-12-04 Thread G.Nagarajan

Hi king,
The pages are in German. Do you know of an English version?
Thanks and Regards,
Nagaraj.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of sun_king
Sent: Monday, December 04, 2000 6:36 AM
To: [EMAIL PROTECTED]
Subject: Re: How do i display a greek character in JSP? - Urgent ...


look into Volker Turau's book and online examples at:
http://shannon.informatik.fh-wiesbaden.de/jsp/index.html
http://shannon.informatik.fh-wiesbaden.de/buch/index.jsp
http://shannon.informatik.fh-wiesbaden.de/jsp/download.html

especially the internationalization examples here:
http://shannon.informatik.fh-wiesbaden.de/buch/i18n.jsp

all are handled through localization files and the examples are very clear

good luck!!

Rathna wrote:

> hi all,
>
> I have to display a greek character in the JSP page.
> i am constructing the string object as follows,
>
> <% byte[] str= new byte("Oôïêå Oèâ Çáìäïí");
> String greek = new String(str,"ISO-8859-7");
> out.println(greek); %>
>
> but when the Jrun Interprets the code it gives me
> javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfff4
> 0xffef) Error.
>
> How do i display the languages which is other than english in the JSP
> pages?
>
> FYI, i don't want to set the html charset as greek code since only few
> information in the page is greek and rest of it is english.
>
> I badly need to rectify this problem and any early reply will help me a
> lot
>
> thanks for your time ...
>
> --
> with rgds,
> rathna
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do i display a greek character in JSP? - Urgent ...

2000-12-04 Thread G.Nagarajan

I will tell you how I handle the umlauts (special characters in German).

While printing print them as

String gText = "äbcdö" // ä is the code for printing the a
umlaut

The browser will print the ä as the a umlaut.

Similarly after the user has keyed in the text, using a JavaScript function
you can convert the text to the html code before the form is submitted.

Note: This will increase the size of the text. For example, if the user
has keyed in 2 umlauts, the size will increase by 8.

Regards,
Nagaraj.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Rathna
Sent: Monday, December 04, 2000 5:36 AM
To: [EMAIL PROTECTED]
Subject: How do i display a greek character in JSP? - Urgent ...


hi all,

I have to display a greek character in the JSP page.
i am constructing the string object as follows,

<% byte[] str= new byte("Oôïêå Oèâ Çáìäïí");
String greek = new String(str,"ISO-8859-7");
out.println(greek); %>

but when the Jrun Interprets the code it gives me
javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfff4
0xffef) Error.

How do i display the languages which is other than english in the JSP
pages?

FYI, i don't want to set the html charset as greek code since only few
information in the page is greek and rest of it is english.

I badly need to rectify this problem and any early reply will help me a
lot

thanks for your time ...

--
with rgds,
rathna

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do i display a greek character in JSP? - Urgent ...

2000-12-04 Thread Victor Tsucanov

Hi
I use in jsp body
<%@ page contentType="text/html; charset=windows-1251" %>
windows-1251 - this is Russian  you should change it on yours
and then you needn't use any translation like that
String greek = new String(str,"ISO-8859-7");

- Original Message -
From: Rathna <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 04, 2000 7:35 AM
Subject: How do i display a greek character in JSP? - Urgent ...


> hi all,
>
> I have to display a greek character in the JSP page.
> i am constructing the string object as follows,
>
> <% byte[] str= new byte("Oôïêå Oèâ Çáìäïí");
> String greek = new String(str,"ISO-8859-7");
> out.println(greek); %>
>
> but when the Jrun Interprets the code it gives me
> javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfff4
> 0xffef) Error.
>
> How do i display the languages which is other than english in the JSP
> pages?
>
> FYI, i don't want to set the html charset as greek code since only few
> information in the page is greek and rest of it is english.
>
> I badly need to rectify this problem and any early reply will help me a
> lot
>
> thanks for your time ...
>
> --
> with rgds,
> rathna
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do i display a greek character in JSP? - Urgent ...

2000-12-03 Thread sun_king

look into Volker Turau's book and online examples at:
http://shannon.informatik.fh-wiesbaden.de/jsp/index.html
http://shannon.informatik.fh-wiesbaden.de/buch/index.jsp
http://shannon.informatik.fh-wiesbaden.de/jsp/download.html

especially the internationalization examples here:
http://shannon.informatik.fh-wiesbaden.de/buch/i18n.jsp

all are handled through localization files and the examples are very clear

good luck!!

Rathna wrote:

> hi all,
>
> I have to display a greek character in the JSP page.
> i am constructing the string object as follows,
>
> <% byte[] str= new byte("Oôïêå Oèâ Çáìäïí");
> String greek = new String(str,"ISO-8859-7");
> out.println(greek); %>
>
> but when the Jrun Interprets the code it gives me
> javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfff4
> 0xffef) Error.
>
> How do i display the languages which is other than english in the JSP
> pages?
>
> FYI, i don't want to set the html charset as greek code since only few
> information in the page is greek and rest of it is english.
>
> I badly need to rectify this problem and any early reply will help me a
> lot
>
> thanks for your time ...
>
> --
> with rgds,
> rathna
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do i display a greek character in JSP? - Urgent ...

2000-12-03 Thread Rathna

hi all,

I have to display a greek character in the JSP page.
i am constructing the string object as follows,

<% byte[] str= new byte("Oôïêå Oèâ Çáìäïí");
String greek = new String(str,"ISO-8859-7");
out.println(greek); %>

but when the Jrun Interprets the code it gives me
javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfffffff4
0xffef) Error.

How do i display the languages which is other than english in the JSP
pages?

FYI, i don't want to set the html charset as greek code since only few
information in the page is greek and rest of it is english.

I badly need to rectify this problem and any early reply will help me a
lot

thanks for your time ...

--
with rgds,
rathna

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I get Parameters from form to the same Jsp

2000-11-26 Thread deepak

you can have an onclick event on link which submitsthe form

- Original Message -
From: "Martin Nwalal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 26, 2000 3:40 PM
Subject: Re: how do I get Parameters from form to the same Jsp


> Thanks for your help but my problem was not resolved
> this my jsp with html form
> I would like to submit this form by using  tag  instead of
>  tag
> How Can   I  do?
>
> %@ page isErrorPage="true"  %>
> <%@ page import="java.sql.*" %>
> <%@ page import=java.util.*" %>
>
> 
>   Using the onSubmit enevt Handler for the Form object
> 
> 
> 
> <!-- Hide
> // function submits a form to a server specified in the <form> tag
> function submiForm(form){
>  document.form1.submit(form);
> }
> // End Hide --->
>
> 
>
> >
> This is a sample form
> 
> Name:
> 
> Age:
>  >
> 
>
> 
> 
>
> - Original Message -
> From: suxuchun <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, November 26, 2000 3:06 AM
> Subject: Re: how do I get Parameters from form to the same Jsp
>
>
> > Just  use
> > 
> > or
> > 
> > That will be ok
> > - Original Message -
> > From: "Martin Nwalal" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, November 25, 2000 8:45 PM
> > Subject: how do I get Parameters from form to the same Jsp
> >
> >
> > > Hi,
> > >
> > > How  Can I pass  parameters   from form link to jsp where form and jsp
> are
> > > in the same file .
> > > thanks for help
> > > Martin
> > >
> > >
> ==
=
> > > 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://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
===
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I get Parameters from form to the same Jsp

2000-11-26 Thread Murali Mohana Rao

Hi Martin,
If you want to pass the parameters of the same jsp, you have post the from action
into same jsp only, then you can get all parameters, what you are passing...

i hope it's like this..

test.jsp








<%
if(request.getParameter("Fname")!=null)
{
%>
<%=request.getParameter("Fname")%>
<%=request.getParameter("pass")%>
<%
}
%>



I hope this will help you...

Murali.




Martin Nwalal wrote:

> Hi,
>
> How  Can I pass  parameters   from form link to jsp where form and jsp are
> in the same file .
> thanks for help
> Martin
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I get Parameters from form to the same Jsp

2000-11-26 Thread Martin Nwalal

Thanks for your help but my problem was not resolved
this my jsp with html form
I would like to submit this form by using  tag  instead of
 tag
How Can   I  do?

%@ page isErrorPage="true"  %>
<%@ page import="java.sql.*" %>
<%@ page import=java.util.*" %>


  Using the onSubmit enevt Handler for the Form object



<!-- Hide
// function submits a form to a server specified in the <form> tag
function submiForm(form){
 document.form1.submit(form);
}
// End Hide --->



>
This is a sample form

Name:

Age:






- Original Message -
From: suxuchun <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 26, 2000 3:06 AM
Subject: Re: how do I get Parameters from form to the same Jsp


> Just  use
> 
> or
> 
> That will be ok
> - Original Message -
> From: "Martin Nwalal" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, November 25, 2000 8:45 PM
> Subject: how do I get Parameters from form to the same Jsp
>
>
> > Hi,
> >
> > How  Can I pass  parameters   from form link to jsp where form and jsp
are
> > in the same file .
> > thanks for help
> > Martin
> >
> >
===
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I get Parameters from form to the same Jsp

2000-11-25 Thread suxuchun

Just use

- Original Message -
From: "Martin Nwalal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 25, 2000 8:45 PM
Subject: how do I get Parameters from form to the same Jsp


> Hi,
>
> How  Can I pass  parameters   from form link to jsp where form and jsp are
> in the same file .
> thanks for help
> Martin
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I get Parameters from form to the same Jsp

2000-11-25 Thread suxuchun

Just  use

or

That will be ok
- Original Message -
From: "Martin Nwalal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 25, 2000 8:45 PM
Subject: how do I get Parameters from form to the same Jsp


> Hi,
>
> How  Can I pass  parameters   from form link to jsp where form and jsp are
> in the same file .
> thanks for help
> Martin
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I get Parameters from form to the same Jsp

2000-11-25 Thread Girish B Mohite

Hi Martin

This is Girish here
Can you restate ur problem ,its not very clear to me
Whenever you submit the form in a jsp ,the jsp reloads itself so it can get
the parameters in that form.If at all you want tos et some parameters ,set
them in javascript

Hope this solves ur proble

Regards
Girish





>= Original Message From A mailing list about Java Server Pages
specification and reference <[EMAIL PROTECTED]> =
> Hi,
>How  Can I pass  parameters   from form link to jsp where form and jsp are
>in the same file .
>thanks for help
>Martin
>
>===
>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://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


 Get your FREE web-based e-mail and newsgroup access at:
http://MailAndNews.com

 Create a new mailbox, or access your existing IMAP4 or
 POP3 mailbox from anywhere with just a web browser.


===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I get Parameters from form to the same Jsp

2000-11-25 Thread Martin Nwalal

 Hi,
How  Can I pass  parameters   from form link to jsp where form and jsp are
in the same file .
thanks for help
Martin

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I get Parameters from form to the same Jsp

2000-11-25 Thread Martin Nwalal

Hi,

How  Can I pass  parameters   from form link to jsp where form and jsp are
in the same file .
thanks for help
Martin

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I find out more about a error message

2000-10-26 Thread Shawn Zhu

Okay, I need some help now. =)

I got the following error message.  On the jsp I use.  I have a Database
class, that calls
javax.naming.InitialContext class.  I know that's where it generate the
error.  However, I have no idea whether the error is related to my
environment path setup or missing packages.
Unlike Microsoft, you can copy the error message and search on MSDN to get
an more detailed explaination on why such an error and how to go about
amending it.  Does Java.Sun have something like that?

Thank you.

==

javax.naming.CommunicationException: Can't find SerialContextProvider
at
com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60)
at
com.sun.enterprise.naming.SerialContext.(SerialContext.java:79)
at
com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialI
nitContextFactory.java:54)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.(InitialContext.java:178)
at TestCases.dataBase.DBManager.(DBManager.java:22)
at
D_0003a.myprojects.TestCases.TestCases_0002fTableSelectView_0002ejspTableSel
ectView_jsp_1._jspService(TestCases_0002fTableSelectView_0002ejspTableSelect
View_jsp_1.java:74)
at com.sun.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:61)
at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:177)
at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:237)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:127)
at com.sun.web.core.Context.handleRequest(Context.java:414)
at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:101)

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I hide a directory under tomcat....

2000-10-13 Thread Hendrik Schreiber

Larry,

you could register a Servlet under the URL-pattern /downloads/WEB-INF/* that always
returns HttpServletResonse.SC_FORBIDDEN. Like this:

import javax.servlet.*;
import javax.servlet.http.*;
public DownloadForbidden extends GenericServlet {
public void service(ServletRequest req, ServletResponse res) {
((HttpServletRequest)res).sendError(HttpServletResonse.SC_FORBIDDEN, "your
message");
}
}

web.xml excerpt:
...

 
  DownloadForbidden
 
 
  DownloadForbidden
 


 
  DownloadForbidden
 
 
  /downloads/WEB-INF/*
 

...

cheers,

-hendrik
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  tagtraum industries  http://www.tagtraum.com/
  jo! small&smart 2.2 servletengine
  Java Server & Servlets   The web-application book
  The WebApp Frameworkhttp://www.webapp.de/



Larry Hoffman wrote:

> I have the following set up... I created a downloads directory.  Under the
> downloads directory I created the WEB-INF directory.  At this same level I
> created a files directory.  Under the WEB-INF directory I created the
> classes dir. i.e.:
>
> +downloads
>+-WEB-INF
>| +-classes
>|
>+-files
>
> I want to be able to hide the entire downloads directory from view... Much
> the same way the WEB-INF directory is hidden from view... Any
> suggestions... -Larry
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I hide a directory under tomcat....

2000-10-13 Thread Larry Hoffman

I have the following set up... I created a downloads directory.  Under the
downloads directory I created the WEB-INF directory.  At this same level I
created a files directory.  Under the WEB-INF directory I created the
classes dir. i.e.:

+downloads
   +-WEB-INF
   | +-classes
   |
   +-files

I want to be able to hide the entire downloads directory from view... Much
the same way the WEB-INF directory is hidden from view... Any
suggestions... -Larry

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I set target (another frame name or _top[HTML]) forjsp :forward

2000-10-09 Thread James Staniland

Was ist eine Visitenkarte ?

-Original Message-
From: Sergey A. Vorobiev [mailto:[EMAIL PROTECTED]]
Sent: 09 October 2000 09:42
To: [EMAIL PROTECTED]
Subject: Re: how do I set target (another frame name or _top[HTML])
forjsp:forward


Sunil Jaiswal wrote:
>
> All:
>
> Can any one tell me how do I set target (another frame name or _top[HTML])
> for jsp:forward
>
> for example:
> when I have a  in the left frame of my
HTML
> page,
> I want this forward to point to the right frame of my HTML.
>
> Any help would be grateful. Waiting for the reply.
>

You can't do this. Use JavaScript instead, something like this:

document.myRightFrameName.location.href="sample.jsp";

--
Regards,
Sergey Vorobiev

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I set target (another frame name or _top[HTML]) forjsp:forward

2000-10-09 Thread Sergey A. Vorobiev

Sunil Jaiswal wrote:
>
> All:
>
> Can any one tell me how do I set target (another frame name or _top[HTML])
> for jsp:forward
>
> for example:
> when I have a  in the left frame of my HTML
> page,
> I want this forward to point to the right frame of my HTML.
>
> Any help would be grateful. Waiting for the reply.
>

You can't do this. Use JavaScript instead, something like this:

document.myRightFrameName.location.href="sample.jsp";

--
Regards,
Sergey Vorobiev

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I set target (another frame name or _top[HTML]) for jsp:forward

2000-10-09 Thread Manuel Matonin

I am not quite sure why U use jsp:forward  tag!
Use  !
"Right" is the Frameset parameter which you attributed in  tag .

Hope this helps.

M.M.

- Original Message -
From: "Sunil Jaiswal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 09, 2000 3:45 PM
Subject: how do I set target (another frame name or _top[HTML]) for
jsp:forward


> All:
>
> Can any one tell me how do I set target (another frame name or _top[HTML])
> for jsp:forward
>
> for example:
> when I have a  in the left frame of my
HTML
> page,
> I want this forward to point to the right frame of my HTML.
>
> Any help would be grateful. Waiting for the reply.
>
> Thanks,
> -Sunil
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I set target (another frame name or _top[HTML]) for jsp:forward

2000-10-09 Thread Sunil Jaiswal

All:

Can any one tell me how do I set target (another frame name or _top[HTML])
for jsp:forward

for example:
when I have a  in the left frame of my HTML
page,
I want this forward to point to the right frame of my HTML.

Any help would be grateful. Waiting for the reply.

Thanks,
-Sunil

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I show JDBC ResultSet contects as a HTML Table

2000-10-04 Thread Yongjiang Zhang @ Yahoo

Hi, I'm not sure whether the following code fit your requirement.

ResultSet results = stmt.executeQuery("SELECT * FROM emp");

// GET metadata info
ResultSetMetaData rsmd = results.getMetaData();
int numCols = rsmd.getColumnCount();
int i;

out.println("");

// column header info
out.println("");
out.println("");
for (i=1; i <= numCols; i++){
out.println("" + rsmd.getColumnLabel(i) + "");
}
out.println("");
out.println("");

// content
while (results.next()){
out.println("");
for (i=1; i <= numCols; i++) {
out.println("" + results.getString(i) + "");
}
out.println("");
}
out.println("");


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Raja Nagendra Kumar
Sent: Wednesday, October 04, 2000 2:26 AM
To: [EMAIL PROTECTED]
Subject: How do I show JDBC ResultSet contects as a HTML Table


I posting this again as I had no replies..  Please help...

Hi!

Could anyone tell me how do I map the ResultSet Object to the HTML Table.
Currently I am trying to take each element of ResultSet and writing to a
cell on
html table...  Is there any utils or tools which directly take ResultSet and
format it as HTML Table..

Does the freemarker Template API support ResultSet as the DataModel..  Even
after browing these doc's I could not figur it out..

Could any point me to some better way of doing this..

Regards,
Nagendra

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I show JDBC ResultSet contects as a HTML Table

2000-10-04 Thread Raja Nagendra Kumar

I posting this again as I had no replies..  Please help...

Hi!

Could anyone tell me how do I map the ResultSet Object to the HTML Table.
Currently I am trying to take each element of ResultSet and writing to a cell on
html table...  Is there any utils or tools which directly take ResultSet and
format it as HTML Table..

Does the freemarker Template API support ResultSet as the DataModel..  Even
after browing these doc's I could not figur it out..

Could any point me to some better way of doing this..

Regards,
Nagendra

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How Do I display Java Gui Objects on a browser with JSP?

2000-10-03 Thread David Marshall

If you want output HTML from your server which includes a Java Applet, then
the logic to produce the HTML must be in your JSP. I agree with Jonathan,
you should use Sun's Java-Plugin for the browser-side VM. Note, that this
will have an inpact on the HTML that your JSP sends to the client.

I would be very careful with the use of Swing-UI unless you need that
functionality. With JDK 1.1 and 1.2, some of the Widgets in Swing can cause
hundreds of classes to be loaded into memory. The structure of the Swing
portable-look-and-feel manager will load classes for motif, metal as well as
windows look and feel. It is my understanding that this is unchanged in 1.3.
This is a performance hit in starting an applet. It also leads to a larger
memory footprint. I have gotten better performance and a lighter footprint
from 3rd party widgets.

I wish that Swing would only load the classes to support the native
platform, by default. Hopefully, this will change in a future release.

David Marshall

- Original Message -
From: "Cogley, Jonathan" <[EMAIL PROTECTED]>
Sent: Monday, October 02, 2000 6:22 AM
Subject: Re: How Do I display Java Gui Objects on a browser with JSP?


> Charbel,
>
> The only way to run Java code on the client browser is in the form of an
> applet.
> So you will need to create an applet and you will also need to ensure that
> the
> swing classes are installed on the client... You may want to look at
running
> the Sun VM or getting the user to download the JRE 1.3 from Sun which (I
> believe)
> includes the swing classes.
> http://java.sun.com/products/plugin/index.html
>
> You may also want to have a good read thru a JSP book to make sure you
> understand
> the difference between client (e.g. JavaScript) and server code.
>
> Regards,
> Jonathan
>
>
> -Original Message-
> From: charbel achkar [mailto:[EMAIL PROTECTED]]
> Sent: 30 September, 2000 8:10 AM
> To: [EMAIL PROTECTED]
> Subject: How Do I display Java Gui Objects on a browser with JSP?
>
>
> Hi everyone,
>
> New to this list. I am trying to incorporate javax.swing and awt gui
object
> with HTML fields in a JSP form. I am able to instantiate these objects but
> failed to show them on the browser frame. I tried to get contentpane for
the
> frame but I failed. does anyone know how to show these instantiated GUI
> objects in my browser?
>
> Many Thanks in Advance
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I show JDBC ResultSet contects as a HTML Table

2000-10-03 Thread Raja Nagendra Kumar

Hi!

Could anyone tell me how do I map the ResultSet Object to the HTML Table.
Currently I am trying to take each element of ResultSet and writing to a cell on
html table...  Is there any utils or tools which directly take ResultSet and
format it as HTML Table..

Does the freemarker Template API support ResultSet as the DataModel..  Even
after browing these doc's I could not figur it out..

Could any point me to some better way of doing this..

Regards,
Nagendra

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How Do I display Java Gui Objects on a browser with JSP?

2000-10-02 Thread Cogley, Jonathan

Charbel,

The only way to run Java code on the client browser is in the form of an
applet.
So you will need to create an applet and you will also need to ensure that
the
swing classes are installed on the client... You may want to look at running
the Sun VM or getting the user to download the JRE 1.3 from Sun which (I
believe)
includes the swing classes.
http://java.sun.com/products/plugin/index.html

You may also want to have a good read thru a JSP book to make sure you
understand
the difference between client (e.g. JavaScript) and server code.

Regards,
Jonathan


-Original Message-
From: charbel achkar [mailto:[EMAIL PROTECTED]]
Sent: 30 September, 2000 8:10 AM
To: [EMAIL PROTECTED]
Subject: How Do I display Java Gui Objects on a browser with JSP?


Hi everyone,

New to this list. I am trying to incorporate javax.swing and awt gui object
with HTML fields in a JSP form. I am able to instantiate these objects but
failed to show them on the browser frame. I tried to get contentpane for the
frame but I failed. does anyone know how to show these instantiated GUI
objects in my browser?

Many Thanks in Advance

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How Do I display Java Gui Objects on a browser with JSP?

2000-09-30 Thread charbel achkar

Hi everyone,

New to this list. I am trying to incorporate javax.swing and awt gui object
with HTML fields in a JSP form. I am able to instantiate these objects but
failed to show them on the browser frame. I tried to get contentpane for the
frame but I failed. does anyone know how to show these instantiated GUI
objects in my browser?

Many Thanks in Advance

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I make tomcat load automatically...

2000-09-28 Thread Larry Hoffman

instead of typing "./startup.sh" at the commad line

Thanks



On Thu, 28 Sep 2000, Hans Bergsten wrote:
> "Craig R. McClanahan" wrote:
> >
> > Irfan Mohammed wrote:
> >
> > > It means that you are working with version 2.1
> > > Irfan
> > >
> >
> > More completely, it means you are working with *servlet* version 2.1.  There is not
> > really an analogous call for the JSP version -- you might try telling us what
> > server software you are running.
>
> Well, there is an analogous call for the JSP version, even though it is well
> hidden:
>
> <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %>
>
> See the JspFactory and JspEngineInfo classes in the JSP specification for
> details.
>
> Hans
> --
> Hans Bergsten   [EMAIL PROTECTED]
> Gefion Software http://www.gefionsoftware.com
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do i set aliases in JRun 2.3.3

2000-08-30 Thread Aravind Kumar LNS

Hi
 I have a jsp page that has a following statements
document.forms[0].action = "/com/deploy/admin/DocGenDocsServlet.class";
document.forms[0].submit();
I want to give an alias name like this
document.forms[0].action = "docgendoc";
document.forms[0].submit();

To do that
i set the alias name in JRun as dogendoc
class name as "x.y.z.DocGenDocsServlet"

It gives SERVER ERROR

I use JRUN 2.3.3 and NES web server

Any solutions on this are a real help

Good luck
Aravind Kumar L.N.S

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: QUESTION: How do I Change the Sort Order of this Code?

2000-08-08 Thread Joseph Sandra

What I mean is, how do I modify the code so that I can tell it in what
direction I want the data sorted (i.e., ascending or descending)?

SanJo;)

Quoting "Sergey A. Vorobiev" <[EMAIL PROTECTED]>:

> "S. Joseph" wrote:
> >
> > I'm new to Java.  I want to sort the data in reverse order but I don't
> > understand the code and cannot tell where to modify it.  Please help.
> >
> >  /*
> >   * MergeSort.java
> > >  *
> > >  * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
> > >  *
> > >  * This software is the confidential and proprietary information of Sun
> > >  * Microsystems, Inc. ("Confidential Information").  You shall not
> > >  * disclose such Confidential Information and shall use it only in
> > >  * accordance with the terms of the license agreement you entered into
> > >  * with Sun.
> > >  *
> > >  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
> THE
> > >  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
> THE
> > >  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
> > >  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY
> DAMAGES
> > >  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
> > >  * THIS SOFTWARE OR ITS DERIVATIVES.
> > >  *
> > >  */
> > >
> > > /**
> > >  * An implementation of MergeSort, needs to be subclassed to
> > >  * compare the terms.
> > >  *
> > >  * @author Scott Violet
> > >  */
> > > public abstract class MergeSort extends Object {
> > > protected Object   toSort[];
> > > protected Object   swapSpace[];
> > >
> > > public void sort(Object array[]) {
> > >  if(array != null && array.length > 1)
> > >  {
> > >  int maxLength;
> > >
> > >  maxLength = array.length;
> > >  swapSpace = new Object[maxLength];
> > >  toSort = array;
> > >  this.mergeSort(0, maxLength - 1);
> > >  swapSpace = null;
> > >  toSort = null;
> > >  }
> > > }
> > >
> > > public abstract int compareElementsAt(int beginLoc, int endLoc);
> > >
> > > protected void mergeSort(int begin, int end) {
> > >  if(begin != end)
> > >  {
> > >  int   mid;
> > >
> > >  mid = (begin + end) / 2;
> > >  this.mergeSort(begin, mid);
> > >  this.mergeSort(mid + 1, end);
> > >  this.merge(begin, mid, end);
> > >  }
> > > }
> > >
> > > protected void merge(int begin, int middle, int end) {
> > >  int   firstHalf, secondHalf, count;
> > >
> > >  firstHalf = count = begin;
> > >  secondHalf = middle + 1;
> > >  while((firstHalf <= middle) && (secondHalf <= end))
> > >  {
> > >  if(this.compareElementsAt(secondHalf, firstHalf) < 0)
> > >swapSpace[count++] = toSort[secondHalf++];
> > >  else
> > >swapSpace[count++] = toSort[firstHalf++];
> > >  }
> > >  if(firstHalf <= middle)
> > >  {
> > >  while(firstHalf <= middle)
> > >swapSpace[count++] = toSort[firstHalf++];
> > >  }
> > >  else
> > >  {
> > >  while(secondHalf <= end)
> > >swapSpace[count++] = toSort[secondHalf++];
> > >  }
> > >  for(count = begin;count <= end;count++)
> > >  toSort[count] = swapSpace[count];
> > > }
> > > }
> > >
>
> You do not need to modify it. All you have to do is to inherit it:
>
> public class MyMergeSort extends MergeSort {
>
>   public int compareElementsAt(int beginLoc, int endLoc) {
> // comparison criteria here
>   }
>
> }
>
> and use it like here:
>
> MyMergeSort sorter = new MyMergeSort();
> sorter.sort(yourArray);
>
> --
> Regards,
> Sergey Vorobiev
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: QUESTION: How do I Change the Sort Order of this Code?

2000-08-08 Thread Sergey A. Vorobiev

"S. Joseph" wrote:
>
> I'm new to Java.  I want to sort the data in reverse order but I don't
> understand the code and cannot tell where to modify it.  Please help.
>
>  /*
>   * MergeSort.java
> >  *
> >  * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
> >  *
> >  * This software is the confidential and proprietary information of Sun
> >  * Microsystems, Inc. ("Confidential Information").  You shall not
> >  * disclose such Confidential Information and shall use it only in
> >  * accordance with the terms of the license agreement you entered into
> >  * with Sun.
> >  *
> >  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
> >  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
> >  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
> >  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
> >  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
> >  * THIS SOFTWARE OR ITS DERIVATIVES.
> >  *
> >  */
> >
> > /**
> >  * An implementation of MergeSort, needs to be subclassed to
> >  * compare the terms.
> >  *
> >  * @author Scott Violet
> >  */
> > public abstract class MergeSort extends Object {
> > protected Object   toSort[];
> > protected Object   swapSpace[];
> >
> > public void sort(Object array[]) {
> >  if(array != null && array.length > 1)
> >  {
> >  int maxLength;
> >
> >  maxLength = array.length;
> >  swapSpace = new Object[maxLength];
> >  toSort = array;
> >  this.mergeSort(0, maxLength - 1);
> >  swapSpace = null;
> >  toSort = null;
> >  }
> > }
> >
> > public abstract int compareElementsAt(int beginLoc, int endLoc);
> >
> > protected void mergeSort(int begin, int end) {
> >  if(begin != end)
> >  {
> >  int   mid;
> >
> >  mid = (begin + end) / 2;
> >  this.mergeSort(begin, mid);
> >  this.mergeSort(mid + 1, end);
> >  this.merge(begin, mid, end);
> >  }
> > }
> >
> > protected void merge(int begin, int middle, int end) {
> >  int   firstHalf, secondHalf, count;
> >
> >  firstHalf = count = begin;
> >  secondHalf = middle + 1;
> >  while((firstHalf <= middle) && (secondHalf <= end))
> >  {
> >  if(this.compareElementsAt(secondHalf, firstHalf) < 0)
> >swapSpace[count++] = toSort[secondHalf++];
> >  else
> >swapSpace[count++] = toSort[firstHalf++];
> >  }
> >  if(firstHalf <= middle)
> >  {
> >  while(firstHalf <= middle)
> >swapSpace[count++] = toSort[firstHalf++];
> >  }
> >  else
> >  {
> >  while(secondHalf <= end)
> >swapSpace[count++] = toSort[secondHalf++];
> >  }
> >  for(count = begin;count <= end;count++)
> >  toSort[count] = swapSpace[count];
> > }
> > }
> >

You do not need to modify it. All you have to do is to inherit it:

public class MyMergeSort extends MergeSort {

  public int compareElementsAt(int beginLoc, int endLoc) {
// comparison criteria here
  }

}

and use it like here:

MyMergeSort sorter = new MyMergeSort();
sorter.sort(yourArray);

--
Regards,
Sergey Vorobiev

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



QUESTION: How do I Change the Sort Order of this Code?

2000-08-08 Thread S. Joseph

I'm new to Java.  I want to sort the data in reverse order but I don't
understand the code and cannot tell where to modify it.  Please help.

 /*
  * MergeSort.java
>  *
>  * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
>  *
>  * This software is the confidential and proprietary information of Sun
>  * Microsystems, Inc. ("Confidential Information").  You shall not
>  * disclose such Confidential Information and shall use it only in
>  * accordance with the terms of the license agreement you entered into
>  * with Sun.
>  *
>  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
>  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
>  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
>  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
>  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
>  * THIS SOFTWARE OR ITS DERIVATIVES.
>  *
>  */
>
> /**
>  * An implementation of MergeSort, needs to be subclassed to
>  * compare the terms.
>  *
>  * @author Scott Violet
>  */
> public abstract class MergeSort extends Object {
> protected Object   toSort[];
> protected Object   swapSpace[];
>
> public void sort(Object array[]) {
>  if(array != null && array.length > 1)
>  {
>  int maxLength;
>
>  maxLength = array.length;
>  swapSpace = new Object[maxLength];
>  toSort = array;
>  this.mergeSort(0, maxLength - 1);
>  swapSpace = null;
>  toSort = null;
>  }
> }
>
> public abstract int compareElementsAt(int beginLoc, int endLoc);
>
> protected void mergeSort(int begin, int end) {
>  if(begin != end)
>  {
>  int   mid;
>
>  mid = (begin + end) / 2;
>  this.mergeSort(begin, mid);
>  this.mergeSort(mid + 1, end);
>  this.merge(begin, mid, end);
>  }
> }
>
> protected void merge(int begin, int middle, int end) {
>  int   firstHalf, secondHalf, count;
>
>  firstHalf = count = begin;
>  secondHalf = middle + 1;
>  while((firstHalf <= middle) && (secondHalf <= end))
>  {
>  if(this.compareElementsAt(secondHalf, firstHalf) < 0)
>swapSpace[count++] = toSort[secondHalf++];
>  else
>swapSpace[count++] = toSort[firstHalf++];
>  }
>  if(firstHalf <= middle)
>  {
>  while(firstHalf <= middle)
>swapSpace[count++] = toSort[firstHalf++];
>  }
>  else
>  {
>  while(secondHalf <= end)
>swapSpace[count++] = toSort[secondHalf++];
>  }
>  for(count = begin;count <= end;count++)
>  toSort[count] = swapSpace[count];
> }
> }
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I Change the Sort Order?

2000-08-07 Thread Ionel Condor

Hi,
I am not absolutely sure but I think that in the class which inherits this class
you should
explicitly write "<" or " >" in the overriden method compareElementAt(...)

ex.
 public int compareElementsAt(int beginLoc, int endLoc) {
  if(beginLoc>endLoc)
   return -1;
  else return 1;
}
or for reverse order:
 public int compareElementsAt(int beginLoc, int endLoc) {
  if(beginLoc How do I change the sort order in this code?
>
> SanJo;)
>
> /*
>  * MergeSort.java
>  *
>  * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
>  *
>  * This software is the confidential and proprietary information of Sun
>  * Microsystems, Inc. ("Confidential Information").  You shall not
>  * disclose such Confidential Information and shall use it only in
>  * accordance with the terms of the license agreement you entered into
>  * with Sun.
>  *
>  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
>  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
>  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
>  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
>  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
>  * THIS SOFTWARE OR ITS DERIVATIVES.
>  *
>  */
>
> /**
>  * An implementation of MergeSort, needs to be subclassed to
>  * compare the terms.
>  *
>  * @author Scott Violet
>  */
> public abstract class MergeSort extends Object {
> protected Object   toSort[];
> protected Object   swapSpace[];
>
> public void sort(Object array[]) {
>  if(array != null && array.length > 1)
>  {
>  int maxLength;
>
>  maxLength = array.length;
>  swapSpace = new Object[maxLength];
>  toSort = array;
>  this.mergeSort(0, maxLength - 1);
>  swapSpace = null;
>  toSort = null;
>  }
> }
>
> public abstract int compareElementsAt(int beginLoc, int endLoc);
>
> protected void mergeSort(int begin, int end) {
>  if(begin != end)
>  {
>  int   mid;
>
>  mid = (begin + end) / 2;
>  this.mergeSort(begin, mid);
>  this.mergeSort(mid + 1, end);
>  this.merge(begin, mid, end);
>  }
> }
>
> protected void merge(int begin, int middle, int end) {
>  int   firstHalf, secondHalf, count;
>
>  firstHalf = count = begin;
>  secondHalf = middle + 1;
>  while((firstHalf <= middle) && (secondHalf <= end))
>  {
>  if(this.compareElementsAt(secondHalf, firstHalf) < 0)
>swapSpace[count++] = toSort[secondHalf++];
>  else
>swapSpace[count++] = toSort[firstHalf++];
>  }
>  if(firstHalf <= middle)
>  {
>  while(firstHalf <= middle)
>swapSpace[count++] = toSort[firstHalf++];
>  }
>  else
>  {
>  while(secondHalf <= end)
>swapSpace[count++] = toSort[secondHalf++];
>  }
>  for(count = begin;count <= end;count++)
>  toSort[count] = swapSpace[count];
> }
> }
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I Change the Sort Order?

2000-08-07 Thread S. Joseph

How do I change the sort order in this code?

SanJo;)

/*
 * MergeSort.java
 *
 * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of Sun
 * Microsystems, Inc. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Sun.
 *
 * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
 * THIS SOFTWARE OR ITS DERIVATIVES.
 *
 */

/**
 * An implementation of MergeSort, needs to be subclassed to
 * compare the terms.
 *
 * @author Scott Violet
 */
public abstract class MergeSort extends Object {
protected Object   toSort[];
protected Object   swapSpace[];

public void sort(Object array[]) {
 if(array != null && array.length > 1)
 {
 int maxLength;

 maxLength = array.length;
 swapSpace = new Object[maxLength];
 toSort = array;
 this.mergeSort(0, maxLength - 1);
 swapSpace = null;
 toSort = null;
 }
}

public abstract int compareElementsAt(int beginLoc, int endLoc);

protected void mergeSort(int begin, int end) {
 if(begin != end)
 {
 int   mid;

 mid = (begin + end) / 2;
 this.mergeSort(begin, mid);
 this.mergeSort(mid + 1, end);
 this.merge(begin, mid, end);
 }
}

protected void merge(int begin, int middle, int end) {
 int   firstHalf, secondHalf, count;

 firstHalf = count = begin;
 secondHalf = middle + 1;
 while((firstHalf <= middle) && (secondHalf <= end))
 {
 if(this.compareElementsAt(secondHalf, firstHalf) < 0)
   swapSpace[count++] = toSort[secondHalf++];
 else
   swapSpace[count++] = toSort[firstHalf++];
 }
 if(firstHalf <= middle)
 {
 while(firstHalf <= middle)
   swapSpace[count++] = toSort[firstHalf++];
 }
 else
 {
 while(secondHalf <= end)
   swapSpace[count++] = toSort[secondHalf++];
 }
 for(count = begin;count <= end;count++)
 toSort[count] = swapSpace[count];
}
}

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How Do I access data from LOTUS NOTES-5 database- in jsp or otherwise....***Important*** please Help

2000-08-03 Thread Doug Turner

This is from one of our classes that connects to lotus:

 Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
 Connection con = DriverManager.getConnection(URL, odbcProps);

Where odbcProps is a propert file with these entries:

DSN=MYODBCDSN
DATABASE=DBDIRECTORY\\DATABASENAME.NSF
SERVER=MYSERVERNAME

And URL is DSN preceded by "jdbc:odbc:"

As someone mentioned, you have to get the NotesSQL ODBC driver to make this
all work.

Also, since Lotus Notes doesn't allow you to specify a password for your
Notes ID, you will probably have to run this on a system with a Notes ID
that is not password protected.

Hope this helps.

- Original Message -
From: Pradeep Roy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 12:56 AM
Subject: How Do I access data from LOTUS NOTES-5 database- in jsp or
otherwise***Important*** please Help


> Hi All
>
> Could  Anyone help me in getting data from Lotus Notes database. The first
> thing that I want to do is to connect to the database. and run a simple
> query. Please let me now the URL, Drivername, System name ( how to code
all
> this properly) etc. etc.  that is required to get connected to Lotus Notes
> database specific...( preferbable with a partial code.)
>
> I have connected to Oracle & DB2/400 and using its data. Now I want the
> Lotus notes 5 data to be accessed which I don't know.
>
> Looking forward to your helps.
>
> Thanks & Regards
> Pradeep
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How Do I access data from LOTUS NOTES-5 database- in JSP or o therwise....***Important*** please Help

2000-08-02 Thread Marc Krisjanous

HI,
if you want servlet code to access r5 databases give me a yell as I am on a
project currently where we are accessing r5 notes databases via CORBA from a
servlet.

Marc

-Original Message-
From: Pradeep Roy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 August 2000 4:57 PM
To: [EMAIL PROTECTED]
Subject: How Do I access data from LOTUS NOTES-5 database- in jsp or
otherwise***Important*** please Help


Hi All

Could  Anyone help me in getting data from Lotus Notes database. The first
thing that I want to do is to connect to the database. and run a simple
query. Please let me now the URL, Drivername, System name ( how to code all
this properly) etc. etc.  that is required to get connected to Lotus Notes
database specific...( preferbable with a partial code.)

I have connected to Oracle & DB2/400 and using its data. Now I want the
Lotus notes 5 data to be accessed which I don't know.

Looking forward to your helps.

Thanks & Regards
Pradeep

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How Do I access data from LOTUS NOTES-5 database- in jsp or otherwise....***Important*** please Help

2000-08-02 Thread [Sebastian Fuchs]

Hello Pradeep,
i just managed to pull data out of a Notes database, so probably this could
help you a little.
There are two ways of doing this. First you can try to integrate the
GNUJSP1.0 package into the Domino Server, by using the Domino Servlet
Manager. Second you can install Tomcat and use Domino simply as a database.
There is a dokument under

descriping these two ways.
You have to initialize a NotesThread at the beginning of your connection to
create a session with Domino.
 NotesThread.sinitThread();
 notesSession = NotesFactory.createSession();
 db = notesSession.getDatabase(null,"Ttest.nsf");
 view = db.getView("Show People");

Regards
Sebastian


Mit freundlichen Grüßen

Sebastian Fuchs

Kasten Consulting AG
Brückenstraße 14/16
D51379 Leverkusen
Telefon: +49 (0)2171 7277-0
Telefax: +49 (0)2171 7277-77
eMail: [EMAIL PROTECTED]
http://www.kasten.com

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How Do I access data from LOTUS NOTES-5 database- in jsp or otherwise....***Important*** please Help

2000-08-02 Thread Oleg V Alexeev

Hello Pradeep,

Tuesday, August 01, 2000, 11:56:37 PM, you wrote:

PR> Could  Anyone help me in getting data from Lotus Notes database. The first
PR> thing that I want to do is to connect to the database. and run a simple
PR> query. Please let me now the URL, Drivername, System name ( how to code all
PR> this properly) etc. etc.  that is required to get connected to Lotus Notes
PR> database specific...( preferbable with a partial code.)

PR> I have connected to Oracle & DB2/400 and using its data. Now I want the
PR> Lotus notes 5 data to be accessed which I don't know.

There are some JDBC drivers for Java to Lotus Notes connections on
www.lotus.com
Another way is run servlets on Domino server, where you can use
standart Java classes for Domino objects manipulations.

--
Best regards,
 Olegmailto:[EMAIL PROTECTED]

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How Do I access data from LOTUS NOTES-5 database- in jsp or otherwise....***Important*** please Help

2000-08-01 Thread Pradeep Roy

Hi All

Could  Anyone help me in getting data from Lotus Notes database. The first
thing that I want to do is to connect to the database. and run a simple
query. Please let me now the URL, Drivername, System name ( how to code all
this properly) etc. etc.  that is required to get connected to Lotus Notes
database specific...( preferbable with a partial code.)

I have connected to Oracle & DB2/400 and using its data. Now I want the
Lotus notes 5 data to be accessed which I don't know.

Looking forward to your helps.

Thanks & Regards
Pradeep

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how do I?

2000-07-30 Thread Oren Klichevsky

Hi,

You can generate a POST request, and set a HTTP request variable to contain
your XML document.
JSP files handle both GET and POST request in the same way, so there is no
special change you need to put into your JSP source after this change.


Best Regards,
Oren Klichevsky
www.mannainc.com <http://www.mannainc.com>



-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Howard Lee
Sent: Saturday, July 29, 2000 6:23 AM
To: [EMAIL PROTECTED]
Subject: how do I?


Hi guys,

I have a program that generates XML and calls a JSP. I want the JSP to
somehow takes this XML input (not necessarily a file) and do processing. How
should the XML generating program call the JSP? I don't think I can embed
the XML into URL. Any idea guys? Thank you very much.

howard

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I?

2000-07-28 Thread Howard Lee

Hi guys,

I have a program that generates XML and calls a JSP. I want the JSP to
somehow takes this XML input (not necessarily a file) and do processing. How
should the XML generating program call the JSP? I don't think I can embed
the XML into URL. Any idea guys? Thank you very much.

howard

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I destroy/reset a Session Java bean

2000-06-15 Thread Veena

Can we randomly remove the bean from the SERVLET or JSP.
Or
Is there any criteria to determine whether the bean should be removed from
the session in SERVLET or JSP.

- Original Message -
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 15, 2000 12:40 AM
Subject: Re: How do I destroy/reset a Session Java bean


> Graham Cruickshanks wrote:
>
> > I've been using a java bean to hold state while building a order in a
e-bis
> > app, Problem is that when the user goes through this order building
process
> > again it has all the old values,
> >
> > Is there a easy what to erase/reset a java bean which is a Session
object,
> > Without kill any other session objects,
> >
> > Or manually setting all values to defaults.
> >
> > He's the little son of a gun
> >
> >  > class="com.inrs.cannede.ordercreation"/>
> >
>
> In a servlet or JSP scriptlet, execute:
>
> session.removeAttribute("ordercreation");
>
> if you're running on a 2.2 or later servlet container.  In earlier
versions it was:
>
> session.removeValue("ordercreation");
>
> which still works in 2.2 containers, but has been deprecated in favor of
> removeAttribute() for consistency in method names.
>
> >
> > Thanks
> >
> > Graham Cruickshanks
> > www.inrs.co.uk
> >
>
> Craig McClanahan
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I destroy/reset a Session Java bean

2000-06-14 Thread Namratha Reddy

Why don't you remove the bean from the session once you're done with it:
session.removeValue(beanName);
then re-instantiate it, and store it back in the session.


>From: Graham Cruickshanks <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How do I destroy/reset a Session Java bean
>Date: Wed, 14 Jun 2000 19:55:06 +0100
>
>I've been using a java bean to hold state while building a order in a e-bis
>app, Problem is that when the user goes through this order building process
>again it has all the old values,
>
>Is there a easy what to erase/reset a java bean which is a Session object,
>Without kill any other session objects,
>
>Or manually setting all values to defaults.
>
>He's the little son of a gun
>
>class="com.inrs.cannede.ordercreation"/>
>
>Thanks
>
>Graham Cruickshanks
>www.inrs.co.uk
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I destroy/reset a Session Java bean

2000-06-14 Thread Craig R. McClanahan

Graham Cruickshanks wrote:

> I've been using a java bean to hold state while building a order in a e-bis
> app, Problem is that when the user goes through this order building process
> again it has all the old values,
>
> Is there a easy what to erase/reset a java bean which is a Session object,
> Without kill any other session objects,
>
> Or manually setting all values to defaults.
>
> He's the little son of a gun
>
>  class="com.inrs.cannede.ordercreation"/>
>

In a servlet or JSP scriptlet, execute:

session.removeAttribute("ordercreation");

if you're running on a 2.2 or later servlet container.  In earlier versions it was:

session.removeValue("ordercreation");

which still works in 2.2 containers, but has been deprecated in favor of
removeAttribute() for consistency in method names.

>
> Thanks
>
> Graham Cruickshanks
> www.inrs.co.uk
>

Craig McClanahan

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I destroy/reset a Session Java bean

2000-06-14 Thread Graham Cruickshanks

I've been using a java bean to hold state while building a order in a e-bis
app, Problem is that when the user goes through this order building process
again it has all the old values,

Is there a easy what to erase/reset a java bean which is a Session object,
Without kill any other session objects,

Or manually setting all values to defaults.

He's the little son of a gun



Thanks

Graham Cruickshanks
www.inrs.co.uk

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: HOW DO I SIGN OFF FROM THIS LIST

2000-05-04 Thread Stefán Freyr Stefánsson

Hi!

You might want to try to send a letter to [EMAIL PROTECTED] with
"signoff JSP-INTEREST" in the BODY of the mail (not the subject) AND don't
use the quotes.  So the body should actually look like this:

signoff JSP-INTEREST

And nothing else.

hope this helps,
Stefan

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sagar Ratnakara Nikam
Sent: 3. maí 2000 09:30
To: [EMAIL PROTECTED]
Subject: HOW DO I SIGN OFF FROM THIS LIST


Hi,
Can anybody tell me how do we sign off from this mailing list.
I have been trying it by sending a mail to [EMAIL PROTECTED] with body
"signoff JSP-INTEREST" .
I am getting a mail from the listserver with error message

Unknown command - ""SIGNOFF". Try HELP.

Does any body know how we sign off

Thanks
Regards,
Sagar

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: HOW DO I SIGN OFF FROM THIS LIST

2000-05-03 Thread Jean de Lavarene

All commands must  be sent to the "LISTSERV  address,"
[EMAIL PROTECTED]


You may  leave the list at  any time by sending  a "SIGNOFF JSP-INTEREST"
command to [EMAIL PROTECTED]

Regards,

Jean




- Original Message -
From: "Sagar Ratnakara Nikam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 03, 2000 11:30 AM
Subject: HOW DO I SIGN OFF FROM THIS LIST


> Hi,
> Can anybody tell me how do we sign off from this mailing list.
> I have been trying it by sending a mail to [EMAIL PROTECTED] with body
> "signoff JSP-INTEREST" .
> I am getting a mail from the listserver with error message
>
> Unknown command - ""SIGNOFF". Try HELP.
>
> Does any body know how we sign off
>
> Thanks
> Regards,
> Sagar
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



HOW DO I SIGN OFF FROM THIS LIST

2000-05-03 Thread Sagar Ratnakara Nikam

Hi,
Can anybody tell me how do we sign off from this mailing list.
I have been trying it by sending a mail to [EMAIL PROTECTED] with body
"signoff JSP-INTEREST" .
I am getting a mail from the listserver with error message

Unknown command - ""SIGNOFF". Try HELP.

Does any body know how we sign off

Thanks
Regards,
Sagar

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



how do I make Apache to start JSP?

2000-04-30 Thread Howard Lee

Hi guys,

My opening page is a JSP file, and I'm using Apache and Tomcat (for now). I
would like to know how to configure Apache and Tomcat so that Apache starts
up this opening JSP page. (Apache looks for index.html) Any idea? Thanks
alot!

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: URGENT : How do i extend a JSP page ?

2000-04-27 Thread Paul Holser

hi all...

for those of you into servlet engine/JSP page compilation
implementation: name some of the performance tweaks that can be
lost by using the "extends" directive?  what about the "implements"
directive of JSP 0.9x?

thanks for the info,
p

--
// Paul Holser (mailto:[EMAIL PROTECTED])
// ObjectSpace, Inc.
// The Leader in Business-to-Business Solutions
// http://www.objectspace.com

> -Original Message-
> From: Jim Bailey [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 27, 2000 11:09 AM
> To: [EMAIL PROTECTED]
> Subject: Re: URGENT : How do i extend a JSP page ?
>
>
> Here is what we are doing at Cambridge Interactive with
> Resin.  It works
> correctly though it bypasses Resin's optimizations. We are
> porting from a
> JSP 0.91 version though so we are willing to take that hit
> (temporarily I
> hope). It isn't a recommended design though. You could be
> losing a lot of
> performance tweaks by using the extends page directive with JSP 1.x.
>
> public abstract class CIServlet
>   extends javax.servlet.http.HttpServlet
>   implements HttpJspPage, SingleThreadModel
> {
>   public abstract void _jspService(
>  HttpServletRequest request,
>  HttpServletResponse response )
> throws ServletException, IOException;
>
>   public void jspDestroy()
>   {
>   }
>
>   public void jspInit()
>   {
>   }
>
>   public synchronized void service(
>  HttpServletRequest request,
>  HttpServletResponse response )
> throws ServletException, IOException
>   {
> _jspService( request, response );
>   }
> }
>
> Jim Bailey
> <mailto:[EMAIL PROTECTED]>
> <http://www.cinteractive.com>
>
> -Original Message-
> From: Ñarendra Acharya [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 27, 2000 10:02 AM
> To: [EMAIL PROTECTED]
> Subject: URGENT : How do i extend a JSP page ?
>
>
> Hi everybody,
>
> I'm trying to extend my own class using a JSP.
> The spec says that the superclass:
> 1. should implement HttpJspPage
> 2. al the methods in the Servlet interface are declared final
>
> additionally, JSP author should have in the superclass :
> - the service() method of the Servlet API invoke the _jspService()
> - init(ServletConfig) method stores the configuration, makes it =
> available as getServletConfig, then invokes jspInt
> - the destroy() method invokes jspDestroy
>
> now i'm using JRUN and i just checked out the .java file
> created by it :
> it has the following signature:
> public class myacct extends com.livesoftware.jsp.HttpJSPServlet =
> implements com.livesoftware.jsp.JRunJspPage, HttpJspPage=20
> Can somebody please tell me if i have to have my own superclass :
> 1. What class should my super class extend ? (in the context
> of using =
> JRUN)
> 2. what classes should my super class implement ? (in the context of =
> using JRUN)
> 3. What should be there in the init()/destroy() method ? (in
> the context =
> of using JRUN)
> 3.1 by default
> 3.1 in case i don't have to initialize/destroy any objects for my =
> project
>
> Many thanx in advance
>
> regards
> narendra
> P.S. i tried to send this mail twice using Outlook Express but it was
> returned back
> saying that this mail contained an attachment ..??? anybody
> know if Outlook
> Express somehow "attaches" anything ?
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: URGENT : How do i extend a JSP page ?

2000-04-27 Thread Jim Bailey

Here is what we are doing at Cambridge Interactive with Resin.  It works
correctly though it bypasses Resin's optimizations. We are porting from a
JSP 0.91 version though so we are willing to take that hit (temporarily I
hope). It isn't a recommended design though. You could be losing a lot of
performance tweaks by using the extends page directive with JSP 1.x.

public abstract class CIServlet
  extends javax.servlet.http.HttpServlet
  implements HttpJspPage, SingleThreadModel
{
  public abstract void _jspService(
 HttpServletRequest request,
 HttpServletResponse response )
throws ServletException, IOException;

  public void jspDestroy()
  {
  }

  public void jspInit()
  {
  }

  public synchronized void service(
 HttpServletRequest request,
 HttpServletResponse response )
throws ServletException, IOException
  {
_jspService( request, response );
  }
}

Jim Bailey
<mailto:[EMAIL PROTECTED]>
<http://www.cinteractive.com>

-Original Message-
From: Ñarendra Acharya [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 10:02 AM
To: [EMAIL PROTECTED]
Subject: URGENT : How do i extend a JSP page ?


Hi everybody,

I'm trying to extend my own class using a JSP.
The spec says that the superclass:
1. should implement HttpJspPage
2. al the methods in the Servlet interface are declared final

additionally, JSP author should have in the superclass :
- the service() method of the Servlet API invoke the _jspService()
- init(ServletConfig) method stores the configuration, makes it =
available as getServletConfig, then invokes jspInt
- the destroy() method invokes jspDestroy

now i'm using JRUN and i just checked out the .java file created by it :
it has the following signature:
public class myacct extends com.livesoftware.jsp.HttpJSPServlet =
implements com.livesoftware.jsp.JRunJspPage, HttpJspPage=20
Can somebody please tell me if i have to have my own superclass :
1. What class should my super class extend ? (in the context of using =
JRUN)
2. what classes should my super class implement ? (in the context of =
using JRUN)
3. What should be there in the init()/destroy() method ? (in the context =
of using JRUN)
3.1 by default
3.1 in case i don't have to initialize/destroy any objects for my =
project

Many thanx in advance

regards
narendra
P.S. i tried to send this mail twice using Outlook Express but it was
returned back
saying that this mail contained an attachment ..??? anybody know if Outlook
Express somehow "attaches" anything ?

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



URGENT : How do i extend a JSP page ?

2000-04-27 Thread Ñarendra Acharya

Hi everybody,

I'm trying to extend my own class using a JSP.
The spec says that the superclass:
1. should implement HttpJspPage
2. al the methods in the Servlet interface are declared final

additionally, JSP author should have in the superclass :
- the service() method of the Servlet API invoke the _jspService()
- init(ServletConfig) method stores the configuration, makes it =
available as getServletConfig, then invokes jspInt
- the destroy() method invokes jspDestroy

now i'm using JRUN and i just checked out the .java file created by it :
it has the following signature:
public class myacct extends com.livesoftware.jsp.HttpJSPServlet =
implements com.livesoftware.jsp.JRunJspPage, HttpJspPage=20
Can somebody please tell me if i have to have my own superclass :
1. What class should my super class extend ? (in the context of using =
JRUN)
2. what classes should my super class implement ? (in the context of =
using JRUN)
3. What should be there in the init()/destroy() method ? (in the context =
of using JRUN)
3.1 by default
3.1 in case i don't have to initialize/destroy any objects for my =
project

Many thanx in advance

regards
narendra
P.S. i tried to send this mail twice using Outlook Express but it was returned back
saying that this mail contained an attachment ..??? anybody know if Outlook
Express somehow "attaches" anything ?

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



[RE]How do I use RMI in JSP

2000-04-13 Thread ¹Ú¼º¼ö

I think that it is security manager in RMI.

You have to setting up secutiry manager.

In case of application,

C:\>java -Djava.security.policy=java.policy 


### java.policy

grant {
permission java.security.AllPermission;
};


In case of applet, you don't warry.  Because of that is already setting up security 
policy.

but in jsp ...??? T.T

In case of JSP,  I suggest modify java.policy file.

Edit C:\>jdk1.2.2(jdk home directory)\jre\lib\security\java.policy

and then add permission java.security.AllPermission;

see in below

grant {
// Allows any thread to stop itself using the java.lang.Thread.stop()
.
.
 // ¾Æ·¡ÀÇ ÁÙÀ» ÷°¡Çϼ¼¿ä.
permission java.security.AllPermission;
};



-> ¹ÞÀº ¸ÞÀÏ ³»¿ë <--
>From : ±èÁø¹Î <[EMAIL PROTECTED]>
>>I am testing rmi in JSP.
>>Jsp engine is jswk1-0.
>>But I got Security error.
>>How do I use RMI in JSP?
>>
>>
>>ÇÑ ¹ø °¡ÀÔÇÏ¸é ¸ÞÀÏ + ȨÆäÀÌÁö + µ¿È£È¸¸¦ Æò»ý ¹«·á·Î !
>>  Lycos Korea Inc.
>>  http://www.lycos.co.kr
>>
>>
>>===
>>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>>Some relevant FAQs on JSP/Servlets can be found at:
>>
>> http://java.sun.com/products/jsp/faq.html
>> http://www.esperanto.org.nz/jsp/jspfaq.html
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>


==
No. 1 ¿ì¸® ÀÎÅͳÝ, Daum
Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼­ºñ½º Daum FIREBALL
http://www.daum.net

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I use RMI in JSP

2000-04-13 Thread ±èÁø¹Î

I am testing rmi in JSP.
Jsp engine is jswk1-0.
But I got Security error.
How do I use RMI in JSP?


ÇÑ ¹ø °¡ÀÔÇÏ¸é ¸ÞÀÏ + ȨÆäÀÌÁö + µ¿È£È¸¸¦ Æò»ý ¹«·á·Î !
  Lycos Korea Inc.
  http://www.lycos.co.kr


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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I link Tomcat to IIS

2000-04-12 Thread Cogley, Jonathan

See

http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/etc/tomcat-iis-how
to.html

Select the "as text" option!

Regards,
Jonathan



-Original Message-
From: David Kao [mailto:[EMAIL PROTECTED]]
Sent: 12 April, 2000 12:38 PM
To: [EMAIL PROTECTED]
Subject: How do I link Tomcat to IIS


I saw the instructions to link Tomcat to Apache server, but I am wondering
if I can link Tomcat to IIS and am desperate to learn how.

David Kao

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I link Tomcat to IIS

2000-04-12 Thread David Kao

I saw the instructions to link Tomcat to Apache server, but I am wondering
if I can link Tomcat to IIS and am desperate to learn how.

David Kao

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I install Servlets within my web application?

2000-04-10 Thread Xunming Liu

Hi there:

My system is SDK1.2.2 and JSWDK1.0.1.

I want to install and run my Servlets file. according to JSP FAQ item:

"How do I install Servlets within my web application?
3. Activate the newly installed Servlet by registering (adding) the
servlet in the
WEBAPP/WER-INF/servlets.properties file. SEE the
Examples/WEB-INF/servlets file for
an example."

I checked the servlets.properties file, but I still don't know how to do
it. Any one
can help me about that?

If  I add   test1.java and test1.class files

to WEBAPP/WEB-INF/servlets directory. How I add the servlet in the
*.properties?

The *.properties file is like that

**
# $Id: servlets.properties,v 1.3.2.2 1999/07/27 00:52:13 mandar Exp $

# Define servlets here

# .code=
# .initparams=,
# .code=
# .initparams=,

#snoop.code=SnoopServlet
#snoop.initparams=initarg1=foo,initarg2=bar
cookie.code=CookieExample
cookie.initparams=foo
jsp.code=com.sun.jsp.runtime.JspServlet
jsp.initparams=keepgenerated=true
jts.code=servletToJsp
jts.initparams=foo
*

Xunming

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I install Servlets within my web application?

2000-04-01 Thread Xunming Liu

Hi all:

I 've just installed SDK1.2.2 and JSWDK1.0.1 and just learn the servlets and jsp.


I want to install and run my Servlets file. according to JSP FAQ item:
How do I install Servlets within my web application?
3. Activate the newly installed Servlet by registering (adding) the servlet in the
WEBAPP/WER-INF/servlets.properties file. SEE the Examples/WEB-INF/servlets file for
an example.

I checked the servlets.properties file, but I still don't know how to do it. Any one
can help me about that?

If  I add   test1.java and test1.class files

to WEBAPP/WEB-INF/servlets directory. How I add the servlet in the *.properties?

The *.properties file is like that

**
# $Id: servlets.properties,v 1.3.2.2 1999/07/27 00:52:13 mandar Exp $

# Define servlets here

# .code=
# .initparams=,
# .code=
# .initparams=,

#snoop.code=SnoopServlet
#snoop.initparams=initarg1=foo,initarg2=bar
cookie.code=CookieExample
cookie.initparams=foo
jsp.code=com.sun.jsp.runtime.JspServlet
jsp.initparams=keepgenerated=true
jts.code=servletToJsp
jts.initparams=foo
*

Your assistance will be very much appreciated.

Xunming

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I get started with JSP on a Macintosh

2000-02-04 Thread Mark Andrew Nassy

Hi,

Is there a digest version of this list?




MY PROBLEM:
I followed the instructions on:

http://www.esperanto.org.nz/jsp/jspfaq.html#q42>

but I get a 404 file not found error message when I connect to

http://127.0.0.1:8080>

with ms ie.



MY SOFTWARE AND HARDWARE:
(1) g3 upgrade 8600,
(2) Mac OS 9,
(3) MRJ SDK version 2.2,

ftp://ftp.apple.com/developer/Development_Kits/MRJ_SDK_2.2_Install.sit.
hqx>

(4) MRJ Installer version 2.2,

ftp://ftp.apple.com/developer/Java/MRJ_2.2_Installer.sit.hqx>.

(5) JavaServer WDK version 1.0 for ms windows 95/NT,

http://java.sun.com/products/jsp/download.html>.



MY METHOD:
(1) I followed the instruction on the JSP FAQ web page with a couple of
exceptions. They are:

I used MRJ 2.2 and MRJ SDK 2.2,

I used JavaServer WDK version 1.0 final version,

I added xml.jar from the lib folder and not jsp.jar (I was unable to locate
a jsp.jar file in the JavaServer WDK).

I could not locate the default.cfg file so I did not change the default
port.

(2) I connect to http://127.0.0.1:8080>. Open Transport was set to an
ethernet adapter and the IP address was set manually to 192.168.1.1.



MY RESULTS:
(1) the web browser generates a 404 error message with the text file not
found.

(2) The web server generates the following message in the console:
JSWDK WebServer Version 1.0.1
Loaded configuration from: file:/MacintoshHD/Incoming/webserver.xml
endpoint created: localhost/127.0.0.1:8080
com.sun.web.core.DefaultServlet: init
HANDLER THREAD PROBLEM: java.io.IOException: OpenTransport error -1; Socket
has already been closed
java.io.IOException: OpenTransport error -1; Socket has already been closed
at java.net.PlainSocketImpl.available(PlainSocketImpl.java)
at java.net.SocketInputStream.available(SocketInputStream.java)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:162)



DISCUSSION:
I am new to JSP and was hoping to install it on my macintosh to help me
learn. If anyone has any suggestions how I may get this to work they would
be appreciated.

Thanks.


--
Mark Andrew Nassy, mailto:[EMAIL PROTECTED]>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: How do i detect browser instance being closed?

2000-01-28 Thread Richard Vowles

You cannot detect a browser being closed, you can only detect a timeout. And
for that, check the FAQ.

- Original Message -
From: sachin pikle <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 27, 2000 9:48 PM
Subject: How do i detect browser instance being closed?


> Hi,
>
> I want to detect browser instance being closed so that I can delete data
>
> from my temporary table that is maintained for each session.
>
> In ASP we have something like session on end is there something similar
> in JSP.
>
> Reply ASAP.
> Thanks,
> Kiran
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



  1   2   >