Imp

2001-07-19 Thread freshfart hoggart

 Hi,
Does anyone know where to get examples to develop custom tag libraries where one could 
remove simple Java code from a JSP like Lookup code which accesses the EJB or simple 
for loops or such.
Do such tags exist anywhere ?
thx a million,
Rohan.


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

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

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



OFF-TOP (maybe), JSP debug on Tomcat-Forte

2001-07-19 Thread Clemente Dani

Hi,

Sorry if this isn't the appropiate list, but I need your help.

Do any of you know how to attach Forte to the Java VM of Tomcat in 
order to be allowed to debug Web applications (Jsp/Servlets, etc)

I've tried using "Attach to VM", but when I choose the "SocketAttach" 
connector and enter the appropiate data and launch it, having Tomcat 
started, Forte hangs. When I close Tomcat, Forte throws an Exception 
telling that it was unable to connect to the VM


Any advice?

Thanks a lot in advance.

Bye, Dani


__
¡Ha llegado Shrek y se acabaron todos los cuentos!
Con motivo del estreno de  "Shrek", Qtal de Airtel,  UIP y Navegalia te 
invitan a un mundo de cuentos de hadas, promociones y grandes regalos. 
Viaja por nuestra web y te encontrarás muchas sorpresas. Visita:
 http://www.navegalia.com/portal/promos/shrek/index.htm

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

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



THREAD ERROR

2001-07-19 Thread Kapil Keshwani

hi all,
actually i am using a thread in jsp for running mail in backend .
the problem is that the jsp working fine in windows operating system but not
working on unix
operating system.the jsp page showing internal server error
and in log file it is giving thread error.
and the error is as follows:
"Thread-9" (TID:0x800333e8, sys_thread_t:0x304af710, state:MW, native
ID:0x60e) prio=5
at oracle.jdbc.ttc7.TTIoer.init(TTIoer.java:100)
at oracle.jdbc.ttc7.Oopen.init(Oopen.java:72)
at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:463)
at oracle.jdbc.driver.OracleStatement.(OracleStatement.java:413)
at
oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.
java:470)
at
oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java:37
9)
at oracle.jdbc.dbaccess.DBAccess.setNlsParamsClient(DBAccess.java:1034)
at oracle.jdbc.ttc7.TTC7Protocol.initNls(TTC7Protocol.java:1152)
at
oracle.jdbc.driver.OracleConnection.(OracleConnection.java(Compiled
Code))
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java(Comp
iled Code))
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java(Compiled
Code))
at java.sql.DriverManager.getConnection(DriverManager.java(Compiled Code))
at java.sql.DriverManager.getConnection(DriverManager.java(Compiled Code))
at OpisConnectionPool.Connect11(OpisConnectionPool.java(Compiled Code))
at OpisConnectionPool.(OpisConnectionPool.java:22)
at
_opis._CorrectiveAction__Add._jspService(_CorrectiveAction__Add.java:125)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.internalService(JspServlet.java)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.se





and also

Thread-16726" (TID:0x806ff4b8, sys_thread_t:0x3189d030, state:R, native
ID:0x75a) prio=5
at oracle.jdbc.ttc7.Oclose.init(Oclose.java(Compiled Code))
at oracle.jdbc.ttc7.TTC7Protocol.closeQuery(TTC7Protocol.java(Compiled
Code))
at
oracle.jdbc.driver.OracleResultSetImpl.internal_close(OracleResultSetImpl.ja
va(Compiled Code))
at
oracle.jdbc.driver.OracleResultSetImpl.close(OracleResultSetImpl.java(Compil
ed Code))
at correctiveActionReminder.run(correctiveActionReminder.java(Compiled
Code))
Can anybody help me in this matter
regards
kapil

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

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



Re: Utility to auto-generate JDBC Beans and JSP for insert/update/delete/search.

2001-07-19 Thread Antonio Jimenez

hi all,

I have developed something similar
generic beans for search/update/insert/delete
but instead of using the metadata I have used an auxiliary table to
allow to personalize the screens, fields that appear in each one ...
this table also obtains the data of the metadata
this table also maintenances with these beans ;-)

with Oracle JDeveloper, you have wizard for JSP's
for any table you can generate query, browse,edit & insert page JSP
the problem is, if you change any field of table, you may regenerate all
and you lost any manual modify on pages

