Re: Limiting user entered value

2000-07-31 Thread Oren Klichevsky

You should use javascript on your HTML form.


Best Regards,
Oren Klichevsky
www.mannainc.com 



-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of praveen reddy
Sent: Thursday, July 27, 2000 9:40 PM
To: [EMAIL PROTECTED]
Subject: Limiting user entered value


Hi,

I want some sample code which limits user from
entering only 2 digits after the decimal value in a
text box.
Please help me with this if anybody knows how to limit
from entering more than 2 decimal values.

Thanks & rgds,
Praveen.

__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.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

===
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: problem with msacess

2000-07-31 Thread Ionel Condor

MSAccess keeps its info in winnt\catroot directory.
Open that database and in options select to show also the system tables.
There is a table which contains accounts.
The mdb is called lcatalog.mdb.

Ciao,
Ionel.

Srinivas Rao Eadhara wrote:

> I have a typical problem , I am using MS-acess as database in one of the
> application.  Some body set the password for the database, Now I am unable
> to acess that database, please suggest me how to bipass or break that
> password
>
> ===
> 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



changing http header

2000-07-31 Thread Stephen Toner

Hi,
I'm trying to refresh a page using a javascript function, but want to change
the accept-language parameter in the HTTP header to a value specified in a
form on the page.  I can't seem to find any way to do this in Javascript.
Does anyone know how to do this?

Thanks,
Stephen

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



Referrer URL

2000-07-31 Thread Richard Brooks/JHC

Is it possible to get the url of the referring page, that is, the page
before this one ?  I thought this was possible when I previously used
isapi.

What I am trying to do is to put a 'retry' link on my error page, and more
importantly to log the url of the page that generated the error.

thanks,
Richard

===
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: Referrer URL

2000-07-31 Thread TODD HARNEY

In Javascript it is like this...

window.history.back()

Hope this helps...

>>> [EMAIL PROTECTED] 7/31/00 7:34 >>>
Is it possible to get the url of the referring page, that is, the page
before this one ?  I thought this was possible when I previously used
isapi.

What I am trying to do is to put a 'retry' link on my error page, and more
importantly to log the url of the page that generated the error.

thanks,
Richard

===
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: problem with msacess

2000-07-31 Thread Jaspreet Singh

catroot directory is present in only Windows98 OS not in Windows NT.


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ionel Condor
Sent: Monday, July 31, 2000 5:01 PM
To: [EMAIL PROTECTED]
Subject: Re: problem with msacess


MSAccess keeps its info in winnt\catroot directory.
Open that database and in options select to show also the system tables.
There is a table which contains accounts.
The mdb is called lcatalog.mdb.

Ciao,
Ionel.

Srinivas Rao Eadhara wrote:

> I have a typical problem , I am using MS-acess as database in one of the
> application.  Some body set the password for the database, Now I am unable
> to acess that database, please suggest me how to bipass or break that
> password
>
>
===
> 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: Connection to a database - failure

2000-07-31 Thread Suriya Narayan Varatharajan

hello give the try block with in the function or make it as static...
it will work..
try and let me know...

regards
suriya
*Q  try for everything Q*

Suriya narayanan V
Software Engineer
Contech Software Ltd
E-3/1,2,3, GIDC Electronics Estate,
Sector - 25, Gandhinagar - 382 044, INDIA
Tel.: +91(2712) 44989/43324/43328
(R)  : 91 - 79 - 6746164
fax:+91 (2712) 24468

Email :[EMAIL PROTECTED],[EMAIL PROTECTED]
URL   : http://www.contechgroup.com
HomePage : http://www.suriyan.org