Another solution is Oracle Designer , with Web PL/SQL Generator
but only works with Oracle Application Server :-(

best regards
[EMAIL PROTECTED]


- Original Message -
From: "Keith Kwiatek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 12:54 AM
Subject: Utility to auto-generate JDBC Beans and JSP for
insert/update/delete/search.


> Hello,
>
> In my pursuit of mastering JSP/JDBC/Java I wrote a utility that
interrogates
> an oracle database table and then generates the correlated JSP forms and
> JDBC beans to search/update/insert/delete rows from the database table.
By
> pointing the utility at a few related tables you can quickly string
together
> a nice application...
>
> I use the meta data from the database to write form field validation
methods
> (null/required, max size, alpha/numeric checking, date, etc). So if
your
> submit an update/insert with invalid field data, it redisplays the form
data
> with the field tag highlighted in red. Handles select and checkbox
> statements also.
>
> Sure seems to save me a bunch of typing when creating applications. The
> closest thing I have found is Macromedia dreamweaver ultraDev, BUT it only
> allows you to drop a JDBC bean (that you have written) onto a JSP page so
> you can manually connect the db fields to HTML widgets .
>
>  I also found something that Generates a jdbc bean, BUT not the JSP:
> http://space.tin.it/computer/csadun/software/cmaker/cmaker.html
>
>
> Is there anything else like this out there?
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



No Subject

2001-07-19 Thread srinivas tadikonda
Hi, 

How can I store large amount of data(its arround 4000 charactes) in sqlserver6.5. Is there any datatype for this. Please help me.
Thanking You
SrinivasGet your FREE download of MSN Explorer at http://explorer.msn.com

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

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


Please

2001-07-19 Thread srinivas tadikonda
Hi,
 
   How can I store large amount of data in sql server6.5.  Please tell me datatype. But I am useing sqlserver6.5.
 
Thanking U
 
Regards
SRinivas
 
 Get your FREE download of MSN Explorer at http://explorer.msn.com

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

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


Urgent

2001-07-19 Thread srinivas tadikonda
Hi,
 
    I want to store large amount of data into sql server6.5 database.  For this I am using text datatype.  But Its takeing 255 to 270 characters only.  Is there any other datatypes for storeing large amount of data.  Please tell me.  
 
Thanking U
Regards
Srinivas
 Get your FREE download of MSN Explorer at http://explorer.msn.com

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

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


Re: Urgent

2001-07-19 Thread Atilio Ranzuglia

Srinivas:

I haven't used SQL Server, but this is not the list to
post this message, and I don't think that we can help
you in a good way. You should do some research about
SQL Server (it's everywhere on the Internet) and learn
what you need. I'm sure that you will find hundreds of
tutorial, examples, manuals.

Atilio



--- srinivas tadikonda <[EMAIL PROTECTED]> wrote:


Hi,
 
    I want to store large amount
of data into sql server6.5 database.  For this I
am using text datatype.  But Its takeing 255 to
270 characters only.  Is there any other
datatypes for storeing large amount of data. 
Please tell me.  
 
Thanking U
Regards
Srinivas
 Get your FREE
download of MSN Explorer at http://explorer.msn.com

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

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

http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

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



HELP SENDING E-MAIL USING JSP:::::::>>>>Please answer me..

2001-07-19 Thread Francesco Sammartino

Hi at all,
I've a problem:after I've passed data from a html page to a jsp page,how can
it send them to my e-mail address?
Or,How can I add the Javamail libraries to my Java2sdk so that Tomcat 3.2
can use them??
PLEASE ANSWER ME..
Francesco.

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

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



Re: THREAD ERROR

2001-07-19 Thread Atilio Ranzuglia

Kapil: in java everything is running on a thread.

All exceptions will stop the current thread in which
is running.

I think that your problem is on your methods where you
are using JDBC library. You should be sure that the
Oracle libraries you need are on the appropiate place.
If it is a .jar file and if you use Tomcat you should
put it into /WEB-INF/lib.

Try it.

Good luck
Atilio



--- Kapil Keshwani <[EMAIL PROTECTED]> wrote:
> hi all,
> actually i am using a thread in jsp for running mail
> in backend .
> the problem is that the jsp working fine in windows
> operating system but not
> working on unix
> operating system.the jsp page showing internal
> server error
> and in log file it is giving thread error.
> and the error is as follows:
> "Thread-9" (TID:0x800333e8,
> sys_thread_t:0x304af710, state:MW, native
> ID:0x60e) prio=5
> at
> oracle.jdbc.ttc7.TTIoer.init(TTIoer.java:100)
> at
> oracle.jdbc.ttc7.Oopen.init(Oopen.java:72)
> at
>
oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:463)
> at
>
oracle.jdbc.driver.OracleStatement.(OracleStatement.java:413)
> at
>
oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.
> java:470)
> at
>
oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java:37
> 9)
> at
>
oracle.jdbc.dbaccess.DBAccess.setNlsParamsClient(DBAccess.java:1034)
> at
>
oracle.jdbc.ttc7.TTC7Protocol.initNls(TTC7Protocol.java:1152)
> at
>
oracle.jdbc.driver.OracleConnection.(OracleConnection.java(Compiled
> Code))
> at
>
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java(Comp
> iled Code))
> at
>
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java(Compiled
> Code))
> at
>
java.sql.DriverManager.getConnection(DriverManager.java(Compiled
> Code))
> at
>
java.sql.DriverManager.getConnection(DriverManager.java(Compiled
> Code))
> at
>
OpisConnectionPool.Connect11(OpisConnectionPool.java(Compiled
> Code))
> at
>
OpisConnectionPool.(OpisConnectionPool.java:22)
> at
>
_opis._CorrectiveAction__Add._jspService(_CorrectiveAction__Add.java:125)
> at
> oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
> at
>
oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
> at
> oracle.jsp.JspServlet.doDispatch(JspServlet.java)
> at
>
oracle.jsp.JspServlet.internalService(JspServlet.java)
> at
> oracle.jsp.JspServlet.service(JspServlet.java)
> at javax.servlet.http.HttpServlet.se
>
>
>
>
>
> and also
>
> Thread-16726" (TID:0x806ff4b8,
> sys_thread_t:0x3189d030, state:R, native
> ID:0x75a) prio=5
> at
> oracle.jdbc.ttc7.Oclose.init(Oclose.java(Compiled
> Code))
> at
>
oracle.jdbc.ttc7.TTC7Protocol.closeQuery(TTC7Protocol.java(Compiled
> Code))
> at
>
oracle.jdbc.driver.OracleResultSetImpl.internal_close(OracleResultSetImpl.ja
> va(Compiled Code))
> at
>
oracle.jdbc.driver.OracleResultSetImpl.close(OracleResultSetImpl.java(Compil
> ed Code))
> at
>
correctiveActionReminder.run(correctiveActionReminder.java(Compiled
> Code))
> Can anybody help me in this matter
> regards
> kapil
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

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



Version 1 Cookies

2001-07-19 Thread Andy C

Under resin 2.0.0 I have the following piece of
.jsp cookie code

Cookie NameCookie=new Cookie("R2NameCookie",Name);
NameCookie.setMaxAge(365*24*60*60);
NameCookie.setPath("/");
NameCookie.setVersion(1);
response.addCookie(NameCookie);

Now sadly this code does not appear to add a cookie to a
I.E 5.5. client.  If I set the version to 0 then the cookie is
added.

The same piece of code did work under Tomcat however it did
not need the setVersion to work.

Any ideas what I am missing ?

Andy C
Editor R2 Project
http://www.r2-dvd.org

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: MD5 example

2001-07-19 Thread Chris Pratt

In the java.security package that comes with the JDK.
(*Chris*)

- Original Message -
From: "Hardeep Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 10:12 PM
Subject: Re: [JSP-INTEREST] MD5 example


> Dear Ashish,
>
> Where do I get the MessageDigest Class from?
>
> Thanx,
> Hardeep
>
> - Original Message -
> From: "Ashish Shrestha" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 19, 2001 9:33 AM
> Subject: MD5 example
>
>
> > Dear Hardeep,
> >
> > I have included an example of MD5 for you.
> > If you want to use the 16 byte data instead of convert it to hex string
> > just return the md5.digest().
> >
> > Hope this helps.
> >
> > Ashish
> > http://headlines.sourceforge.net
> >
> > /**
> > Generate a MD5 digest and return as hex.
> >
> > @param s String for which MD5 is to be generated.
> > @returns 32 character hex representation of the MD5
> > digest.
> > */
> > public static  String md5Hex(String s)
> > throws NoSuchAlgorithmException{
> >
> > MessageDigest md5 = MessageDigest.getInstance("MD5");
> > md5.update(s.getBytes());
> >
> > return bytesToHexString(md5.digest());
> > }
> >
> > public static String bytesToHexString(byte[] b){
> > char[] hexChars = {'0','1','2','3','4','5','6','7',
> > '8','9','A','B','C','D','E','F'};
> >
> > StringBuffer hexString = new StringBuffer();
> >
> > for (int i = 0; i < b.length; i++){
> > hexString.append(hexChars[(b[i] >> 4) & 0x0f]);
> > hexString.append(hexChars[b[i] & 0x0f]);
> > }
> >
> > return hexString.toString();
> > }
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

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