-Original Message-
From:   Marcel van Kooy [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, July 31, 2000 3:32 PM
To: [EMAIL PROTECTED]
Subject:Connection to a database - failure

Hi all,

Can somebody please help me with this problem.
When I compile this source-code, for making a connection to a database,
I'll receive the error "type expected" in the first TRY-statement.
How can I solve this and what does it mean?
Thanks,
Marcel van Kooy

import java.sql.*;

public class TestBean {

try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
}

catch( Exception e ) {
System.out.println("Failed to load JdbcOdbcDriver.");
return;
}

try {
Connection con =
DriverManager.getConnection("jdbc:odbc:Studio_Bezoekers", "", "");
Statement select = con.createStatement();
ResultSet result = select.executeQuery
("...A query...");

===
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: Referrer URL

2000-07-31 Thread Richard Brooks/JHC

thanks, that will work for my back link

But
in order to be able to log the url of the page that the error occurred in I
need to get access to it in the jsp code that runs on the server, so
javascript is no good




TODD HARNEY
 cc:
Sent by: A   Fax to:
mailing list Subject: Re: Referrer URL
about Java Server
Pages
specification and
reference



31/07/00 13:05
Please respond to
A mailing list
about Java Server
Pages
specification and
reference





In Javascript it is like this...

window.history.back()

Hope this helps...

>>> [EMAIL PROTECTED] 7/31/00 7:34 >>>
Is it possible to get the url of the referring page, that is, the page
before this one ?  I thought this was possible when I previously used
isapi.

What I am trying to do is to put a 'retry' link on my error page, and more
importantly to log the url of the page that generated the error.

thanks,
Richard

===
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: Writing long strings in Oracle

2000-07-31 Thread wayne allison

Jose,

  If you are getting an exception raised by Java, your
error should be on the Java side of the equation.

  Oracle 8i database "Longs" are up to 2 gig, but you
have to get into the database column.  What does Java
support for a long?  What version of Oracle are you
using?  What are you using on the Java side [front
end]?

  If you are on 8i [I hope], you should investigate
LOB types.

Sincerely,

Wayne Allison


--- Jaspreet Singh <[EMAIL PROTECTED]> wrote:
> Hi Jose,
>
> Send us the exception raised by the JDBC exception.
> Theoratically it should
> support as you said.
>
>
>
> Jaspreet Singh
>
> -Original Message-
> From: A mailing list about Java Server Pages
> specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of José
> Antonio Quiles
> Sent: Monday, July 31, 2000 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: Writing long strings in Oracle
>
>
> Hello,
> we are trying to insert a huge string in an Oracle
> LONG field via JDBC; we
> are using PreparedStatement.setString().
> However, when the string length is longer than 2000
> characters, a JDBC
> exception is raised.
> We thought that Oracle LONG field supports any
> string length...
> What is the problem?
>
> Thank you in advance,
>
> Jose Antonio Quiles
> Telefonica I+D
> Madrid, Spain
>
>
===
> 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


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.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



JSP and frames

2000-07-31 Thread Steingoetter, Jochen

I'm using JSPs within frames and now I'm confronted with a strange behaviour
by IE 5 (seem to work right in Netscape).

In one of the frames my JSP runs a query with the help of a JavaBean and
displays the result in form of a table. The result is
returned in chunks of about 15 rows at a time (determined by a parameter
passed to the bean). The next block of rows is called
by requesting the same page with increased parameter. This works fine and
the page is always generated completely but the
browser seems to still to wait for one item (don't know what item, 'cause
pages looks complete and works fine). With every further
call of this page the number of items the browser seems to wait for is
increased by one.
Same JSP run without frames or in Netscape works without that behaviour.

Does anybody have any idea what causes this behaviour.
Any help is highly appreciated.

Thanks

Jochen

===
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: JSP editor

2000-07-31 Thread Juergen Mayrbaeurl

Forte for Java CE has a really nice editor for Java Server Pages.

Greetings
Juergen





"Varadharajan.K.V,AMB Chennai" <[EMAIL PROTECTED]> on 29.07.2000
12:14:07

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

To:   [EMAIL PROTECTED]
cc:(bcc: Juergen Mayrbaeurl/PLZ/CSC)

Subject:  JSP editor



Hi all,

i would like to know some JSP editor with syntax coloring.
please help.

Thanks n rgds
Varad

===
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: Connection to a database - failure

2000-07-31 Thread Atchutarao Killamsetty

public class TestBean {

should be replaced by

public class TestBean throws IOException, ClassNotFoundException {

/* Note : add the exceptions that my be thrown if . */


With regards,
Atchutarao Killamsetty,
http://karao.tripod.com/myjava.html


-Original Message-
From: Marcel van Kooy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, July 31, 2000 7:24 PM
Subject: Connection to a database - failure


>Hi all,
>
>Can somebody please help me with this problem.
>When I compile this source-code, for making a connection to a database,
>I'll receive the error "type expected" in the first TRY-statement.
>How can I solve this and what does it mean?
>Thanks,
>Marcel van Kooy
>
>import java.sql.*;
>
>public class TestBean {
>
>try {
>Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
>}
>
>catch( Exception e ) {
>System.out.println("Failed to load JdbcOdbcDriver.");
>return;
>}
>
>try {
>Connection con =
>DriverManager.getConnection("jdbc:odbc:Studio_Bezoekers", "", "");
>Statement select = con.createStatement();
>ResultSet result = select.executeQuery
>("...A query...");
>
>===
>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: JSP Books

2000-07-31 Thread Atchutarao Killamsetty

Check free online books section and Books section at
http://karao.tripod.com/myjava.html

With regards,
Atchutarao Killamsetty,
http://karao.tripod.com/myjava.html

-Original Message-
From: Luc Saint-Elie <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, July 31, 2000 6:44 PM
Subject: Re: JSP Books


>>I have to learn JSP in my work. Can you send me
>>a e-book about this subject.
>
>The are currently none eBook available.
>One projetc has been laucnched but seem to lack support (and
>this is a pitty).
>
>If you want books they are now a lot available (have a look
>at the book section at
http://www.interpasnet.com/JSS
>
>If you want other ressources you may want ot have a look
>at :
>- http://www.interpasnet.com/JSS
>- http://www.jspin.com
>- http://www.jsptags.com
>- http://www.jguru.com
>
>and by the way http://java.sun.com 
>Among others...
>
>Hope this helps
>
>
>
>Servlet's Taverne
>  http://www.interpasnet.com/JSS
>
>
>===
>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



UNSUBSCRIBE

2000-07-31 Thread Max Jakobs


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



Where is the dtd for jsp

2000-07-31 Thread Alex Amies

Does anyone know where the dtd for jsp is?  I am looking
into making an wyswyg xml based editor for jsp pages to
graphically manipulate custom tags that we are making for
our product.  Is there anyone else out there trying to do
anything like this?

Alex Amies

===
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: Writing long strings in Oracle

2000-07-31 Thread Thor Heinrichs-Wolpert

1. do not use LONG, use CLOB instead.
2. look at the examples that come with Oracle for writing CLOBs via JDBC
3. copy/paste it into your code.

Thor HW
- Original Message -
From: "José Antonio Quiles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 31, 2000 12:42 AM
Subject: Writing long strings in Oracle


> Hello,
> we are trying to insert a huge string in an Oracle LONG field via JDBC; we
> are using PreparedStatement.setString().
> However, when the string length is longer than 2000 characters, a JDBC
> exception is raised.
> We thought that Oracle LONG field supports any string length...
> What is the problem?
>
> Thank you in advance,
>
> Jose Antonio Quiles
> Telefonica I+D
> Madrid, Spain
>
>
===
> 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: Writing long strings in Oracle

2000-07-31 Thread Ellis Miller

You should use a CLOB or BLOB. You should also check out Oracle
technet...there is a very good example of loading LOBs using jdbc. The
complete syntax is there. From the technet site, look for "code samples" or
something like that and you will see a link for using jdbc to load a BLOB
CLOB.

Ellis

-Original Message-
From: José Antonio Quiles [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 12:43 AM
To: [EMAIL PROTECTED]
Subject: Writing long strings in Oracle


Hello,
we are trying to insert a huge string in an Oracle LONG field via JDBC; we
are using PreparedStatement.setString().
However, when the string length is longer than 2000 characters, a JDBC
exception is raised.
We thought that Oracle LONG field supports any string length...
What is the problem?

Thank you in advance,

Jose Antonio Quiles
Telefonica I+D
Madrid, Spain

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



jsp:forward

2000-07-31 Thread Raghavendra i Rao

Hi,
 I have a jsp that shows a form (User.jsp)and on submitting the form , it goes to 
another page action.jsp. Now if there is any error in the form (which I check in 
action.jsp), I want to transfer control back to the first jsp page (User.jsp. 
Something like a loop ). I use

in action.jsp to do this ,but this does not display the page User.jsp and a blank 
screen is shown with the url showing the page action.jsp.
 Could somebody please let me know how can I get this accomplished.

In User.jsp I have :
document.rfUserMgmtform.action ="action.jsp";

In action.jsp I have


 It is some kind of a loop behavior. I am using jsp forward since I need to forward 
the request parameters from action.jsp to User.jsp .Any help is highly appreciated.

Thanks in advance.



_
Get Your Free Email At, http://www.rediffmail.com

Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions

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



jsp plugin help

2000-07-31 Thread Brad Miley

I am havaing trouble using the jsp plugin with an applet. I get a class not
found error. Test.class in located in C:/programs/Test.class
here is (part of) the code I'm using
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: Proprtionate String Padding

2000-07-31 Thread B R Nair

Thanks a lot Santosh, Naresh & Richard for your invaluble input.

"Strings are constant; their values cannot be changed after they are
created. String buffers support mutable strings." &  "A string buffer is
like a String, but can be modified."

Whenever I read the above Java lanuage documentation, I am a lot more
confused.
If a string is constant, I should not be able to change its value after it's
created. But I can change the value of the string at my will (My experiments
show it *). Then, why we should we use StringBuffer instead of string when
both give the same result?


Thanks and regards
BRN.

*
public class Strpad
{
public static void main(String[] Arg)
{
  String s = "String";
  String a = s;
  String b = "Buffer";
  String m = "mutable";
  String p = "padding -> ";
  String c = s+ " " + p;
  for (int i = 1;i<11;i++)
   c = c + i;
  System.out.println(c);
  System.out.println();
  StringBuffer sb = new StringBuffer(s+b+" "+p);
  for(int i=1;i<11;i++)
   sb.append(i);
  String d = sb.toString();
  System.out.println(d);
  System.out.println();
  a = a + " is (not) " + m + "?";
  System.out.println(a);
}
}

===
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: jsp plugin help

2000-07-31 Thread Naresh Thawani

try
codebase="C:/programs/Test.class"

-Original Message-
From: Brad Miley [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 12:45 PM
To: [EMAIL PROTECTED]
Subject: jsp plugin help


I am havaing trouble using the jsp plugin with an applet. I get a class not
found error. Test.class in located in C:/programs/Test.class
here is (part of) the code I'm using
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

===
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: jsp:forward

2000-07-31 Thread Hans Bergsten

Raghavendra i Rao wrote:
>
> Hi,
>  I have a jsp that shows a form (User.jsp)and on submitting the form , it goes to 
>another page action.jsp. Now if there is any error in the form (which I check in 
>action.jsp), I want to transfer control back to the first jsp page (User.jsp. 
>Something like a loop ). I use
> 
> in action.jsp to do this ,but this does not display the page User.jsp and a blank 
>screen is shown with the url showing the page action.jsp.
>  Could somebody please let me know how can I get this accomplished.
>
> In User.jsp I have :
> document.rfUserMgmtform.action ="action.jsp";
>
> In action.jsp I have
> 
>
>  It is some kind of a loop behavior. I am using jsp forward since I need to forward 
>the request parameters from action.jsp to User.jsp .Any help is highly appreciated.

This should work, assuming you're using a JSP 1.0/1.1 container (as opposed to a
0.9x
container). If you are using 1.0/1.1, it sounds like a bug in the JSP container.
Which one is it?

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



Re: Proprtionate String Padding

2000-07-31 Thread Naresh Thawani

That is true for Java but not for javascript.

Did you get over the problem.

-Original Message-
From: B R Nair [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 30, 2000 10:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Proprtionate String Padding


Thanks a lot Santosh, Naresh & Richard for your invaluble input.

"Strings are constant; their values cannot be changed after they are
created. String buffers support mutable strings." &  "A string buffer is
like a String, but can be modified."

Whenever I read the above Java lanuage documentation, I am a lot more
confused.
If a string is constant, I should not be able to change its value after it's
created. But I can change the value of the string at my will (My experiments
show it *). Then, why we should we use StringBuffer instead of string when
both give the same result?


Thanks and regards
BRN.

*
public class Strpad
{
public static void main(String[] Arg)
{
  String s = "String";
  String a = s;
  String b = "Buffer";
  String m = "mutable";
  String p = "padding -> ";
  String c = s+ " " + p;
  for (int i = 1;i<11;i++)
   c = c + i;
  System.out.println(c);
  System.out.println();
  StringBuffer sb = new StringBuffer(s+b+" "+p);
  for(int i=1;i<11;i++)
   sb.append(i);
  String d = sb.toString();
  System.out.println(d);
  System.out.println();
  a = a + " is (not) " + m + "?";
  System.out.println(a);
}
}

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

2000-07-31 Thread Naresh Thawani

Request parms need to be stored in the  session and retreived for next
session/jsp.

also make sure both the jsp are in same path.

-Original Message-
From: Raghavendra i Rao [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 12:31 PM
To: [EMAIL PROTECTED]
Subject: jsp:forward


Hi,
 I have a jsp that shows a form (User.jsp)and on submitting the form , it
goes to another page action.jsp. Now if there is any error in the form
(which I check in action.jsp), I want to transfer control back to the first
jsp page (User.jsp. Something like a loop ). I use

in action.jsp to do this ,but this does not display the page User.jsp and a
blank screen is shown with the url showing the page action.jsp.
 Could somebody please let me know how can I get this accomplished.

In User.jsp I have :
document.rfUserMgmtform.action ="action.jsp";

In action.jsp I have


 It is some kind of a loop behavior. I am using jsp forward since I need to
forward the request parameters from action.jsp to User.jsp .Any help is
highly appreciated.

Thanks in advance.



_
Get Your Free Email At, http://www.rediffmail.com

Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions

===
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: [Re: Proprtionate String Padding]

2000-07-31 Thread abhishek shodhan

Java Strings are not advisable as far as possible as each new String Object
will need to be Created in the Memory, and hence will slow down the
Application/Page. and considering that we are programming on the web, we might
assume that we would get a lot of Hits on the JSP page. That will create even
more Threads of Code, and hence even more String Objects.

String Buffers, on the other hand are easier to manage and Easier on the
Server.

Why do you need to Pad the String anyway? Just thinking... why not Trim it?
(String.trim())

Love Always,
Abhishek Shodhan.


B R Nair <[EMAIL PROTECTED]> wrote:
Thanks a lot Santosh, Naresh & Richard for your invaluble input.

"Strings are constant; their values cannot be changed after they are
created. String buffers support mutable strings." &  "A string buffer is
like a String, but can be modified."

Whenever I read the above Java lanuage documentation, I am a lot more
confused.
If a string is constant, I should not be able to change its value after it's
created. But I can change the value of the string at my will (My experiments
show it *). Then, why we should we use StringBuffer instead of string when
both give the same result?


Thanks and regards
BRN.

*
public class Strpad
{
public static void main(String[] Arg)
{
  String s = "String";
  String a = s;
  String b = "Buffer";
  String m = "mutable";
  String p = "padding -> ";
  String c = s+ " " + p;
  for (int i = 1;i<11;i++)
   c = c + i;
  System.out.println(c);
  System.out.println();
  StringBuffer sb = new StringBuffer(s+b+" "+p);
  for(int i=1;i<11;i++)
   sb.append(i);
  String d = sb.toString();
  System.out.println(d);
  System.out.println();
  a = a + " is (not) " + m + "?";
  System.out.println(a);
}
}

===
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 free email and a permanent address at http://www.amexmail.com/?A=1

===
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: jsp:forward

2000-07-31 Thread TODD HARNEY

Sounds like the web server cannot find your User.jsp file and it is forwarding to what 
it knows...nothing! Is there maybe an issue with where the files are located in 
relation to each other...same directory, different directory?

>>> [EMAIL PROTECTED] 7/31/00 1:31 >>>
Hi,
 I have a jsp that shows a form (User.jsp)and on submitting the form , it goes to 
another page action.jsp. Now if there is any error in the form (which I check in 
action.jsp), I want to transfer control back to the first jsp page (User.jsp. 
Something like a loop ). I use

in action.jsp to do this ,but this does not display the page User.jsp and a blank 
screen is shown with the url showing the page action.jsp.
 Could somebody please let me know how can I get this accomplished.

In User.jsp I have :
document.rfUserMgmtform.action ="action.jsp";

In action.jsp I have


 It is some kind of a loop behavior. I am using jsp forward since I need to forward 
the request parameters from action.jsp to User.jsp .Any help is highly appreciated.

Thanks in advance.



_
Get Your Free Email At, http://www.rediffmail.com

Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions

===
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: jsp plugin help

2000-07-31 Thread TODD HARNEY

Is the codebase attribute relative to the web server root? If so, this won't work.

>>> [EMAIL PROTECTED] 7/31/00 1:44 >>>
I am havaing trouble using the jsp plugin with an applet. I get a class not
found error. Test.class in located in C:/programs/Test.class
here is (part of) the code I'm using
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

===
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: jsp plugin help

2000-07-31 Thread Naresh Thawani

Sure Todd is right.

That is the problem.

-Original Message-
From: TODD HARNEY [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 1:12 PM
To: [EMAIL PROTECTED]
Subject: Re: jsp plugin help


Is the codebase attribute relative to the web server root? If so, this won't
work.

>>> [EMAIL PROTECTED] 7/31/00 1:44 >>>
I am havaing trouble using the jsp plugin with an applet. I get a class not
found error. Test.class in located in C:/programs/Test.class
here is (part of) the code I'm using
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

===
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: Proprtionate String Padding

2000-07-31 Thread Richard Yee

Using a StringBuffer is more efficient than using a String because a
StringBuffer can be appended to.  If a String is used, all of the contents
in the String must be copied each time it is created.  With a StringBuffer,
you re-use the same object as you append to it.  When using a String, you
are creating (and destroying) String objects each time you do an append.
With a StringBuffer, you can also easily do a string insertion.

-Richard

-
-Original Message-
From: B R Nair [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 30, 2000 8:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Proprtionate String Padding


Thanks a lot Santosh, Naresh & Richard for your invaluble input.

"Strings are constant; their values cannot be changed after they are
created. String buffers support mutable strings." &  "A string buffer is
like a String, but can be modified."

Whenever I read the above Java lanuage documentation, I am a lot more
confused.
If a string is constant, I should not be able to change its value after it's
created. But I can change the value of the string at my will (My experiments
show it *). Then, why we should we use StringBuffer instead of string when
both give the same result?


Thanks and regards
BRN.

*
public class Strpad
{
public static void main(String[] Arg)
{
  String s = "String";
  String a = s;
  String b = "Buffer";
  String m = "mutable";
  String p = "padding -> ";
  String c = s+ " " + p;
  for (int i = 1;i<11;i++)
   c = c + i;
  System.out.println(c);
  System.out.println();
  StringBuffer sb = new StringBuffer(s+b+" "+p);
  for(int i=1;i<11;i++)
   sb.append(i);
  String d = sb.toString();
  System.out.println(d);
  System.out.println();
  a = a + " is (not) " + m + "?";
  System.out.println(a);
}
}

===
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: jsp:forward

2000-07-31 Thread Raghavendra i Rao

Hi,

 I am using JSP1.1 and I am implementing this now in Weblogic 5.1 and later planning 
to shift to iplanet.
 The files I use are in the same directory under weblogic\myserver\public\html .

Rao.

- Original Message --
Hans Bergsten <[EMAIL PROTECTED]> wrote:
To:[EMAIL PROTECTED]
From:Hans Bergsten <[EMAIL PROTECTED]>
Date:Mon, 31 Jul 2000 11:03:27 -0700
Subject: Re: jsp:forward

Raghavendra i Rao wrote:
>
> Hi,
>  I have a jsp that shows a form (User.jsp)and on submitting the form , it goes to 
>another page action.jsp. Now if there is any error in the form (which I check in 
>action.jsp), I want to transfer control back to the first jsp page (User.jsp. 
>Something like a loop ). I use
> 
> in action.jsp to do this ,but this does not display the page User.jsp and a blank 
>screen is shown with the url showing the page action.jsp.
>  Could somebody please let me know how can I get this accomplished.
>
> In User.jsp I have :
> document.rfUserMgmtform.action ="action.jsp";
>
> In action.jsp I have
> 
>
>  It is some kind of a loop behavior. I am using jsp forward since I need to forward 
>the request parameters from action.jsp to User.jsp .Any help is highly appreciated.

This should work, assuming you're using a JSP 1.0/1.1 container (as opposed to a
0.9x
container). If you are using 1.0/1.1, it sounds like a bug in the JSP container.
Which one is it?

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

_
Get Your Free Email At, http://www.rediffmail.com

Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions

===
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: Proprtionate String Padding

2000-07-31 Thread Frederik Delacourt

Moreover, a StringBuffer is used for doing the concatenation of two String.
So better save sometime and use the StringBuffer from the beginning.

Frédérik Delacourt
---
"A mind once stretched by a new idea never regains its original
dimension." --Oliver Wendell Holmes

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Richard Yee
Sent: Monday, July 31, 2000 1:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Proprtionate String Padding


Using a StringBuffer is more efficient than using a String because a
StringBuffer can be appended to.  If a String is used, all of the contents
in the String must be copied each time it is created.  With a StringBuffer,
you re-use the same object as you append to it.  When using a String, you
are creating (and destroying) String objects each time you do an append.
With a StringBuffer, you can also easily do a string insertion.

-Richard

-
-Original Message-
From: B R Nair [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 30, 2000 8:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Proprtionate String Padding


Thanks a lot Santosh, Naresh & Richard for your invaluble input.

"Strings are constant; their values cannot be changed after they are
created. String buffers support mutable strings." &  "A string buffer is
like a String, but can be modified."

Whenever I read the above Java lanuage documentation, I am a lot more
confused.
If a string is constant, I should not be able to change its value after it's
created. But I can change the value of the string at my will (My experiments
show it *). Then, why we should we use StringBuffer instead of string when
both give the same result?


Thanks and regards
BRN.

*
public class Strpad
{
public static void main(String[] Arg)
{
  String s = "String";
  String a = s;
  String b = "Buffer";
  String m = "mutable";
  String p = "padding -> ";
  String c = s+ " " + p;
  for (int i = 1;i<11;i++)
   c = c + i;
  System.out.println(c);
  System.out.println();
  StringBuffer sb = new StringBuffer(s+b+" "+p);
  for(int i=1;i<11;i++)
   sb.append(i);
  String d = sb.toString();
  System.out.println(d);
  System.out.println();
  a = a + " is (not) " + m + "?";
  System.out.println(a);
}
}

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



Scanner

2000-07-31 Thread Philip Moschovas

Hi, I'm doing a web project using a hand held scanner that reads barcodes.
I don't have the scanner yet and I was wondering if anyone has any
experience with one of these.  I need to know what sort of event is
triggered when the barcode is scanned into a textbox.  I need to get a jump
on this project and i'd like to know before hand if possible what event to
code for.

Thanks,
Philip Moschovas

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



Installing Cocoon into JRun 3.0

2000-07-31 Thread Aaron Prohaska

Han anyone successfully installed the Apache Software Foundations Cocoon
with JRun 3.0? I am going to attempt to do this and any help would be
greatly appreciated.

thanks,

Aaron

<<:::..:::...::: Aaron Prohaska :::..:::...:::>>
VerdeSoft Internet Services
mailto:[EMAIL PROTECTED]  http://www.verdesoft.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



Tomcat and Date

2000-07-31 Thread krishna Patel

i am using tomcat, sqlserver 7.0, servlets
it messes up date time

instead of '2000-07-02'
it shows 2002-06-13 in the result set

Code:
 DateSubmited = rs.getDate(i);

It works fine if i use java web server 2.0 with the same servlet.
i have tried to catch field in object etc. nothing works.

any idea why is that happning???
thanks in advance

krishna

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

2000-07-31 Thread Hu Jeff

As far as I know, a barcode scann reads an image and stores the string (The
string is what that image represents). I think you have to download the
barcode info to your computer first.

J.H

-Original Message-
From: Philip Moschovas [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 3:11 PM
To: [EMAIL PROTECTED]
Subject: Scanner


Hi, I'm doing a web project using a hand held scanner that reads barcodes.
I don't have the scanner yet and I was wondering if anyone has any
experience with one of these.  I need to know what sort of event is
triggered when the barcode is scanned into a textbox.  I need to get a jump
on this project and i'd like to know before hand if possible what event to
code for.

Thanks,
Philip Moschovas

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

2000-07-31 Thread Gutman, Larry

I believe it just fills in the text just as if you were typing it in.  At
least that is my experience.  There is no special action that is done.



-Original Message-
From: Hu Jeff [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 4:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Scanner


As far as I know, a barcode scann reads an image and stores the string (The

string is what that image represents). I think you have to download the

barcode info to your computer first.



J.H



-Original Message-

From: Philip Moschovas [mailto:[EMAIL PROTECTED]]

Sent: Monday, July 31, 2000 3:11 PM

To: [EMAIL PROTECTED]

Subject: Scanner





Hi, I'm doing a web project using a hand held scanner that reads barcodes.

I don't have the scanner yet and I was wondering if anyone has any

experience with one of these.  I need to know what sort of event is

triggered when the barcode is scanned into a textbox.  I need to get a jump

on this project and i'd like to know before hand if possible what event to

code for.



Thanks,

Philip Moschovas



===

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

2000-07-31 Thread Louis

I try the hand-held scanner b4, it just like a keyboard but it will
automatically fill in the number for you.


- Original Message -
From: "Gutman, Larry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 31, 2000 10:51 PM
Subject: Re: Scanner


> I believe it just fills in the text just as if you were typing it in.  At
> least that is my experience.  There is no special action that is done.
>
>
>
> -Original Message-
> From: Hu Jeff [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 31, 2000 4:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Scanner
>
>
> As far as I know, a barcode scann reads an image and stores the string
(The
>
> string is what that image represents). I think you have to download the
>
> barcode info to your computer first.
>
>
>
> J.H
>
>
>
> -Original Message-
>
> From: Philip Moschovas [mailto:[EMAIL PROTECTED]]
>
> Sent: Monday, July 31, 2000 3:11 PM
>
> To: [EMAIL PROTECTED]
>
> Subject: Scanner
>
>
>
>
>
> Hi, I'm doing a web project using a hand held scanner that reads barcodes.
>
> I don't have the scanner yet and I was wondering if anyone has any
>
> experience with one of these.  I need to know what sort of event is
>
> triggered when the barcode is scanned into a textbox.  I need to get a
jump
>
> on this project and i'd like to know before hand if possible what event to
>
> code for.
>
>
>
> Thanks,
>
> Philip Moschovas
>
>
>
>
===
>
> 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

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



JSP + Servlets and getLastModified()

2000-07-31 Thread Stuart Maclean

In the HTTPServlet world, the servlet container gives my servlet the
chance build a response based around the '304 Not Modified' message,
via a long valued integer specifying a last modified time
(getLastModified()).  Great stuff, invaluable for servlets which
format some data once and then serve it forever.

Hmm, now I'm into JSP,  if I have a JSP page with static HTML and a
single  of a servlet, there seems no way for the JSP page
implementation class to handle this notion of lastModified().

Hmm, the HttpJspPage doesn't even extend HttpServlet so I guess this
functionality isn't planned?

I have perused the JSP 1.1 spec, nothing.

I'm tempted to wrap all my JSP pages inside servlets, using
requestDispatcher.includes()s, so I'll get the 304 options back...

Anyone any comments?

stu


--
Stuart Maclean, Research Associate
University of Washington
ITS Research Program, College of Engineering
Box 352500
Seattle, WA 98195-2500
Tel: (206) 543-0637
http://www.its.washington.edu

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

2000-07-31 Thread Arun Thomas

Most barcode scans also tend to be number oriented - there are coding
schemes
that allow letters, but the basic translation is into a number.  Your
scanner
will probably be responsible for transforming the barcode into an
(alpha)numeric
string, which will be the value inserted in the web form field by the
scanner.
The event triggered should be no different that when a value is typed into
the
textbox.

-AMT

> -Original Message-
> From: Hu Jeff [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 31, 2000 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Scanner
>
>
> As far as I know, a barcode scann reads an image and stores
> the string (The
> string is what that image represents). I think you have to
> download the
> barcode info to your computer first.
>
> J.H
>
> -Original Message-
> From: Philip Moschovas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 31, 2000 3:11 PM
> To: [EMAIL PROTECTED]
> Subject: Scanner
>
>
> Hi, I'm doing a web project using a hand held scanner that
> reads barcodes.
> I don't have the scanner yet and I was wondering if anyone has any
> experience with one of these.  I need to know what sort of event is
> triggered when the barcode is scanned into a textbox.  I need
> to get a jump
> on this project and i'd like to know before hand if possible
> what event to
> code for.
>
> Thanks,
> Philip Moschovas
>
> ==
> =
> 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: Error in catching Param Variables

2000-07-31 Thread John Luk

You  should also check for nulls on the request.getParameter.  If you are passing
in null values it will give you the error.


"Matthews,Paul" wrote:

> at a guess it is a compiler error cos string should be String...
>
> rgds, Paul
>
> > -Original Message-
> > From: wap@asl [mailto:[EMAIL PROTECTED]]
> > Sent: 25 July 2000 10:05
> > To: [EMAIL PROTECTED]
> > Subject: Error in catching Param Variables
> >
> >
> > Dear All,
> >
> > This is the top part of my jsp.  It is giving 500 Internal
> > server error.  If
> > I remove the last two sentences (variable catchers), the
> > script executes
> > fine.  Any idea what might be wrong?
> >
> > Thanx & Regards,
> >
> > Kaushal.
> >
> > -
> >
> > <% response.setContentType("text/vnd.wap.wml"); %>
> > 
> >  > "http://www.wapforum.org/DTD/wml_1.1.xml">
> >
> > <%@ page import="java.sql.*,java.io.*, java.lang.*,
> > javax.servlet.*,javax.servlet.http.*" %>
> >
> >
> > <%
> > string staffid=request.getParameter("staffid");
> > string password = request.getParameter("password");
> > %>
> >
> > ==
> > =
> > 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: Compilation

2000-07-31 Thread B R Nair

Dear Manish,
Thanks for your input. I changed your first command a little bit because the
first command that you gave me (javac -J-Djavac.pipe.output=true
*.java>error.txt) was not working.

Sorry for disturbing you. Your revised command
javac -J-Djavac.pipe.output=true Hello.java>error.txt
runs but it always gives an empty error.txt, eventhough errors are reported
on the screen. Is it a bug in 1.3 candidate version? I am still using 1.3
candidate version!

Thanks and regards
BRN.

-Original Message-
From: Manish Bijay Kumar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, July 31, 2000 11:42 AM
Subject: Re: Compilation


>Hi BRN,
>The command you used is not correct.
>Command should be..
>javac -J-Djavac.pipe.output=true Hello.java>error.txt
>
>One more thing...
>If you don't have any error in your source code ..still an empty error.txt
>file will be generated.
>
>Just try it out and let me know whether you succeeded.
>
>Manish...
>> --
>> From: B R Nair[SMTP:[EMAIL PROTECTED]]
>> Reply To: A mailing list about Java Server Pages specification and
>> reference
>> Sent: Sunday, July 30, 2000 6:46 PM
>> To:   [EMAIL PROTECTED]
>> Subject:  Re: Compilation
>>
>> Hello Manish,
>>
>> javac Hello.java -J-Djavac.pipe.output=true Hello.java>error.txt
>>
>> does not make any output to error.txt; it makes an empty error.txt
>> Can you please make it working?
>>
>> Control-pannel/console and Buffer-size are not available on my Win 95
>> machine. I hope making the above command workable is the only solution
>> available to me.
>>
>> Thanks
>> BRN.
>>
>>
>> -Original Message-
>> From: Manish Bijay Kumar <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Thursday, July 27, 2000 4:07 PM
>> Subject: Re: Compilation
>>
>>
>> >Hi ruchi..
>> >u can use following command to generate a error log. while changing the
>> >buffer size is also a solution but for me at least this one is more
>> handy.
>> >Suppose I want to compile a xyz.java file. then my command should
be.
>> >javac -J-Djavac.pipe.output=true *.java>error.txt
>> >
>> >where,
>> >xyz.java is the bean you are going to compile.
>> >error.txt is the error log. (you can give any name for this. If you just
>> >give like this error.txt will get generated in your current
>> directory...but
>> >you can specify the path also. Like, C:\myfolder\error.txt) Then command
>> >would look like this..
>> >javac -J-Djavac.pipe.output=true *.java>C:\myfolder\error.txt
>> >
>> >
>> >Manish
>> >
>> >
>> >> --
>> >> From: Ruchi Duggal[SMTP:[EMAIL PROTECTED]]
>> >> Reply To: [EMAIL PROTECTED]
>> >> Sent: Thursday, July 27, 2000 3:09 PM
>> >> To:   [EMAIL PROTECTED]
>> >> Subject:  Re: Compilation
>> >>
>> >> Go to control panel...
>> >> click on console
>> >> and change the layout screen buffer size and then
>> check...
>> >>
>> >>
>> >> -Original Message-
>> >> From: A mailing list about Java Server Pages specification and
>> reference
>> >> [mailto:[EMAIL PROTECTED]]On Behalf Of B R Nair
>> >> Sent: 26 July 2000 18:04
>> >> To: [EMAIL PROTECTED]
>> >> Subject: Re: Compilation
>> >>
>> >>
>> >> Hello,
>> >>
>> >> Thanks for the answer. But my problem is persisting! I tried many
>> >> combinations in the property dialogue of the MSDOS prompt. But I was
>> never
>> >> successful in making the screen scrollable. Therefore, compiling of
>> Beans
>> >> and JSP are nightmares!
>> >>
>> >> Help me please!
>> >> BRN.
>> >>
>> >> -Original Message-
>> >> From: Karanjit Singh <[EMAIL PROTECTED]>
>> >> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> >> Date: Tuesday, July 25, 2000 11:11 PM
>> >> Subject: Re: Compilation
>> >>
>> >>
>> >> >go to the frame header right click gointo properties and then increas
e
>> >> >buffer size u will be able to scroll across ur errors.
>> >> >mandeep
>> >> >
>> >> >
>> >> >>From: B R Nair <[EMAIL PROTECTED]>
>> >> >>Reply-To: A mailing list about Java Server Pages specification and
>> >> >> reference <[EMAIL PROTECTED]>
>> >> >>To: [EMAIL PROTECTED]
>> >> >>Subject: Compilation
>> >> >>Date: Tue, 25 Jul 2000 10:58:00 +0530
>> >> >>
>> >> >>Hello All,
>> >> >>
>> >> >>I am unable to debug my java beans because while compiling the
>> program,
>> >> if
>> >> >>more errors are there, the error messages roll up and I am able to
>> see
>> >> only
>> >> >>the last messages. I am using JDK 1.3 candidate version under
Windows
>> >> 95.
>> >> >>In
>> >> >>erlier versions I could say
>> >> >>javac filename > repo.log
>> >> >>so that I could check repo.log for errors. This does not work with
>> JDK
>> >> 1.3.
>> >> >>
>> >> >>Can anyone help me please?
>> >> >>BRN.
>> >> >>
>> >>
>>
>>
>> >> ==
>> >> =
>> >> >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> >> >>JSP-INTEREST".
>> >> >>Some relevant FAQs on JSP/Servlets can b

JSP and ASP

2000-07-31 Thread V.Vasant

hi,
Can someone point out to me how does jsp perform better than
asp.I am a newcomer to jsp even though I've worked with java for quite
some time.Apart from the portability issue , I don't find something
convincing in using jsp than learning asp. Please help.


-V.Vasant

===
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: JSP and ASP

2000-07-31 Thread Alex Amies

1. COM components referenced from ASP's hang the web server and
   possibly the system if they have fatal errors.
2. COM components made from VB are not thread safe.
3. Programming COM components in C++ involves some hairy ATL
   programming with multiple inheritance and template classes.
4. The VB script language used to program ASP's has serious
   limitations including no notion of variable scope.
5. You cannot have custom tags in ASP's.  It will be difficult
   to make them into XML documents in order to manipulate content
   in other tools.

Despite these limitations ASP's are the easiest way for new
programmers to author web pages that create dynamic content from
a SQL database.  Thus the popularity of ASP pages.

-Original Message-
From: V.Vasant [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 10:27 PM
To: [EMAIL PROTECTED]
Subject: JSP and ASP


hi,
Can someone point out to me how does jsp perform better than
asp.I am a newcomer to jsp even though I've worked with java for quite
some time.Apart from the portability issue , I don't find something
convincing in using jsp than learning asp. Please help.


-V.Vasant


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



Nested JavaBeans

2000-07-31 Thread Drake Pyrosius

Hello all,

Does anyone have any recommendations on handling nested JavaBeans in a JSP?
For example:

public class Address
{
private String firstLine, secondLine;
private String city, state, zip;

set/get() ...
}

public class Person
{
private String name;

getName/setName() ...
}

And in the JSP:



The tag  will only return Strings and as such getting to
the nested Address object's individual properties is difficult.

Attempting the following on Tomcat fails:


<%! Address address = person.getAddress(); %>


Apparently in the generated source another instance of Address is
initialized which hides the one that is manually declared.

Another attempted workaround also fails:


<% address = person.getAddress(); %>


Similar problems crop up in the generated source as the first hack.

I seem to recall a NESTED modifier to the bean tag in 0.92 though I don't
recall it's use and can find no mention of it in 1.1.

I see two alternatives, but I hope someone can suggest better ways:

1) Having the forwarding servlet (model 2) place the nested bean in the
Request object along with the enclosing bean. e.g.
req.setAttribute("person", personObj);
req.setAttribute("address", personObj.getAddress());
This doesn't make much sense considering person contains an
address. They don't belong on the same level structure-wise and just from an
intuitive standpoint one should be able to navigate down the tree of
JavaBean properties.

2) Create a custom tag along the lines of

This seems an extraordinary and non-standard thing to do. It's bad enough
that iteration tags have to be implemented in a proprietary fashion.

In any case, if anyone has any suggestions I would be appreciative.

Thanks,
Anthony Yu


---
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.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: JSP Books

2000-07-31 Thread Martin Cooper

> The are currently none eBook available.

Not true. Web Development with JavaServer Pages, by Fields & Kolb (perhaps
the best JSP book available) can be purchased as an eBook. See:

http://www.manning.com/Fields/

--
Martin Cooper
Tumbleweed Communications

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

2000-07-31 Thread Suriya Narayan Varatharajan

hiuse this command to store the output...
java Hello>error.txt...
this  will create txt file which will have error about the Hello program if any...
use it let me know...


regards
suriya
*Q  try for everything Q*

Suriya narayanan V
Software Engineer
Contech Software Ltd
E-3/1,2,3, GIDC Electronics Estate,
Sector - 25, Gandhinagar - 382 044, INDIA
Tel.: +91(2712) 44989/43324/43328
(R)  : 91 - 79 - 6746164
fax:+91 (2712) 24468

Email :[EMAIL PROTECTED],[EMAIL PROTECTED]
URL   : http://www.contechgroup.com
HomePage : http://www.suriyan.org



-Original Message-
From:   B R Nair [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, August 01, 2000 12:23 AM
To: [EMAIL PROTECTED]
Subject:Re: Compilation

Dear Manish,
Thanks for your input. I changed your first command a little bit because the
first command that you gave me (javac -J-Djavac.pipe.output=true
*.java>error.txt) was not working.

Sorry for disturbing you. Your revised command
javac -J-Djavac.pipe.output=true Hello.java>error.txt
runs but it always gives an empty error.txt, eventhough errors are reported
on the screen. Is it a bug in 1.3 candidate version? I am still using 1.3
candidate version!

Thanks and regards
BRN.

-Original Message-
From: Manish Bijay Kumar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, July 31, 2000 11:42 AM
Subject: Re: Compilation


>Hi BRN,
>The command you used is not correct.
>Command should be..
>javac -J-Djavac.pipe.output=true Hello.java>error.txt
>
>One more thing...
>If you don't have any error in your source code ..still an empty error.txt
>file will be generated.
>
>Just try it out @nd let me know whether you succ%eded.
>
>Manirh...
>> --
>> From: B R Nair[ MTP:[EMAIL PROTECTED]]
>> Reply To: A mailing list`about J!va Server Pages specification and
>> reference
>> Senv: Sunday, July 30, 2000 6:46 PM
>> To:   JSP-I [EMAIL PROTECTED]
>> Sub*ect:  Re: Cnmpilation
>>
<> Hello"Manish,
>>
>> javac Hello.java -J-Djavac.pipe.output=4rue Hello.java>error.txt
>>
>> does not make !ny output to error.txt;`it makeq an empty error.txt
>> Can you please make it working?
>>
>> Control-pannel/console and Buffer-size are not available on my Win 95
>> machine. I hope makin' the above command workable is the only solution
>> available to me.
>>
>> Thanks
>> BRN.
>>
>>
>> -Original Message-
>> From: Manish Bkjay Kum r <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] 
>> Date: Thursday, July 27, 2000 4:07 PM
>> Subj%ct: Re: Compilation
>>
>>
>>

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

2000-07-31 Thread R.B. Gurung

hi,
I am really interested in knowing how to read the bar code
How to do that .
I am planning the to implement the same after having the views.
Need info

thanks/regards

gurung

- Original Message -
From: Philip Moschovas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 1:40 AM
Subject: Scanner


> Hi, I'm doing a web project using a hand held scanner that reads barcodes.
> I don't have the scanner yet and I was wondering if anyone has any
> experience with one of these.  I need to know what sort of event is
> triggered when the barcode is scanned into a textbox.  I need to get a
jump
> on this project and i'd like to know before hand if possible what event to
> code for.
>
> Thanks,
> Philip Moschovas
>
>
===
> 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: JSP + Servlets and getLastModified()

2000-07-31 Thread Oleg V Alexeev

Try to use one of listed below methods:
1. Insert code to JSP
 <% response.reset();
response.sendError(SC_NOT_MODIFIED);
   %>
2. Write any tag implementation as
 class TestMidifiedTag extends TagSupport {
  ...

  public int doStartTag() throws JspException {
   HttpServletResponse resp = (HttpServletResponse)pageContext.getResponse();

   if() {
resp.reset();
resp.sendError(SC_NOT_MODIFIED);
   }
   return SKIP_BODY
  }

  ...
 }

 and use it in JSP as

 

 with all needed actions for tag library registration and tag definitions
 for it.

SM> In the HTTPServlet world, the servlet container gives my servlet the
SM> chance build a response based around the '304 Not Modified' message,
SM> via a long valued integer specifying a last modified time
SM> (getLastModified()).  Great stuff, invaluable for servlets which
SM> format some data once and then serve it forever.

SM> Hmm, now I'm into JSP,  if I have a JSP page with static HTML and a
SM> single  of a servlet, there seems no way for the JSP page
SM> implementation class to handle this notion of lastModified().

SM> Hmm, the HttpJspPage doesn't even extend HttpServlet so I guess this
SM> functionality isn't planned?

SM> I have perused the JSP 1.1 spec, nothing.

SM> I'm tempted to wrap all my JSP pages inside servlets, using
SM> requestDispatcher.includes()s, so I'll get the 304 options back...

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



Re: Connection to a database - failure

2000-07-31 Thread Ravichandran Govindasamy

Hello
  Please use main function and everthinh will be resolved. okey


>From: Marcel van Kooy <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Connection to a database - failure
>Date: Mon, 31 Jul 2000 12:02:06 +0200
>
>Hi all,
>
>Can somebody please help me with this problem.
>When I compile this source-code, for making a connection to a database,
>I'll receive the error "type expected" in the first TRY-statement.
>How can I solve this and what does it mean?
>Thanks,
>Marcel van Kooy
>
>import java.sql.*;
>
>public class TestBean {
>
> try {
> Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
> }
>
> catch( Exception e ) {
> System.out.println("Failed to load JdbcOdbcDriver.");
> return;
> }
>
> try {
> Connection con =
>DriverManager.getConnection("jdbc:odbc:Studio_Bezoekers", "", "");
> Statement select = con.createStatement();
> ResultSet result = select.executeQuery
> ("...A query...");
>
>===
>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: Nested JavaBeans

2000-07-31 Thread Hans Bergsten

Drake Pyrosius wrote:
>
> Hello all,
>
> Does anyone have any recommendations on handling nested JavaBeans in a JSP?
> For example:
>
> public class Address
> {
> private String firstLine, secondLine;
> private String city, state, zip;
>
> set/get() ...
> }
>
> public class Person
> {
> private String name;
>
> getName/setName() ...
> }
>
> And in the JSP:
>
> 
>
> The tag  will only return Strings and as such getting to
> the nested Address object's individual properties is difficult.
>
> Attempting the following on Tomcat fails:
>
> 
> <%! Address address = person.getAddress(); %>
> 
>
> Apparently in the generated source another instance of Address is
> initialized which hides the one that is manually declared.
>
> Another attempted workaround also fails:
> 
> 
> <% address = person.getAddress(); %>
> 
>
> Similar problems crop up in the generated source as the first hack.
>
> I seem to recall a NESTED modifier to the bean tag in 0.92 though I don't
> recall it's use and can find no mention of it in 1.1.
>
> I see two alternatives, but I hope someone can suggest better ways:
>
> 1) Having the forwarding servlet (model 2) place the nested bean in the
> Request object along with the enclosing bean. e.g.
> req.setAttribute("person", personObj);
> req.setAttribute("address", personObj.getAddress());
> This doesn't make much sense considering person contains an
> address. They don't belong on the same level structure-wise and just from an
> intuitive standpoint one should be able to navigate down the tree of
> JavaBean properties.
>
> 2) Create a custom tag along the lines of
> 
> This seems an extraordinary and non-standard thing to do. It's bad enough
> that iteration tags have to be implemented in a proprietary fashion.
>
> In any case, if anyone has any suggestions I would be appreciative.

It's not beautiful, but this should work:

  <%@ page import="Person, Address" %>

  
  <%
Address address = person.getAddress();
pageContext.setAttribute("address", address);
  %>
  

Two things differ from your example:

1) I use a JSP scriptlet as opposed to a JSP declaration to retrieve
   the Address bean from the Person bean. JSP declarations end up
   outside the _jspService() method in the generated servlets, so
   variables declared in a declaration become instance variables
   instead of local variables.

2) I add the Address bean to the page scope, by calling setAttribute()
   on the pageContext object. The  and 
   actions (as well as custom actions) can only get access to objects
   available in one of the JSP scopes; they don't have access to
   scripting variables.

I also added a page directive to import the Person and Address classes,
since classes that do not belong to a package are not automcatically
visible in a class that does belong to a package (such as the generated
servlet class in most JSP containers).

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



Passing Query String with URL

2000-07-31 Thread B.V.Murali Krishna

hi all,
   I am using a javascript function in Jsp, where i am calling another Jsp
and passing a query string with it. The problem is that the query string
paramater values which are javascript variables are not converted to their
values.

onclick="go_to(user.value,pwd.value)">
function go_to(u,p) {
 alert(u);
 alert(p);

document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=u&pwd=p"
 }

The values are user is retrieving as u and not the values same for pwd.

Can someone please help me.

Thank in advance,

Regards,

MURALI KRISHNA BALUSA
VELOCIENT TECHNOLOGIES
NEW DELHI.

===
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: Connection to a database - failure

2000-07-31 Thread Manish Bijay Kumar

where is the method signature. You have directly coded evrything in the
class body. Put your code within method body and then compile...it won't
give such error

> --
> From: Marcel van Kooy[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Monday, July 31, 2000 3:32 PM
> To:   [EMAIL PROTECTED]
> Subject:  Connection to a database - failure
>
> Hi all,
>
> Can somebody please help me with this problem.
> When I compile this source-code, for making a connection to a database,
> I'll receive the error "type expected" in the first TRY-statement.
> How can I solve this and what does it mean?
> Thanks,
> Marcel van Kooy
>
> import java.sql.*;
>
> public class TestBean {
>
> try {
> Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
> }
>
> catch( Exception e ) {
> System.out.println("Failed to load JdbcOdbcDriver.");
> return;
> }
>
> try {
> Connection con =
> DriverManager.getConnection("jdbc:odbc:Studio_Bezoekers", "", "");
> Statement select = con.createStatement();
> ResultSet result = select.executeQuery
> ("...A query...");
>
> ==
> =
> 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



Forms question

2000-07-31 Thread Rahul Naithani

Hi friends,
I want to know how can I set the property in a bean using setProperty and at
the same time give an action page on the submit.
These 2 things are possible separately. But how to do it together?
Regards,
Rahul.

===
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: Referrer URL

2000-07-31 Thread Manish Bijay Kumar

if the following doesn't work..then try
history.go(-1)

> --
> From: TODD HARNEY[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Monday, July 31, 2000 5:35 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Referrer URL
>
> In Javascript it is like this...
>
> window.history.back()
>
> Hope this helps...
>
> >>> [EMAIL PROTECTED] 7/31/00 7:34 >>>
> Is it possible to get the url of the referring page, that is, the page
> before this one ?  I thought this was possible when I previously used
> isapi.
>
> What I am trying to do is to put a 'retry' link on my error page, and more
> importantly to log the url of the page that generated the error.
>
> thanks,
> Richard
>
> ==
> =
> 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: Basic help..urgent..

2000-07-31 Thread SRINIVAS RAO

Hi guys,

I have a stupid unique problem. Pls help me. I created a .jsp file and
stored it in public_html of JWS 2.1. (time.jsp)
I have a simple bean that sets and gets time whose class file i stored in
C:\javawebserver2.1\servlets.(TimeBean.java)
now i invoke TimeBean.java from time.jsp.
then i type in the IE browser http://localhost:8080/time.jsp

unique error :
HTTP 404 : Page cannot be found.

But whereas all the HTML files are working but not JSP files.
Pls help me its urgent. thnx in advance.
regards,
srinivas.



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: Passing Query String with URL

2000-07-31 Thread Suriya Narayan Varatharajan

try like this...

onclick="go_to()">

function go_to() {
 var u=user.value;
var p=pass.value;

document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=u&pwd=p"
 }


regards
suriya
*Q  try for everything Q*

Suriya narayanan V
Software Engineer
Contech Software Ltd
E-3/1,2,3, GIDC Electronics Estate,
Sector - 25, Gandhinagar - 382 044, INDIA
Tel.: +91(2712) 44989/43324/43328
(R)  : 91 - 79 - 6746164
fax:+91 (2712) 24468

Email :[EMAIL PROTECTED],[EMAIL PROTECTED]
URL   : http://www.contechgroup.com
HomePage : http://www.suriyan.org



-Original Message-
From:   B.V.Murali Krishna [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, August 01, 2000 11:47 AM
To: [EMAIL PROTECTED]
Subject:Passing Query String with URL

hi all,
   I am using a javascript function in Jsp, where i am calling another Jsp
and passing a query string with it. The problem is that the query string
paramater values which are javascript variables are not converted to their
values.

onclick="go_to(user.value,pwd.value)">
function go_to(u,p) {
 alert(u);
 alert(p);

document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=u&pwd=p"
 }

The values are user is retrieving as u and not the values same for pwd.

Can someone please help me.

Thank in advance,

Regards,

MURALI KRISHNA BALUSA
VELOCIENT TECHNOLOGIES
NEW DELHI.

===
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: 18yr-old INDIAN Challenge Bill Gates with New Operating System

2000-07-31 Thread SRINIVAS RAO

hey relhan,

give us a break. He just shared his views in a big conglomerate. We welcome
the news. May be its pure jsp but still appreciation with good heart counts.
pls dont use harsh words against anyone here, Its one of our jsp groups
vendataa, right

regards,
srinivas.


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



How to stop WebSphere reloading Servlets

2000-07-31 Thread Marc Krisjanous

Hi all,

I have a couple of beans that are stored in WebSphere's servlet directory.
The beans use properties files - which are also stored in the servlet
directory.  When I make changes to the properties files Websphere seems the
reload the Servlets! Is there a way to stop Websphere reloading Servlets
when I change properties files??

Note JSP pages instantiate and call the beans.

Regards

Marc

===
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: 18yr-old INDIAN Challenge Bill Gates with New Operating System

2000-07-31 Thread ralhan

see thing is if you don;t know such and this mail has been reaching me now
for a year okay.are u mad ? if there is anything like that i think i will
myself unsubscribe from this mailing list
making operating system is not a joke and that to so much faster and all
claimed is certainly not okay
forgrt it is another some junk mail or rajan pillai kind of a case
ralhan

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of SRINIVAS RAO
Sent: Monday, July 31, 2000 12:35 PM
To: [EMAIL PROTECTED]
Subject: Re: 18yr-old INDIAN Challenge Bill Gates with New Operating
System


hey relhan,

give us a break. He just shared his views in a big conglomerate. We welcome
the news. May be its pure jsp but still appreciation with good heart counts.
pls dont use harsh words against anyone here, Its one of our jsp groups
vendataa, right

regards,
srinivas.


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

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



Recall: 18yr-old INDIAN Challenge Bill Gates with New Operating S ystem

2000-07-31 Thread Aggarwal, Pawan

Aggarwal, Pawan would like to recall the message, "18yr-old INDIAN Challenge
Bill Gates with New Operating System".

===
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: 18yr-old INDIAN Challenge Bill Gates with New Operating Syste m

2000-07-31 Thread Aggarwal, Pawan

fuck w  #

> -Original Message-
> From: ralhan
> Sent: Wednesday, May 31, 2000 12:48 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: 18yr-old INDIAN Challenge Bill Gates with New Operating
> System
>
> see thing is if you don;t know such and this mail has been reaching me now
> for a year okay.are u mad ? if there is anything like that i think i will
> myself unsubscribe from this mailing list
> making operating system is not a joke and that to so much faster and all
> claimed is certainly not okay
> forgrt it is another some junk mail or rajan pillai kind of a case
> ralhan
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of SRINIVAS RAO
> Sent: Monday, July 31, 2000 12:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: 18yr-old INDIAN Challenge Bill Gates with New Operating
> System
>
>
> hey relhan,
>
> give us a break. He just shared his views in a big conglomerate. We
> welcome
> the news. May be its pure jsp but still appreciation with good heart
> counts.
> pls dont use harsh words against anyone here, Its one of our jsp groups
> vendataa, right
>
> regards,
> srinivas.
>
> 
> 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
>
> ==
> =
> 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



Writing long strings in Oracle

2000-07-31 Thread José Antonio Quiles

Hello,
we are trying to insert a huge string in an Oracle LONG field via JDBC; we
are using PreparedStatement.setString().
However, when the string length is longer than 2000 characters, a JDBC
exception is raised.
We thought that Oracle LONG field supports any string length...
What is the problem?

Thank you in advance,

Jose Antonio Quiles
Telefonica I+D
Madrid, Spain

===
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: Writing long strings in Oracle

2000-07-31 Thread Jaspreet Singh

Hi Jose,

Send us the exception raised by the JDBC exception. Theoratically it should
support as you said.



Jaspreet Singh

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of José Antonio Quiles
Sent: Monday, July 31, 2000 1:13 PM
To: [EMAIL PROTECTED]
Subject: Writing long strings in Oracle


Hello,
we are trying to insert a huge string in an Oracle LONG field via JDBC; we
are using PreparedStatement.setString().
However, when the string length is longer than 2000 characters, a JDBC
exception is raised.
We thought that Oracle LONG field supports any string length...
What is the problem?

Thank you in advance,

Jose Antonio Quiles
Telefonica I+D
Madrid, Spain

===
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: Writing long strings in Oracle

2000-07-31 Thread Lakshminarayanan.A, AMB Chennai.

Hi,

If you insert your string values thru' SQL query the maximum
allowable string size is 4000 chars( Oracle 8.x).

Solution :
Use oracle bind variables.(please refer Oracle documentation )


ORA-01704 string literal too long

Cause: The string literal is longer than 4000 characters.

Action: Use a string literal of at most 4000 characters. Longer values may
only be entered using bind variables.



hope this helps

- Lakshmenarayanan




-Original Message-
From: José Antonio Quiles [mailto:[EMAIL PROTECTED]]
Sent: Monday, 31 July, 2000 13:13
To: [EMAIL PROTECTED]
Subject: Writing long strings in Oracle


Hello,
we are trying to insert a huge string in an Oracle LONG field via JDBC; we
are using PreparedStatement.setString().
However, when the string length is longer than 2000 characters, a JDBC
exception is raised.
We thought that Oracle LONG field supports any string length...
What is the problem?

Thank you in advance,

Jose Antonio Quiles
Telefonica I+D
Madrid, Spain

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



JSP & DB2

2000-07-31 Thread Ionel Condor

Hi,
If someone uses IBM DB2 as his DBMS for JSP here is a question:

I have two databases, each with a few tables.
Somewhere in a bean I write a query which must use a table from DB1
and a table from DB2 is a select statement.
Does anyone know how to configure DB2 (grant statements I suppose) in
order to succeed... I mean one of the DB to see also the tables from the
other DB.

I have done the same thing in Oracle by allowing rights on a scheme
but I don't know how can be done in DB2. Please give me an example.

Thanks,
Ionel Condor.

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



JSP Books

2000-07-31 Thread Phan Nghiem Long

I have to learn JSP in my work. Can you send me a e-book about this
subject.

===
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: JSP Books

2000-07-31 Thread Caspar van Vroonhoven

I suggest you start here:
http://www.findtutorials.com/list.asp?category=606

but any good search on the net will reveal a lot of info about JSP.

Regards,

Caspar van Vroonhoven ([EMAIL PROTECTED])
www.tradingcars.com

-Original Message-
From: Phan Nghiem Long [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 10:59 AM
To: [EMAIL PROTECTED]
Subject: JSP Books


I have to learn JSP in my work. Can you send me a e-book about this
subject.

===
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: JSP & DB2

2000-07-31 Thread Kl Ooi

Use 2 separate data source to connec to 2 different DB




Ionel Condor
 cc:
Sent by: A   Subject: JSP & DB2
mailing list
about Java Server
Pages
specification and
reference



07/31/00 04:53 PM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference





Hi,
If someone uses IBM DB2 as his DBMS for JSP here is a question:

I have two databases, each with a few tables.
Somewhere in a bean I write a query which must use a table from DB1
and a table from DB2 is a select statement.
Does anyone know how to configure DB2 (grant statements I suppose) in
order to succeed... I mean one of the DB to see also the tables from the
other DB.

I have done the same thing in Oracle by allowing rights on a scheme
but I don't know how can be done in DB2. Please give me an example.

Thanks,
Ionel Condor.

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





Kian Lee, Ooi

e-Business Sdn. Bhd.
Tel: (604) 890-8143   Ext: 166
Fax: (604) 890-1771
E-Mail: [EMAIL PROTECTED]


---
Disclaimer:
Confidential information may be contained in the e-mail and any files
transmitted with it ('Message'). If you are not the addressee indicated in
this Message (or responsible for the delivery of this Message to such
person), you are hereby notified that any dissemination, distribution,
printing or copying of this Message or any part thereof is strictly
prohibited. In such a case, you should delete this Message immediately and
advise the sender by return e-mail. Opinions, conclusions and other
information in this Message that do not relate to the official business of
e-BX nor any of its related companies shall be understood as neither given
nor endorsed by e-BX nor any of its related companies.

===
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: Accessing (only) form parameters.

2000-07-31 Thread SANDIPAN DUTTA

I have tried all that.

But the problem is that I have to get (ALL) the form parameters only and
store it. If I do request.getParameterNames and then try to loop through
it, it gives me stuff like query-strings, HTTP headers like Host ,
gx_session_id etc.

I need something like request.getParameterNames("formname")

Any pointers here would be greatly appreciated.

Thanks
Sandipan.

subramanian Athimoolam wrote:
>
> hi
>
> just use
>
>  String s=request.getParameter("")
>
> what ever parameter you want just get this way.
>
> or other wise pass hidden variales.
>
> subu
> 
> 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

===
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: JSP Books

2000-07-31 Thread Luc Saint-Elie

>I have to learn JSP in my work. Can you send me
>a e-book about this subject.

The are currently none eBook available.
One projetc has been laucnched but seem to lack support (and
this is a pitty).

If you want books they are now a lot available (have a look
at the book section at http://www.interpasnet.com/JSS

If you want other ressources you may want ot have a look
at :
- http://www.interpasnet.com/JSS
- http://www.jspin.com
- http://www.jsptags.com
- http://www.jguru.com

and by the way http://java.sun.com 
Among others...

Hope this helps



Servlet's Taverne
  http://www.interpasnet.com/JSS


===
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 to refresh a JSP-Page

2000-07-31 Thread TODD HARNEY

Yes, I forgot to mention that I do have a Boolean stored in the session variable that 
is false initially and then set to true before I send the refresh meta tag...I then 
remove it that next time through. Yes, if you just send this meta tag as is, it will 
loop endlessly...sorry about that.

Todd

>>> [EMAIL PROTECTED] 7/27/00 5:48 >>>
Just like to point out..doing it on a JSP page might cause an endless loop.
As it refreshes, it sees the header again and again each refresh. If you do
want to do this, I suggest putting a counter variable in the http session
and only refresh if it doesn't exist. The second time around it would see
the var is there and NOT return the  tag, but remove the session var
as well.


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of TODD HARNEY
> Sent: Thursday, July 27, 2000 10:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: How to refresh a JSP-Page
>
>
> You could try:
>
> In Servlets anyway,
>
> out.println( "" );
>
> I am sure JSP can do the same thing. The refresh HTTP header will
> cause the page to reload immediately (due to content=0);
>
> >>> [EMAIL PROTECTED] 7/27/00 8:03 >>>
> Hi All,
>
> I have a jsp-page with:
>
> <%@ page session="true"  import = "x.*" %>
> 
> 
> <%= Bean1.getA() %>.
>
> Here A in Bean1 has the value 1.
> After that A in Bean1 changes to 2.
> So I am implementing a Refresh-Button with:
>
>  onClick="javascript:refresh()">
> 
> function refresh(){  window.location.reload();  }
> 
>
> When I press the refresh-button, <%= Bean1.getA() %> should show
> a 2, but it
> always
> stays 1.
> I don't know how to manage a real refresh.
> So i hope anybody can tell me how to do this.
> Thanks a lot,
> Herb.
>
> ==
> =
> 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

===
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: Accessing (only) form parameters.

2000-07-31 Thread TODD HARNEY

You could employ a naming convention for your form parameters such that if you have a 
form named "myForm" and a field named "userName", you could change the field name (ion 
this example) to "myForm.userName", then call request.getParameterNames() and in your 
form loop, filter for names beginning with your form name. You could also make the 
form name a property in a property file so that it is not hardcoded in your JSP 
source. Just a thought.

Todd

>>> [EMAIL PROTECTED] 7/31/00 5:29 >>>
I have tried all that.

But the problem is that I have to get (ALL) the form parameters only and
store it. If I do request.getParameterNames and then try to loop through
it, it gives me stuff like query-strings, HTTP headers like Host ,
gx_session_id etc.

I need something like request.getParameterNames("formname")

Any pointers here would be greatly appreciated.

Thanks
Sandipan.

subramanian Athimoolam wrote:
>
> hi
>
> just use
>
>  String s=request.getParameter("")
>
> what ever parameter you want just get this way.
>
> or other wise pass hidden variales.
>
> subu
> 
> 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

===
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: JSP Books

2000-07-31 Thread Phan Nghiem Long

thank very much. It's nice

Luc Saint-Elie wrote:

> >I have to learn JSP in my work. Can you send me
> >a e-book about this subject.
>
> The are currently none eBook available.
> One projetc has been laucnched but seem to lack support (and
> this is a pitty).
>
> If you want books they are now a lot available (have a look
> at the book section at http://www.interpasnet.com/JSS
>
> If you want other ressources you may want ot have a look
> at :
> - http://www.interpasnet.com/JSS
> - http://www.jspin.com
> - http://www.jsptags.com
> - http://www.jguru.com
>
> and by the way http://java.sun.com 
> Among others...
>
> Hope this helps
>
> 
> Servlet's Taverne
>   http://www.interpasnet.com/JSS
> 
>
> ===
> 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



Connection to a database - failure

2000-07-31 Thread Marcel van Kooy

Hi all,

Can somebody please help me with this problem.
When I compile this source-code, for making a connection to a database,
I'll receive the error "type expected" in the first TRY-statement.
How can I solve this and what does it mean?
Thanks,
Marcel van Kooy

import java.sql.*;

public class TestBean {

try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
}

catch( Exception e ) {
System.out.println("Failed to load JdbcOdbcDriver.");
return;
}

try {
Connection con =
DriverManager.getConnection("jdbc:odbc:Studio_Bezoekers", "", "");
Statement select = con.createStatement();
ResultSet result = select.executeQuery
("...A query...");

===
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: JSP editor

2000-07-31 Thread Joseph B. Ottinger

On Mon, 31 Jul 2000, Geert Van Damme wrote:

> Come on. Grow up.
> What does notepad offer? Nothing. You can load, type and save. That's all.
> Every editor lets you do that.

Hey, but notepad is quick and easy. What more do you *want?* An editor
that doesn't load or save, but runs slowly? (Sounds like a Java editor to
me *run*)

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo  HOMES.COM Developer

===
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: Connection to a database - failure

2000-07-31 Thread TODD HARNEY

The code needs to be inside of a method...you have no method defined.

>>> [EMAIL PROTECTED] 7/31/00 6:02 >>>
Hi all,

Can somebody please help me with this problem.
When I compile this source-code, for making a connection to a database,
I'll receive the error "type expected" in the first TRY-statement.
How can I solve this and what does it mean?
Thanks,
Marcel van Kooy

import java.sql.*;

public class TestBean {

try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
}

catch( Exception e ) {
System.out.println("Failed to load JdbcOdbcDriver.");
return;
}

try {
Connection con =
DriverManager.getConnection("jdbc:odbc:Studio_Bezoekers", "", "");
Statement select = con.createStatement();
ResultSet result = select.executeQuery
("...A query...");

===
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: Connection to a database - failure

2000-07-31 Thread Kumail Rizvi

Hi
  I think u r using JDBC-ODBC bridge.
If it is, its mean Studio_Bezoekers is ur DSN.

now it depends on what data base u r using
if Oracle then define user name and password in DSN and is Access then no
need for User
name and Password.
just use

DriverManager.getConnection("jdbc:odbc:Studio_Bezoekers");

this will run fine


Best Regards

Kumail Rizvi

===
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: JSP editor

2000-07-31 Thread Jaspreet Singh

Try to use TextPad Editor... you can download it from http://www.textpad.com
Really cool. this what I think...



-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Joseph B. Ottinger
Sent: Monday, July 31, 2000 3:43 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP editor


On Mon, 31 Jul 2000, Geert Van Damme wrote:

> Come on. Grow up.
> What does notepad offer? Nothing. You can load, type and save. That's all.
> Every editor lets you do that.

Hey, but notepad is quick and easy. What more do you *want?* An editor
that doesn't load or save, but runs slowly? (Sounds like a Java editor to
me *run*)

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo  HOMES.COM Developer

===
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: JSP editor

2000-07-31 Thread Guilherme Zambon

Use cute html...
You can personalize the colors.

- Original Message -
From: Varadharajan.K.V,AMB Chennai <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 29, 2000 8:14 AM
Subject: JSP editor


> Hi all,
>
> i would like to know some JSP editor with syntax coloring.
> please help.
>
> Thanks n rgds
> Varad
>
>
===
> 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



problem with msacess

2000-07-31 Thread Srinivas Rao Eadhara

I have a typical problem , I am using MS-acess as database in one of the
application.  Some body set the password for the database, Now I am unable
to acess that database, please suggest me how to bipass or break that
password

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



intranet list

2000-07-31 Thread Shrikumar R

Hi

can somebody tell me if there is a mailing list for
discussions on "intranet" issues. Thanks for any help

rsk

__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.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



Re: problem with database

2000-07-31 Thread Oren Klichevsky

what do you mean by that ?
passwords are a way to keep your information secured, so if someone defined
a password for the database, you need to use the regular user name +
password security system of the database.
you should ask for the password or define a new DB user that will be granted
the rights to access the desired tables.


Best Regards,
Oren Klichevsky
www.mannainc.com 



-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Srinivas Rao Eadhara
Sent: Monday, July 31, 2000 6:25 AM
To: [EMAIL PROTECTED]
Subject: problem with database


hello
I have a typical problem ,
I am using MS-acess as database in one of the application.
some body set the password for the database, Now I am unable to
acess that database, please suggest me how to bipass or break that password

Please Help me
Srinivas

===
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: JSP editor

2000-07-31 Thread Geert Van Damme

The time you win in faster loading, you lose in lack of features that make
life easier.
Don't compare it with the big dinosaur IDE's. They can be very annoying at
times (e.g. during startup), but there are a lot of good editors that fall
in between.

Geert Van Damme

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph B. Ottinger
> Sent: maandag 31 juli 2000 12:13
> To: [EMAIL PROTECTED]
> Subject: Re: JSP editor
>
>
> On Mon, 31 Jul 2000, Geert Van Damme wrote:
>
> > Come on. Grow up.
> > What does notepad offer? Nothing. You can load, type and save.
> That's all.
> > Every editor lets you do that.
>
> Hey, but notepad is quick and easy. What more do you *want?* An editor
> that doesn't load or save, but runs slowly? (Sounds like a Java editor to
> me *run*)
>
> ---
> Joseph B. Ottinger   [EMAIL PROTECTED]
> http://cupid.suninternet.com/~joeo  HOMES.COM Developer
>
> ==
> =
> 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