Re: MD5 example

2001-07-19 Thread Chris Pratt

You don't, it's a one-way hash algorithm.  The normal way to use it is to
store the hash value of the user's password (or whatever you want to hash)
in some persistent store, then when the user returns and re-enters his
password, hash that and compare the two hash values.  If they match the user
is golden, if not ask them to try again.
(*Chris*)

- Original Message -
From: "Sharon Rose Orillaneda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 11:07 PM
Subject: Re: [JSP-INTEREST] MD5 example


> Do you know how to decrypt MD5?
> Thanks
> -Sharon
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ashish Shrestha
> Sent: Thursday, 19 July 2001 2:04 PM
> To: [EMAIL PROTECTED]
> Subject: MD5 example
>
>
> Dear Hardeep,
>
> I have included an example of MD5 for you.
> If you want to use the 16 byte data instead of convert it to hex string
> just return the md5.digest().
>
> Hope this helps.
>
> Ashish
> http://headlines.sourceforge.net
>
> /**
> Generate a MD5 digest and return as hex.
>
> @param s String for which MD5 is to be generated.
> @returns 32 character hex representation of the MD5
> digest.
> */
> public static  String md5Hex(String s)
> throws NoSuchAlgorithmException{
>
> MessageDigest md5 = MessageDigest.getInstance("MD5");
> md5.update(s.getBytes());
>
> return bytesToHexString(md5.digest());
> }
>
> public static String bytesToHexString(byte[] b){
> char[] hexChars = {'0','1','2','3','4','5','6','7',
> '8','9','A','B','C','D','E','F'};
>
> StringBuffer hexString = new StringBuffer();
>
> for (int i = 0; i < b.length; i++){
> hexString.append(hexChars[(b[i] >> 4) & 0x0f]);
> hexString.append(hexChars[b[i] & 0x0f]);
> }
>
> return hexString.toString();
> }
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

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



Re: O'reilly Upload Problem

2001-07-19 Thread Daryani Santosh

Its probably a content-type error , the default content type I believe is
text/html.

Change it to
response.setContentType("application/octet-stream");

This will allow uploading of file types like gif, jpg,txt  etc


Santosh













SUBSCRIBE JSP-INTEREST Gillian <[EMAIL PROTECTED]> on 07/19/2001 05:14:10 PM

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

To:   [EMAIL PROTECTED]
cc:(bcc: Santosh Daryani/IT/Aon Consulting)

Subject:  O'reilly Upload Problem



Hi,

I am trying to get file upload functionality working, using the O'reilly
multipart classes. I have some sample code that seems to work fine on other
installs, but on both my local machine and the development server we are working
on, I get the following error when the code is executed.  I can upload .txt
files without a problem, but not .gif or .jpg files, regardless of size.

code fragment:

   else if ( part.isFile() )

// it's a file part

filePart = (FilePart) part;

fileName = filePart.getFileName();

   if ( fileName != null ) {
// the part actually contained a file

ByteArrayOutputStream bos = new ByteArrayOutputStream();

long size = 0;

try{
  size = filePart.writeTo( bos );

} catch(IOException e){

 System.out.println("writeTo(bos) exception = " + e.getMessage());

 }

The exception that is caught is:  "unexpected end of part"

Also, there is a servlet exception thrown:  javax.servlet.ServletException:
Broken pipe

Please help!

Thanks,
Gillian

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

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

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

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



Calling ORACLE Stored Procedure

2001-07-19 Thread Brad Rhoads

I'm trying to call a stored proc in oracle from java. I'm called the same
proc from another system successfully, but when I do the call from java I'm
getting a message from oracle saying the proc needs to be declared.

Any ideas?

Examples of calling an ORACLE SP w/ input & output parms?

Thanks.

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

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



Re: MD5 example

2001-07-19 Thread cupid1

Chris,

what you mean when you say hash value ? thanks.

shuaib

- Original Message -
From: "Chris Pratt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 12:22 PM
Subject: Re: MD5 example


> You don't, it's a one-way hash algorithm.  The normal way to use it is to
> store the hash value of the user's password (or whatever you want to hash)
> in some persistent store, then when the user returns and re-enters his
> password, hash that and compare the two hash values.  If they match the
user
> is golden, if not ask them to try again.
> (*Chris*)
>
> - Original Message -
> From: "Sharon Rose Orillaneda" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 18, 2001 11:07 PM
> Subject: Re: [JSP-INTEREST] MD5 example
>
>
> > Do you know how to decrypt MD5?
> > Thanks
> > -Sharon
> >
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Ashish Shrestha
> > Sent: Thursday, 19 July 2001 2:04 PM
> > To: [EMAIL PROTECTED]
> > Subject: MD5 example
> >
> >
> > Dear Hardeep,
> >
> > I have included an example of MD5 for you.
> > If you want to use the 16 byte data instead of convert it to hex string
> > just return the md5.digest().
> >
> > Hope this helps.
> >
> > Ashish
> > http://headlines.sourceforge.net
> >
> > /**
> > Generate a MD5 digest and return as hex.
> >
> > @param s String for which MD5 is to be generated.
> > @returns 32 character hex representation of the MD5
> > digest.
> > */
> > public static  String md5Hex(String s)
> > throws NoSuchAlgorithmException{
> >
> > MessageDigest md5 = MessageDigest.getInstance("MD5");
> > md5.update(s.getBytes());
> >
> > return bytesToHexString(md5.digest());
> > }
> >
> > public static String bytesToHexString(byte[] b){
> > char[] hexChars = {'0','1','2','3','4','5','6','7',
> > '8','9','A','B','C','D','E','F'};
> >
> > StringBuffer hexString = new StringBuffer();
> >
> > for (int i = 0; i < b.length; i++){
> > hexString.append(hexChars[(b[i] >> 4) & 0x0f]);
> > hexString.append(hexChars[b[i] & 0x0f]);
> > }
> >
> > return hexString.toString();
> > }
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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



Oracle JDBC

2001-07-19 Thread Duc Nguyen
Hi all,
I am new to java and JDBC, I am trying to run the example from mine oracle 8.1.5 Server.  I am getting this error:
Exception in thread "main" java.lang.Unsatisfi    at oracle.jdbc.oci8.OCIDBAccess.make_c    at oracle.jdbc.oci8.OCIDBAccess.logon(    at oracle.jdbc.driver.OracleConnection
    at oracle.jdbc.driver.OracleDriver.getva:214)    at oracle.jdbc.driver.OracleDriver.con    at java.sql.DriverManager.getConnectio    at java.sql.DriverManager.getConnectio    at Employee.main(Employee.java:18)
I am using JDK1.3.1
 
Any help would be greatly appreciated.
 
Thanks,
DucGet your FREE download of MSN Explorer at http://explorer.msn.com

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

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


Re: MD5 example

2001-07-19 Thread Chris Pratt

The value returned from the java.security.MessageDigest.digest() call
(*Chris*)

- Original Message -
From: "cupid1" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 1:06 PM
Subject: Re: [JSP-INTEREST] MD5 example


> Chris,
>
> what you mean when you say hash value ? thanks.
>
> shuaib
>
> - Original Message -
> From: "Chris Pratt" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 19, 2001 12:22 PM
> Subject: Re: MD5 example
>
>
> > You don't, it's a one-way hash algorithm.  The normal way to use it is
to
> > store the hash value of the user's password (or whatever you want to
hash)
> > in some persistent store, then when the user returns and re-enters his
> > password, hash that and compare the two hash values.  If they match the
> user
> > is golden, if not ask them to try again.
> > (*Chris*)
> >
> > - Original Message -
> > From: "Sharon Rose Orillaneda" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, July 18, 2001 11:07 PM
> > Subject: Re: [JSP-INTEREST] MD5 example
> >
> >
> > > Do you know how to decrypt MD5?
> > > Thanks
> > > -Sharon
> > >
> > > -Original Message-
> > > From: A mailing list about Java Server Pages specification and
reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ashish Shrestha
> > > Sent: Thursday, 19 July 2001 2:04 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: MD5 example
> > >
> > >
> > > Dear Hardeep,
> > >
> > > I have included an example of MD5 for you.
> > > If you want to use the 16 byte data instead of convert it to hex
string
> > > just return the md5.digest().
> > >
> > > Hope this helps.
> > >
> > > Ashish
> > > http://headlines.sourceforge.net
> > >
> > > /**
> > > Generate a MD5 digest and return as hex.
> > >
> > > @param s String for which MD5 is to be generated.
> > > @returns 32 character hex representation of the MD5
> > > digest.
> > > */
> > > public static  String md5Hex(String s)
> > > throws NoSuchAlgorithmException{
> > >
> > > MessageDigest md5 = MessageDigest.getInstance("MD5");
> > > md5.update(s.getBytes());
> > >
> > > return bytesToHexString(md5.digest());
> > > }
> > >
> > > public static String bytesToHexString(byte[] b){
> > > char[] hexChars = {'0','1','2','3','4','5','6','7',
> > > '8','9','A','B','C','D','E','F'};
> > >
> > > StringBuffer hexString = new StringBuffer();
> > >
> > > for (int i = 0; i < b.length; i++){
> > > hexString.append(hexChars[(b[i] >> 4) &
0x0f]);
> > > hexString.append(hexChars[b[i] & 0x0f]);
> > > }
> > >
> > > return hexString.toString();
> > > }
> > >
> > >
> >
>
===
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > > DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> > >
> >
>
===
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> > _
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://jav

Re: Oracle JDBC

2001-07-19 Thread Kang xin

Hello Duc,

Friday, July 20, 2001, 7:50:45 AM, you wrote:


The message might means your driver have problem or your login user is
wrong. Oracle OCI driver need the installation of the Oracle client
and need OCI support.

--
Best regards,
 Kangmailto:[EMAIL PROTECTED]

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

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



Re: MD5 example

2001-07-19 Thread Ashish Shrestha

First, MD5 and SHA are in the java.security.* package!

And about decrypting MD5's -- MD5 is a one way function so you can not
decrypt it or reverse it. To compare the password. Encode the password
and compare with the prestored digest.

What is an one way function?

Well, if I take 531 then generate a digest 5 + 3 + 1, I will get 9.
However, from 9 I can not tell what were the numbers used to generate
it. Or how many numbers were there. MD5 is similar. It generates a 16
byte digest (number) for any set of bytes. The only difference is that
it is pretty unique unlike my example where 5+1+1+2 would also have
generated 9.

Hope that helps!

Ashish
http://headlines.sourceforge.net

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

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



Re: HELP SENDING E-MAIL USING JSP:::::::>>>>Please answer me..

2001-07-19 Thread Jayson Falkner

Check out this tutorial. It covers using JavaMail with JSP and explains what
you are asking.

http://www.jspinsider.com/tutorials/jsp/javamail.view

Jayson Falkner
[EMAIL PROTECTED]

- Original Message -
From: "Francesco Sammartino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 5:38 AM
Subject: HELP SENDING E-MAIL USING JSP:::Please answer me..


> Hi at all,
> I've a problem:after I've passed data from a html page to a jsp page,how
can
> it send them to my e-mail address?
> Or,How can I add the Javamail libraries to my Java2sdk so that Tomcat 3.2
> can use them??
> PLEASE ANSWER ME..
> Francesco.
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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



Re: Calling ORACLE Stored Procedure

2001-07-19 Thread Mattias Jiderhamn

Are you using CallableStatement instead of Statement?


> Sent: den 20 juli 2001 00:04
> Subject: Calling ORACLE Stored Procedure
>
> I'm trying to call a stored proc in oracle from java. I'm called the
same
> proc from another system successfully, but when I do the call from
java I'm
> getting a message from oracle saying the proc needs to be declared.
>
> Any ideas?
>
> Examples of calling an ORACLE SP w/ input & output parms?
>
> Thanks.
>
>

===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



URGENT

2001-07-19 Thread lalit gulhane

Hi all,
from where can I get more information about the Stored Procedure for
Oracle ?  
Regards,
Lalit

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

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