Re: putting a comment in jsp code

2001-04-19 Thread Geert Van Damme

One isn't better than the other. They help in a different way.
1) java comments : // and  /* */
might be used mainly to temporarily comment out some code that might be
causing trouble.

2) JSP comment <%--  --%>
Good to use for real comments on your JSP page. I.e. code documentation
Might also be used to temp delete piece of code

3) HTML comments 
Good for Debugging purposes. This lets you output some values and info (like
timings, ID #, assertions ...) without messing up your output. But there's
still an easy way to see them (at least easier than server side logging or
so.

Geert

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bruce Geerdes
> Sent: donderdag 19 april 2001 22:30
> To: [EMAIL PROTECTED]
> Subject: Re: putting a comment in jsp code
>
>
> --- Florian DREVET <[EMAIL PROTECTED]> wrote:
> > Same as Java in scriptlet parts, same as HTML in HTML parts.
>
> Using HTML comments
>
> 
>
> are fine if you don't mind those comments appearing in the final HTML
> page (viewable via browser's view source).  If you prefer to keep those
> comments private, however, it's better to use the JSP commenting:
>
> <%-- --%>
>
> Bruce
>
>
> >
> > -Message d'origine-
> > De : A mailing list about Java Server Pages specification and
> > reference
> > [mailto:[EMAIL PROTECTED]]De la part de BERWART Thierry
> > Envoyé : jeudi 19 avril 2001 09:13
> > À : [EMAIL PROTECTED]
> > Objet : putting a comment in jsp code
> >
> >
> > Hello,
> >
> > How can I put a code in comment in JSP ?
> >
> > Thanks
> >
> > Thierry
>
>
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.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



Re: ssl

2001-04-19 Thread Yutthachai Akesirasuwan

> I want to set my tomcat to use ssl.
> please tell me about this by detail.
> thank you very much.
My environment : win2000 server,tomcat 3.2.1
--- Yutthachai Akesirasuwan <[EMAIL PROTECTED]>
wrote:
> I want to set my tomcat to use ssl.
> please tell me about this by detail.
> thank you very much.
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great
> prices
> http://auctions.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


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.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: Catching exception JSP throws when reading it in for XML output..

2001-04-19 Thread Kevin Duffey

Yes, the url is valid..because if I comment out or remove the faulty code in
the JSP page, it works fine and no exception is thrown at all..the JSP
output is read in, and I apply XSL to it..all that works.

Cookies are used only for session id, nothing else. That is why I send the
jsessionid= with the session id value to the JSP page, so it ties it to the
same session that the current session the request that came in belongs to.



> And you've verified that link.toString() actually is a a valid URL? What
> happens when you put that in the browser? You get the null pointer
> exception?
>
> You not using cookies for session then right?
> ie. you don't want to pass that stuff in as a cookie?
>
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey
> > Sent: Thursday, April 19, 2001 10:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: Catching exception JSP throws when reading it in for XML
> > output..
> >
> >
> > Hi all,
> >
> > I am having a bit of a problem trying to get the exception
> thrown in a JSP
> > page that is being read in via code (instead of forwarded or
> > redirected to).
> > I am doing this to use JSP to spit out dynamic XML (instead of
> > HTML). I know
> > there are some taglibs that allow parts of a JSP page to be used in this
> > fashion. I want to use the whole page. So I do this:
> >
> > try
> > {
> >   StringBuffer link = new StringBuffer();
> >   link.append( request.getScheme() + "://localhost" + r.getName() );
> >   if( r.getName().indexOf("?") >= 0 )
> > link.append("&jsessionid=" + request.getSession(true).getId() );
> >   else
> > link.append("?jsessionid=" + request.getSession(true).getId() );
> >
> >   URL url = new URL(link.toString());
> >
> >   xmlStream = new StreamSource(url.openConnection().getInputStream());
> > }
> > catch(Exception e)
> > {
> >   System.out.println(e.getMessage());
> >   e.printStackTrace(System.out);
> > }
> >
> >
> >
> > If anyone has better code to read in JSP for its dynamic
> output, I am all
> > ears (or eyes). The problem is, if you have a JSP page like this:
> >
> > <%
> >   Object o = null;
> >   System.out.println(o.toString());
> > %>
> >
> > 
> > 
> >
> >
> > The JSP page will "break" at run-time, throwing a Null Pointer
> Exception.
> > But, in the catch block, where it prints both the error message and the
> > stack trace, you don't see the same error message you would see in the
> > browser if you had just forwarded to that JSP page. The error
> should spit
> > out some sort of Null Pointer Exception message. But the error I get, no
> > matter what error the JSP page generates (both compile time and
> run time),
> > is always a File Not Found exception..meaning it was not able to
> > "open" the
> > JSP page and read its contents in.
> >
> > So, how would I get the JSP error message it sends to the
> output (or catch
> > it) to redisplay it?
> >
> > 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
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Catching exception JSP throws when reading it in for XML output..

2001-04-19 Thread Robert Nicholson

And you've verified that link.toString() actually is a a valid URL? What
happens when you put that in the browser? You get the null pointer
exception?

You not using cookies for session then right?
ie. you don't want to pass that stuff in as a cookie?


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey
> Sent: Thursday, April 19, 2001 10:18 PM
> To: [EMAIL PROTECTED]
> Subject: Catching exception JSP throws when reading it in for XML
> output..
>
>
> Hi all,
>
> I am having a bit of a problem trying to get the exception thrown in a JSP
> page that is being read in via code (instead of forwarded or
> redirected to).
> I am doing this to use JSP to spit out dynamic XML (instead of
> HTML). I know
> there are some taglibs that allow parts of a JSP page to be used in this
> fashion. I want to use the whole page. So I do this:
>
> try
> {
>   StringBuffer link = new StringBuffer();
>   link.append( request.getScheme() + "://localhost" + r.getName() );
>   if( r.getName().indexOf("?") >= 0 )
> link.append("&jsessionid=" + request.getSession(true).getId() );
>   else
> link.append("?jsessionid=" + request.getSession(true).getId() );
>
>   URL url = new URL(link.toString());
>
>   xmlStream = new StreamSource(url.openConnection().getInputStream());
> }
> catch(Exception e)
> {
>   System.out.println(e.getMessage());
>   e.printStackTrace(System.out);
> }
>
>
>
> If anyone has better code to read in JSP for its dynamic output, I am all
> ears (or eyes). The problem is, if you have a JSP page like this:
>
> <%
>   Object o = null;
>   System.out.println(o.toString());
> %>
>
> 
> 
>
>
> The JSP page will "break" at run-time, throwing a Null Pointer Exception.
> But, in the catch block, where it prints both the error message and the
> stack trace, you don't see the same error message you would see in the
> browser if you had just forwarded to that JSP page. The error should spit
> out some sort of Null Pointer Exception message. But the error I get, no
> matter what error the JSP page generates (both compile time and run time),
> is always a File Not Found exception..meaning it was not able to
> "open" the
> JSP page and read its contents in.
>
> So, how would I get the JSP error message it sends to the output (or catch
> it) to redisplay it?
>
> 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



Catching exception JSP throws when reading it in for XML output..

2001-04-19 Thread Kevin Duffey

Hi all,

I am having a bit of a problem trying to get the exception thrown in a JSP
page that is being read in via code (instead of forwarded or redirected to).
I am doing this to use JSP to spit out dynamic XML (instead of HTML). I know
there are some taglibs that allow parts of a JSP page to be used in this
fashion. I want to use the whole page. So I do this:

try
{
  StringBuffer link = new StringBuffer();
  link.append( request.getScheme() + "://localhost" + r.getName() );
  if( r.getName().indexOf("?") >= 0 )
link.append("&jsessionid=" + request.getSession(true).getId() );
  else
link.append("?jsessionid=" + request.getSession(true).getId() );

  URL url = new URL(link.toString());

  xmlStream = new StreamSource(url.openConnection().getInputStream());
}
catch(Exception e)
{
  System.out.println(e.getMessage());
  e.printStackTrace(System.out);
}



If anyone has better code to read in JSP for its dynamic output, I am all
ears (or eyes). The problem is, if you have a JSP page like this:

<%
  Object o = null;
  System.out.println(o.toString());
%>





The JSP page will "break" at run-time, throwing a Null Pointer Exception.
But, in the catch block, where it prints both the error message and the
stack trace, you don't see the same error message you would see in the
browser if you had just forwarded to that JSP page. The error should spit
out some sort of Null Pointer Exception message. But the error I get, no
matter what error the JSP page generates (both compile time and run time),
is always a File Not Found exception..meaning it was not able to "open" the
JSP page and read its contents in.

So, how would I get the JSP error message it sends to the output (or catch
it) to redisplay it?

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: servlets or jsp or servlets WITH jsp?

2001-04-19 Thread T.A. Flores

This conversation has been floating around the Servlet interest for a
couple of weeks, you really should check out that archive a good
exhange information

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


- Original Message -
From: Simon Chia <[EMAIL PROTECTED]>
Date: Thursday, April 19, 2001 8:11 pm
Subject: servlets or jsp or servlets WITH jsp?

> hello people, i'm still fresh in thejava world, i need help FAST
> to make up
> my mind on which language to choose for mynext project.. its
> either php, jsp
> or servlets, but being servlets first in my mind, i plan to dive
> into it..
> but with no java experiance, what dou all think? PLZ COMMENT!
> thanks a million, in advance!
>
>

===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> 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



servlets or jsp or servlets WITH jsp?

2001-04-19 Thread Simon Chia

hello people, i'm still fresh in thejava world, i need help FAST to make up
my mind on which language to choose for mynext project.. its either php, jsp
or servlets, but being servlets first in my mind, i plan to dive into it..
but with no java experiance, what dou all think? PLZ COMMENT!
thanks a million, in advance!

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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



[JavaMail Taglibs]

2001-04-19 Thread Jayson Falkner

I have been working on a Tag Library that supports the JavaMail API. The
first version is finished and it supports sending multipart emails and
attachments of all sorts.

If anyone is interested please check it out and provide some feedback.
Working out bugs is always easier with more people testing :)

Jayson Falkner
V.P./CTO, Amberjack Software LLC
[EMAIL PROTECTED]
www.jspinsider.com

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

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

2001-04-19 Thread Choak Visavayodhin

you can read in tomcat's [doc] folder, file : tomcat-ssl-howto.html

- Original Message -
From: Yutthachai Akesirasuwan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 9:34 PM
Subject: ssl


> I want to set my tomcat to use ssl.
> please tell me about this by detail.
> thank you very much.
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.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



Re: jdbc taglib solved

2001-04-19 Thread Jann VanOver

That's not at all crazy!  you are building a URL and a space is not a valid
URL character!  Makes perfect sense to me.

-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 8:21 AM
To: [EMAIL PROTECTED]
Subject: jdbc taglib solved


Hi, that was crazy, just leaving a space after name= like this :
"viewprogram.jsp?name= <%=rset1.getString(1)%>"
Does not work

BUT IT WORKS when I took off the space like this :
"viewprogram.jsp?name=<%=rset1.getString(1)%>"

Thanks.
_
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

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Custom Tag Lib

2001-04-19 Thread Arthur Alexander

Andres;

What sort of library were you looking for?

This is sort of like asking:
"Does anyone have a Java object I can get???"

The answer sort of depends on what you want the
Object, or in this case the Tag Library, to do for you.

Hope this helps a little
Art

- Original Message -
From: "Juan Andrés Chau Li" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 6:32 PM
Subject: Custom Tag Lib


> Hello,
> does someone know a good and reliable custom tag library ???
> Where can I get it???
>
> Thanks in advance.
> Andres
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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



Custom Tag Lib

2001-04-19 Thread Juan Andrés Chau Li

Hello,
does someone know a good and reliable custom tag library ???
Where can I get it???

Thanks in advance.
Andres

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Javascript question/discussion list?

2001-04-19 Thread Shannon Rose

If you do that, you will never be able to click the other buttons. But if
that's what you want... I'd recommend adding the TAGINDEX attribute to your
form.  Of course NN4 doesn't recognize that attribute, but what else is new?





~Shannon Rose
Peak Effects.com

> -Original Message-
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jann VanOver
> Sent: Thursday, April 19, 2001 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Javascript question/discussion list?
>
>
> You can use the "onFocus" handler.  On the element you want
> to skip, add:
>   onFocus="document.formname.fieldYouWantSelectedNext.focus()"
> or
>   onFocus="this.form.fieldYouWantSelectedNext.focus()"
>
> -Original Message-
> From: Barbara Geelan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 1:51 PM
> To: [EMAIL PROTECTED]
> Subject: OT: Javascript question/discussion list?
>
>
> I apoligize that this is off topic, but if someone could
> either help me with
> this question, or refer me to a javascript discussion group,
> I would be very
> grateful!!
>
> ***I am looking for a way to skip over two footer links (quit
> and back) to
> the 'NEXT' link, when a user tabs from the last form element.
>  In other
> words, when the user tabs from the last thing on the form, i
> want him to
> land on NEXT > , not the first two links which are quit and
> back.  
>
> Much thanks!!
> __
> Get your own FREE, personal Netscape Webmail account today at
> http://webmail.netscape.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
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Javascript question/discussion list?

2001-04-19 Thread Jann VanOver

You can use the "onFocus" handler.  On the element you want to skip, add:
  onFocus="document.formname.fieldYouWantSelectedNext.focus()"
or
  onFocus="this.form.fieldYouWantSelectedNext.focus()"

-Original Message-
From: Barbara Geelan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 1:51 PM
To: [EMAIL PROTECTED]
Subject: OT: Javascript question/discussion list?


I apoligize that this is off topic, but if someone could either help me with
this question, or refer me to a javascript discussion group, I would be very
grateful!!

***I am looking for a way to skip over two footer links (quit and back) to
the 'NEXT' link, when a user tabs from the last form element.  In other
words, when the user tabs from the last thing on the form, i want him to
land on NEXT > , not the first two links which are quit and back.  

Much thanks!!
__
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.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



Re: TOMCAT+Struts based application problem

2001-04-19 Thread Roberto Rodriguez G.

you must to define the follow variables

CLASSPATH=/usr/local/java/lib:/usr/local/java/jre/lib
TOMCAT_HOME=/usr/local/tomcat
JAVA_HOME=/usr/local/java
export JAVA_HOME
export TOMCAT_HOME
export CLASSPATH

an then run

/usr/local/tomcat/bin/sh startup.sh
bye

Jim Bruno Goldberg wrote:

> Hi, people.
>
>  I try some help from struts mailing list but I got no solution. I
> am using a apache+jserv_mod+tomcat and this works fine. I am trying to
> begin develop with Struts, but when I put *.war file on tomcat's webapps
> dir, and restart the tomcat I got the following error:
>
> darkness# /usr/local/tomcat/bin/startup.sh
>
> Guessing TOMCAT_HOME from tomcat.sh to /usr/local/tomcat/bin/..
> Setting TOMCAT_HOME to /usr/local/tomcat/bin/..
> Using classpath:
> 
>/usr/local/tomcat/bin/../classes:.:/usr/local/tomcat/bin/../lib/ant.jar:/usr/local/tomcat/bin/../lib/jasper.jar:/usr/local/tomcat/bin/../lib/mysql_comp.jar:/usr/local/tomcat/bin/../lib/mysql_uncomp.jar:/usr/local/tomcat/bin/../lib/servlet.jar:/usr/local/tomcat/bin/../lib/webserver.jar:/usr/local/tomcat/bin/../lib/xml.jar
> darkness# Starting tomcat. Check logs/tomcat.log for error messages
> java.lang.NoClassDefFoundError
>
> darkness#
>
>  If I rename the web.xml from WEB-INF diretory to another name,
> this does not happen:
>
> darkness# mv /usr/local/tomcat/webapps/struts-test/WEB-INF/web.xml
> /usr/local/tomcat/webapps/struts-test/WEB-INF/w
>
> darkness# /usr/local/tomcat/bin/startup.sh
>
> Guessing TOMCAT_HOME from tomcat.sh to /usr/local/tomcat/bin/..
> Setting TOMCAT_HOME to /usr/local/tomcat/bin/..
> Using classpath:
> 
>/usr/local/tomcat/bin/../classes:.:/usr/local/tomcat/bin/../lib/ant.jar:/usr/local/tomcat/bin/../lib/jasper.jar:/usr/local/tomcat/bin/../lib/mysql_comp.jar:/usr/local/tomcat/bin/../lib/mysql_uncomp.jar:/usr/local/tomcat/bin/../lib/servlet.jar:/usr/local/tomcat/bin/../lib/webserver.jar:/usr/local/tomcat/bin/../lib/xml.jar
>
> darkness# Starting tomcat. Check logs/tomcat.log for error messages
>
> darkness#
>
>  What is hapenning? A syntax error in this file? But it is original
> from struts.
>  Can anyone send me some lights? Thank you.
>
> CUL8R,[]s
> Jim Bruno Goldberg <[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

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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



java.lang.IllegalStateException

2001-04-19 Thread Prashant Sinha

Hi everybody, I'm getting this awful message when I try to load a JSP
file.

java.lang.IllegalStateException: Response has already been committed

Any suggestion? I am using <%@include  directive for includin files, and
this page was working fine before i made some changes just added some more
variables and now even old page doesnt seem to be working give the same
error.any soultion???
thanks,
-Kakar.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Javascript question/discussion list?

2001-04-19 Thread Karau, Joe

on the form element implement the onBlur() event handler to set the focus to
the 'NEXT' link.

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


-Original Message-
From: Barbara Geelan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 3:51 PM
To: [EMAIL PROTECTED]
Subject: OT: Javascript question/discussion list?


I apoligize that this is off topic, but if someone could either help me with
this question, or refer me to a javascript discussion group, I would be very
grateful!!

***I am looking for a way to skip over two footer links (quit and back) to
the 'NEXT' link, when a user tabs from the last form element.  In other
words, when the user tabs from the last thing on the form, i want him to
land on NEXT > , not the first two links which are quit and back.  

Much thanks!!
__
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.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



Is there a way to unmark the option of the IE browser Internet Options with javascript?.

2001-04-19 Thread Lorena Carlo

Hello all,

Can somebody tell me, if there a way to unmark the option of the IE =
browser Internet Options with javascript?.

Thanks in advance

Lorena

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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



OT: Javascript question/discussion list?

2001-04-19 Thread Barbara Geelan

I apoligize that this is off topic, but if someone could either help me with this 
question, or refer me to a javascript discussion group, I would be very grateful!!

***I am looking for a way to skip over two footer links (quit and back) to the 'NEXT' 
link, when a user tabs from the last form element.  In other words, when the user tabs 
from the last thing on the form, i want him to land on NEXT > , not the first two 
links which are quit and back.  

Much thanks!!
__
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.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: putting a comment in jsp code

2001-04-19 Thread Bruce Geerdes

--- Florian DREVET <[EMAIL PROTECTED]> wrote:
> Same as Java in scriptlet parts, same as HTML in HTML parts.

Using HTML comments



are fine if you don't mind those comments appearing in the final HTML
page (viewable via browser's view source).  If you prefer to keep those
comments private, however, it's better to use the JSP commenting:

<%-- --%>

Bruce


>
> -Message d'origine-
> De : A mailing list about Java Server Pages specification and
> reference
> [mailto:[EMAIL PROTECTED]]De la part de BERWART Thierry
> Envoyé : jeudi 19 avril 2001 09:13
> À : [EMAIL PROTECTED]
> Objet : putting a comment in jsp code
>
>
> Hello,
>
> How can I put a code in comment in JSP ?
>
> Thanks
>
> Thierry



__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.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: jsp tomcat reloading problems...

2001-04-19 Thread Tuan Trinh

Try clicking on Shift+Reload button, this will reload the cache.

Chao


>From: Ivan Handler <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: jsp tomcat reloading problems...
>Date: Thu, 19 Apr 2001 10:58:17 -0500
>
>The problem is probably local cache.  I have noticed the same thing.
>Based upon previous suggestions from
>another list (jcorporate) I have included the following in all of my
>jsps:
>---
>
>response.setHeader("Cache-Control","no-cache");
>response.setHeader("Pragma","no-cache");  // //HTTP 1.0
>response.setDateHeader("Expires",0);  //prevents caching at the proxy
>server
>---
>
>This seems to force IE 5.5 (or whatever version you are running) to go
>to the server.  It eventually will, but in my
>experience it can take several hours.  BTW I am using W2K with sp1.
>
>Another technique that you can use (that comes from this list) is to add
>a dummy parameter that is
>always different (say ?x=nnn) where nnn... is the number of
>milliseconds from 1/1/70.  This
>can easily be created in Javascript in the browser.  In this way the
>browser will also ignore anything
>it has in cache.
>
> > Subject: jsp tomcat reloading problems...
> >Date: Wed, 18 Apr 2001 17:56:28 +0200
> >From:  Martin Kjellqvist
> >
> > Hi All.
> >
> > I have run into a really anoing problem which I can't seem to fix.
> >
> > When I have done any changing in an existing jsp page tomcat won't
>reload
> > it.
> > I have to shutdown and restart tomcat, and sometimes I even have to
>delete
> > the work folder to get tomcat to reconignize (don't know how to spell
>that
> > word :)) the changes I made to the page.
> >
> > The problem started when I changed my OS from win 98 to win 2000 pro.
>Never
> > had that problem before. I use tomcat 3.2 (copied the entire folder from
>win
> > 98 system) and java 1.3.0 on a PIII 550 128MB.
> >
> > Anyone had the same problem? Any suggestions?
> >
> > Regards
> >
> > /Martin
> >
> > 
> > Martin Kjellqvist
> > cellular: +46 (0)705 - 72 01 87
> >
> > Teknik i Media Phone: +46 (0)40 97 33 10
> > Per Weijersgatan 4   Fax: +46 (0)40 97 95 93
> > S-211 34 Malmö
> > Webb: http://www.tim.se
> > E-mail: [EMAIL PROTECTED]
> > 
> >
> >
>--
>Ivan Handler
>Networking for Democracy
>[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

_
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: DB2 JDBC error

2001-04-19 Thread Robert Merrill

Hello,

On Thu, 19 Apr 2001, Automatic digest processor wrote:

> Date:Wed, 18 Apr 2001 14:58:21 +0300
> From:Ali ASLAN <[EMAIL PROTECTED]>
> Subject: URGENT About undocumented DB2 JDBC error ...
>
> > Hi,
> >
> >   My platform is SunOs 5.8
> >   App Server is : IBM WebSphere 3.5
> >   DBMS is : IBM DB2 UDB ver 7.1
> >
> >   when I connect to DBMS I take some really strange undocumented error
> such as,
> >
> >   [IBM] [JDBC driver] CLI0647E Error handling DB2 environment rc=db2jdbc.
> >
> >   Can Anyone ,who see this message, help me?
> >
> >   Thanks in advance,
> >
> >   Ali ASLAN

I've seen this message when using a type 2 (non-pure-Java) DB2 driver
that relies on a native code shared object 'libdb2jdbc.so' and the
application can't find it. There needs to be an environment variable
set to the path where the shared object can be found. In Linux it's
LD_LIBRARY_PATH.

Robert Merrill
Software Engineer
Berbee
5520 Research Park Drive  Madison, WI 53711
[EMAIL PROTECTED]
608.298.1036   Fax 608.278.8539

Berbee...putting the E in business

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Writing quotes to a DB

2001-04-19 Thread Gavin Meehan

Hi Guys
Thanks for the suggestions, which i tried, but im still getting the same
error. If for example i entered "it's red" in the description field.  the
code is shown, i would be greatful for any further comments:

Thanks


//Create SQL query
String query = "INSERT INTO events " +
   "VALUES(null, " +
   "'" + type + "', " +
   "'" + description + "', " +
   "'" + date + "', " +
   "'" + today + "')";

//debug
System.out.println(query);

try {
PreparedStatement s = dbCon.prepareStatement(query);
s.executeQuery();

}catch(SQLException e) {

}

>From: Clayton Nash <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Writing quotes to a DB
>Date: Thu, 19 Apr 2001 16:41:33 +0100
>
>If you use a PreparedStatement the perl type quoting happens automatically
>when you set the attribute you're trying to insert.
>
>Clayton
>
>-Original Message-
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Gavin Meehan
>Sent: 19 April 2001 16:25
>To: [EMAIL PROTECTED]
>Subject: Writing quotes to a DB
>
>
>Hi
>
>I have form based application that uses JSP, and a MySQL DB. My problem is
>that when i enter a quote in one of the form fields the SQL insert query
>will fail.
>
>   eg inserting the Damien O' Dowd will fall over because of the single
>quote
>after the O. I know this can eaisly be sorted in Perl using the DBI quote
>function, is there any such method in Java ???
>
>Thanks Damien
>
>
>_
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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

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



Re: Writing quotes to a DB

2001-04-19 Thread Gavin Meehan

Hi again

I got the PreparedStatement to work thanks a lot !!

Damien

>From: Gavin Meehan <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Writing quotes to a DB
>Date: Thu, 19 Apr 2001 16:24:14 -
>
>Hi Guys
>Thanks for the suggestions, which i tried, but im still getting the same
>error. If for example i entered "it's red" in the description field.  the
>code is shown, i would be greatful for any further comments:
>
>Thanks
>
>
>//Create SQL query
>String query = "INSERT INTO events " +
>   "VALUES(null, " +
>   "'" + type + "', " +
>   "'" + description + "', " +
>   "'" + date + "', " +
>   "'" + today + "')";
>
>//debug
>System.out.println(query);
>
>try {
>PreparedStatement s = dbCon.prepareStatement(query);
>s.executeQuery();
>
>}catch(SQLException e) {
>
>}
>
>>From: Clayton Nash <[EMAIL PROTECTED]>
>>Reply-To: A mailing list about Java Server Pages specification and
>> reference <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re: Writing quotes to a DB
>>Date: Thu, 19 Apr 2001 16:41:33 +0100
>>
>>If you use a PreparedStatement the perl type quoting happens automatically
>>when you set the attribute you're trying to insert.
>>
>>Clayton
>>
>>-Original Message-
>>From: A mailing list about Java Server Pages specification and reference
>>[mailto:[EMAIL PROTECTED]]On Behalf Of Gavin Meehan
>>Sent: 19 April 2001 16:25
>>To: [EMAIL PROTECTED]
>>Subject: Writing quotes to a DB
>>
>>
>>Hi
>>
>>I have form based application that uses JSP, and a MySQL DB. My problem is
>>that when i enter a quote in one of the form fields the SQL insert query
>>will fail.
>>
>>   eg inserting the Damien O' Dowd will fall over because of the single
>>quote
>>after the O. I know this can eaisly be sorted in Perl using the DBI quote
>>function, is there any such method in Java ???
>>
>>Thanks Damien
>>
>>
>>_
>>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>>
>>===
>>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>>JSP-INTEREST".
>>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>>DIGEST".
>>Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.html
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>
>>===
>>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>>JSP-INTEREST".
>>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>>DIGEST".
>>Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.html
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>_
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>http://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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

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



Re: jsp tomcat reloading problems...

2001-04-19 Thread Ivan Handler

The problem is probably local cache.  I have noticed the same thing.
Based upon previous suggestions from
another list (jcorporate) I have included the following in all of my
jsps:
---

response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");  // //HTTP 1.0
response.setDateHeader("Expires",0);  //prevents caching at the proxy
server
---

This seems to force IE 5.5 (or whatever version you are running) to go
to the server.  It eventually will, but in my
experience it can take several hours.  BTW I am using W2K with sp1.

Another technique that you can use (that comes from this list) is to add
a dummy parameter that is
always different (say ?x=nnn) where nnn... is the number of
milliseconds from 1/1/70.  This
can easily be created in Javascript in the browser.  In this way the
browser will also ignore anything
it has in cache.

> Subject: jsp tomcat reloading problems...
>Date: Wed, 18 Apr 2001 17:56:28 +0200
>From:  Martin Kjellqvist
>
> Hi All.
>
> I have run into a really anoing problem which I can't seem to fix.
>
> When I have done any changing in an existing jsp page tomcat won't reload
> it.
> I have to shutdown and restart tomcat, and sometimes I even have to delete
> the work folder to get tomcat to reconignize (don't know how to spell that
> word :)) the changes I made to the page.
>
> The problem started when I changed my OS from win 98 to win 2000 pro. Never
> had that problem before. I use tomcat 3.2 (copied the entire folder from win
> 98 system) and java 1.3.0 on a PIII 550 128MB.
>
> Anyone had the same problem? Any suggestions?
>
> Regards
>
> /Martin
>
> 
> Martin Kjellqvist
> cellular: +46 (0)705 - 72 01 87
>
> Teknik i Media Phone: +46 (0)40 97 33 10
> Per Weijersgatan 4   Fax: +46 (0)40 97 95 93
> S-211 34 Malmö
> Webb: http://www.tim.se
> E-mail: [EMAIL PROTECTED]
> 
>
>
--
Ivan Handler
Networking for Democracy
[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: Writing quotes to a DB

2001-04-19 Thread Clayton Nash

If you use a PreparedStatement the perl type quoting happens automatically
when you set the attribute you're trying to insert.

Clayton

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Gavin Meehan
Sent: 19 April 2001 16:25
To: [EMAIL PROTECTED]
Subject: Writing quotes to a DB


Hi

I have form based application that uses JSP, and a MySQL DB. My problem is
that when i enter a quote in one of the form fields the SQL insert query
will fail.

  eg inserting the Damien O' Dowd will fall over because of the single quote
after the O. I know this can eaisly be sorted in Perl using the DBI quote
function, is there any such method in Java ???

Thanks Damien


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

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

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

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Writing quotes to a DB

2001-04-19 Thread David Cate

Try using a prepared statement... I've gotten this to work with the majority
of symbols.

-Original Message-
From: Gavin Meehan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: Writing quotes to a DB


Hi

I have form based application that uses JSP, and a MySQL DB. My problem is
that when i enter a quote in one of the form fields the SQL insert query
will fail.

  eg inserting the Damien O' Dowd will fall over because of the single quote
after the O. I know this can eaisly be sorted in Perl using the DBI quote
function, is there any such method in Java ???

Thanks Damien


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

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

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

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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



Writing quotes to a DB

2001-04-19 Thread Gavin Meehan

Hi

I have form based application that uses JSP, and a MySQL DB. My problem is
that when i enter a quote in one of the form fields the SQL insert query
will fail.

  eg inserting the Damien O' Dowd will fall over because of the single quote
after the O. I know this can eaisly be sorted in Perl using the DBI quote
function, is there any such method in Java ???

Thanks Damien


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

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

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



jdbc taglib solved

2001-04-19 Thread sufi malak

Hi, that was crazy, just leaving a space after name= like this :
"viewprogram.jsp?name= <%=rset1.getString(1)%>"
Does not work

BUT IT WORKS when I took off the space like this :
"viewprogram.jsp?name=<%=rset1.getString(1)%>"

Thanks.
_
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



ssl

2001-04-19 Thread Yutthachai Akesirasuwan

I want to set my tomcat to use ssl.
please tell me about this by detail.
thank you very much.

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.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



TOMCAT+Struts based application problem

2001-04-19 Thread Jim Bruno Goldberg

Hi, people.

 I try some help from struts mailing list but I got no solution. I
am using a apache+jserv_mod+tomcat and this works fine. I am trying to
begin develop with Struts, but when I put *.war file on tomcat's webapps
dir, and restart the tomcat I got the following error:

darkness# /usr/local/tomcat/bin/startup.sh

Guessing TOMCAT_HOME from tomcat.sh to /usr/local/tomcat/bin/..
Setting TOMCAT_HOME to /usr/local/tomcat/bin/..
Using classpath:
/usr/local/tomcat/bin/../classes:.:/usr/local/tomcat/bin/../lib/ant.jar:/usr/local/tomcat/bin/../lib/jasper.jar:/usr/local/tomcat/bin/../lib/mysql_comp.jar:/usr/local/tomcat/bin/../lib/mysql_uncomp.jar:/usr/local/tomcat/bin/../lib/servlet.jar:/usr/local/tomcat/bin/../lib/webserver.jar:/usr/local/tomcat/bin/../lib/xml.jar
darkness# Starting tomcat. Check logs/tomcat.log for error messages
java.lang.NoClassDefFoundError

darkness#


 If I rename the web.xml from WEB-INF diretory to another name,
this does not happen:

darkness# mv /usr/local/tomcat/webapps/struts-test/WEB-INF/web.xml
/usr/local/tomcat/webapps/struts-test/WEB-INF/w

darkness# /usr/local/tomcat/bin/startup.sh

Guessing TOMCAT_HOME from tomcat.sh to /usr/local/tomcat/bin/..
Setting TOMCAT_HOME to /usr/local/tomcat/bin/..
Using classpath:
/usr/local/tomcat/bin/../classes:.:/usr/local/tomcat/bin/../lib/ant.jar:/usr/local/tomcat/bin/../lib/jasper.jar:/usr/local/tomcat/bin/../lib/mysql_comp.jar:/usr/local/tomcat/bin/../lib/mysql_uncomp.jar:/usr/local/tomcat/bin/../lib/servlet.jar:/usr/local/tomcat/bin/../lib/webserver.jar:/usr/local/tomcat/bin/../lib/xml.jar

darkness# Starting tomcat. Check logs/tomcat.log for error messages

darkness#

 What is hapenning? A syntax error in this file? But it is original
from struts.
 Can anyone send me some lights? Thank you.


CUL8R,[]s
Jim Bruno Goldberg <[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: URGENT About undocumented DB2 JDBC error ...

2001-04-19 Thread Aboul - Enein, Ahmed Ahmed (Ahmed)

Hello Ali,
  Try this http://www.idug.org/  It's International DB2 User Group.
  I did not use DB2 for the last year, but I remember you can get the
explanation of any error number from HTML help provided with DB2
  Good luck!

Regards,
Ahmed Aboul-Enein

-Original Message-
From: Ali ASLAN [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 10:34 AM
To: [EMAIL PROTECTED]
Subject: URGENT About undocumented DB2 JDBC error ...


>
> > Hi,
> >
> >   My platform is SunOs 5.8
> >   App Server is : IBM WebSphere 3.5
> >   DBMS is : IBM DB2 UDB ver 7.1
> >
> >   when I connect to DBMS I take some really strange undocumented error
> such as,
> >
> >   [IBM] [JDBC driver] CLI0647E Error handling DB2 environment
rc=db2jdbc.
> >
> >   Can Anyone ,who see this message, help me?
> >
> >   Thanks in advance,
> >
> >   Ali ASLAN
> >
> >
> >
> >
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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: Servlets or JSP OR PHP!!!!

2001-04-19 Thread Celeste Haseltine

I have the book by Marty Hall that you reference below, and it is an
excellent resource book.  I don't recommend it by itself if you are totally
new to both Java and OO programming.  If you don't have a C++ background,
you might want to also get a good basic Java book, such as Beginning Java 2,
by Ivor Horton.  I also use the book Professional JSP, by Wrox Press Ltd,
ISBN number 1-861003-62-5 as a JSP/XML/JDBC/EJB/Servelet resource book.  It
covers a little of everything.

Hope this helps!

Celeste

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Simon Chia
Sent: Thursday, April 19, 2001 4:21 AM
To: [EMAIL PROTECTED]
Subject: Servlets or JSP OR PHP


hello people, i'm currently developing webpages using coldfusion, and later
on when i start donig new projects i wish to expend my skills... using other
tools and language.
servlets, jsp and php came into mind.. as servlets being the first choice. i
do not have any java skills with me... so i guess programming in servlets
would be a hard thing
but anyway, can anyone help me and give me good advice on which of these 3
to go for... my personal choice would be servlets...
and i have surf the web for some good books, and i came across
core servlet and jsp by Marty Hall what do you all think about this book for
a biginner like me? or any other good books

 and can some1 plz tell me what is the PURE different between php and jsp?

thanks for you help in advance!
i need to make this decision fast!

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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-04-19 Thread sridevi bendapudi
unsubscribe
 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: putting breakpoints in jsp code

2001-04-19 Thread Dmitry Namiot

check out this tag:
http://coldjava.hypermart.net/servlets/skiptag.htm


--
Coldjava - server-side Java components
http://coldjava.hypermart.net
__
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.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: File Upload from HTML form

2001-04-19 Thread kuttappan

Dear Michiel,
I'd be greateful if you could mail me the FileUploadServlet or post me a
link from wher I can download. Thanks.

Rohit.
- Original Message -
From: "Hoorn, Michiel van" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, 19 April, 2001 3:47 PM
Subject: Re: File Upload from HTML form


> Sun has got a standard FileUploadServlet.
> It isn't jsp but if you want i can mail it to you...
>
> M;
>
> > --
> > From: Patrice Descorps[SMTP:[EMAIL PROTECTED]]
> > Reply To: A mailing list about Java Server Pages specification and
> > reference
> > Sent: Wednesday, April 18, 2001 5:42 AM
> > To:   [EMAIL PROTECTED]
> > Subject:  File Upload from HTML form
> >
> > Hi everybody,
> >
> > I'm just trying to get an attached file from an HTML form (POST method)
> > that
> > the use as sent.
> >
> > How can I do this? What can of code should I use?
> >
> > 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
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 07/03/2001

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

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



Re: File Upload from HTML form

2001-04-19 Thread Hoorn, Michiel van

Wait, this is what you want :-)

http://www.jspsmart.com/scripts/pub/tpl/ShowTplADV_06.asp?P=258&L=EN

> --
> From: Hoorn, Michiel van[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Thursday, April 19, 2001 12:17 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: File Upload from HTML form
>
> Sun has got a standard FileUploadServlet.
> It isn't jsp but if you want i can mail it to you...
>
> M;
>
> > --
> > From: Patrice Descorps[SMTP:[EMAIL PROTECTED]]
> > Reply To: A mailing list about Java Server Pages specification and
> > reference
> > Sent: Wednesday, April 18, 2001 5:42 AM
> > To:   [EMAIL PROTECTED]
> > Subject:  File Upload from HTML form
> >
> > Hi everybody,
> >
> > I'm just trying to get an attached file from an HTML form (POST method)
> > that
> > the use as sent.
> >
> > How can I do this? What can of code should I use?
> >
> > 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
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: JavaBeans vs EJB !!

2001-04-19 Thread Patrick Fong

Hiya

I recently read/went through a EJB tutorial, available from IBM
developerWorks (http://www-106.ibm.com/developerworks/). I have a hard copy
of the JavaBeans tutorial, and I will go through it after my project is due
next Tuesday. The JavaBeans Tutorial is available from jGuru.com.

I find them very helpful. I havent worked with MS yet, but I find that EJB
and Javabeans are pretty good handy.

Patrick


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

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

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



Re: File Upload from HTML form

2001-04-19 Thread Hoorn, Michiel van

Sun has got a standard FileUploadServlet.
It isn't jsp but if you want i can mail it to you...

M;

> --
> From: Patrice Descorps[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Wednesday, April 18, 2001 5:42 AM
> To:   [EMAIL PROTECTED]
> Subject:  File Upload from HTML form
>
> Hi everybody,
>
> I'm just trying to get an attached file from an HTML form (POST method)
> that
> the use as sent.
>
> How can I do this? What can of code should I use?
>
> 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



JavaBeans vs EJB !!

2001-04-19 Thread Shahaji Kadam.

Hi All,

I am from ASP background, and have worked with MTS etc.

I have joined another project where the system design was made considering
JavaBeans, but now we want to use EJB.

As I have to explore the impact of it on the system architecture as such,
design and development I would like to know your opinion on the same.

How straightforward it is or will it invite major (or any) design changes?

Any suggestions, issues, alerts, comments are welcome !!

Thanks in advance !!

~Shahaji.Kadam

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Servlets or JSP OR PHP!!!!

2001-04-19 Thread Casper Madsen

Hi Simon!

I can tell you that "Core Servlet and JSP" is a REALLY GREAT BOOK! I enjoyed
reading it when i first startet with servlets and JSP! :)

It's a beginners book and you start with the well known Hello World exampel!
:)
It is well written, and very easy to understand, but it enquire some java
skills (it dosn't explain the java language).

If your first choice is to program servlets, then go for it! :)
But you will soon discover that JSP and Servlets goes hand in hand! :)

Enjoy!

Best regards,

Casper Madsen

-Original Message-
From: Simon Chia [mailto:[EMAIL PROTECTED]]
Sent: 19. april 2001 11:21
To: [EMAIL PROTECTED]
Subject: Servlets or JSP OR PHP


hello people, i'm currently developing webpages using coldfusion, and later
on when i start donig new projects i wish to expend my skills... using other
tools and language.
servlets, jsp and php came into mind.. as servlets being the first choice. i
do not have any java skills with me... so i guess programming in servlets
would be a hard thing
but anyway, can anyone help me and give me good advice on which of these 3
to go for... my personal choice would be servlets...
and i have surf the web for some good books, and i came across
core servlet and jsp by Marty Hall what do you all think about this book for
a biginner like me? or any other good books

 and can some1 plz tell me what is the PURE different between php and jsp?

thanks for you help in advance!
i need to make this decision fast!

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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: Servlets or JSP OR PHP!!!!

2001-04-19 Thread Florian DREVET

Hello,

I'm programming in Php/Java/C++ etc. and as far as I know these languages, I
could say that :
- PHP types are very easy to handle in respect of Java types handling. I say
that because even if you can cast types in PHP, it automaticaly cast them in
a lot of cases.
- PHP have some lakes in his object features, I prefer Java for this even if
I've wrote a lot of classes in PHP.
- The syntaxe is slightly different between these two languages but if you
learn Java you'll be able to write PHP scripts very quickly (they're based
on C/C++ language), it's only a problem of owner syntax.

Good luck :-)

Florian

-Message d'origine-
De : A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]De la part de Simon Chia
Envoyé : jeudi 19 avril 2001 11:21
À : [EMAIL PROTECTED]
Objet : Servlets or JSP OR PHP


hello people, i'm currently developing webpages using coldfusion, and later
on when i start donig new projects i wish to expend my skills... using other
tools and language.
servlets, jsp and php came into mind.. as servlets being the first choice. i
do not have any java skills with me... so i guess programming in servlets
would be a hard thing
but anyway, can anyone help me and give me good advice on which of these 3
to go for... my personal choice would be servlets...
and i have surf the web for some good books, and i came across
core servlet and jsp by Marty Hall what do you all think about this book for
a biginner like me? or any other good books

 and can some1 plz tell me what is the PURE different between php and jsp?

thanks for you help in advance!
i need to make this decision fast!

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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



Content-Length

2001-04-19 Thread Yasuo Itoh
Hello,

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

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

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

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

 Apche_1_3_14_WIN, jakarta-tomcat-3.2.1, jdk1.2.2

 Thank you,

("Ichiro Suzuki" is No.1 !!)
---
 Yasuo Itoh <[EMAIL PROTECTED]>
 office:Cresc Corporation 
4-5-12-201 Shiba Minato-ku Tokyo Japan 108-0014
TEL/FAX 03-5484-7885
 home:  <[EMAIL PROTECTED]>

---

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

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


Servlets or JSP OR PHP!!!!

2001-04-19 Thread Simon Chia

hello people, i'm currently developing webpages using coldfusion, and later
on when i start donig new projects i wish to expend my skills... using other
tools and language.
servlets, jsp and php came into mind.. as servlets being the first choice. i
do not have any java skills with me... so i guess programming in servlets
would be a hard thing
but anyway, can anyone help me and give me good advice on which of these 3
to go for... my personal choice would be servlets...
and i have surf the web for some good books, and i came across
core servlet and jsp by Marty Hall what do you all think about this book for
a biginner like me? or any other good books

 and can some1 plz tell me what is the PURE different between php and jsp?

thanks for you help in advance!
i need to make this decision fast!

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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



SV: jsp tomcat reloading ... SOLVED

2001-04-19 Thread Martin Kjellqvist

Problem solved..

The jsp files where on a fileserver which had a different date than my
machine so when I copied them to my machine tomcat didn't recongnize the
files as newer and therefore didn't re-compile them..

stupid me... :)

/Martin



-Ursprungligt meddelande-
Från: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]För BERWART Thierry
Skickat: den 19 april 2001 08:46
Till: [EMAIL PROTECTED]
Ämne: Re: jsp tomcat reloading problems...


I have the same problem  :(

Thierry

-Message d'origine-
De : Martin Kjellqvist [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 18 avril 2001 17:56
À : [EMAIL PROTECTED]
Objet : jsp tomcat reloading problems...


Hi All.

I have run into a really anoing problem which I can't seem to fix.

When I have done any changing in an existing jsp page tomcat won't reload
it.
I have to shutdown and restart tomcat, and sometimes I even have to delete
the work folder to get tomcat to reconignize (don't know how to spell that
word :)) the changes I made to the page.

The problem started when I changed my OS from win 98 to win 2000 pro. Never
had that problem before. I use tomcat 3.2 (copied the entire folder from win
98 system) and java 1.3.0 on a PIII 550 128MB.

Anyone had the same problem? Any suggestions?

Regards

/Martin


Martin Kjellqvist
cellular: +46 (0)705 - 72 01 87

Teknik i Media Phone: +46 (0)40 97 33 10
Per Weijersgatan 4   Fax: +46 (0)40 97 95 93
S-211 34 Malmö
Webb: http://www.tim.se
E-mail: [EMAIL PROTECTED]


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

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

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

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

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

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



Re: how to count user who are accessing site at the same time ?

2001-04-19 Thread Florian DREVET

You should look for a file like global.asa from Microsoft's ASP, I'm not
sure but I think I see it somewhere, like global.jsa

-Message d'origine-
De : A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]De la part de Shang Zhengjun
Envoye : jeudi 19 avril 2001 09:41
A : [EMAIL PROTECTED]
Objet : how to count user who are accessing site at the same time ?


hi
how to count the users who are accessing
my web site at the same time ?

my web site is apache server.


thanks a lot.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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: jsp tomcat reloading problems...

2001-04-19 Thread John Thomas

Hi,
 Check in server.xml to see if ---reloadable="true" .
One thing i noticed with tomcat is that "once" in a random no of days,
tomcat takes the jsp compiled to servlet files that is already their
in "\work" folder, rather than recompiling the changed
jsp page. If this is the scenario, delete the contents in "work"
folder before giving request for the changed jsp page.

If u are changing the bean class, declared as session or application
scope then u must either delete the contents ofwork folder  or restart
server,

Regards
John





BERWART Thierry <[EMAIL PROTECTED]>@java.sun.com> on
04/19/2001 12:15:53 PM

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

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


To:   [EMAIL PROTECTED]
cc:
Subject:  Re: jsp tomcat reloading problems...


I have the same problem  :(

Thierry

-Message d'origine-
De : Martin Kjellqvist [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 18 avril 2001 17:56
À : [EMAIL PROTECTED]
Objet : jsp tomcat reloading problems...


Hi All.

I have run into a really anoing problem which I can't seem to fix.

When I have done any changing in an existing jsp page tomcat won't
reload
it.
I have to shutdown and restart tomcat, and sometimes I even have to
delete
the work folder to get tomcat to reconignize (don't know how to spell
that
word :)) the changes I made to the page.

The problem started when I changed my OS from win 98 to win 2000 pro.
Never
had that problem before. I use tomcat 3.2 (copied the entire folder
from win
98 system) and java 1.3.0 on a PIII 550 128MB.

Anyone had the same problem? Any suggestions?

Regards

/Martin


Martin Kjellqvist
cellular: +46 (0)705 - 72 01 87

Teknik i Media Phone: +46 (0)40 97 33 10
Per Weijersgatan 4   Fax: +46 (0)40 97 95 93
S-211 34 Malmö
Webb: http://www.tim.se
E-mail: [EMAIL PROTECTED]


===

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

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

===

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

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

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

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



Re: putting a comment in jsp code

2001-04-19 Thread Florian DREVET

Same as Java in scriptlet parts, same as HTML in HTML parts.

-Message d'origine-
De : A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]De la part de BERWART Thierry
Envoyé : jeudi 19 avril 2001 09:13
À : [EMAIL PROTECTED]
Objet : putting a comment in jsp code


Hello,

How can I put a code in comment in JSP ?

Thanks

Thierry

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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: putting a comment in jsp code

2001-04-19 Thread BERWART Thierry

thanks you ;)

-Message d'origine-
De : John Thomas [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 19 avril 2001 10:52
À : [EMAIL PROTECTED]
Objet : Re: putting a comment in jsp code


Hi,
jsp comments

<%---

---%>
applicable across the document.

U can also use html comments or java comments in the html or java
portions of the page.
John




BERWART Thierry <[EMAIL PROTECTED]>@java.sun.com> on
04/19/2001 12:43:29 PM

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

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


To:   [EMAIL PROTECTED]
cc:
Subject:  putting a comment in jsp code


Hello,

How can I put a code in comment in JSP ?

Thanks

Thierry

===

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

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

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

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

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

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



URGENT About undocumented DB2 JDBC error ...

2001-04-19 Thread Ali ASLAN

>
> > Hi,
> >
> >   My platform is SunOs 5.8
> >   App Server is : IBM WebSphere 3.5
> >   DBMS is : IBM DB2 UDB ver 7.1
> >
> >   when I connect to DBMS I take some really strange undocumented error
> such as,
> >
> >   [IBM] [JDBC driver] CLI0647E Error handling DB2 environment
rc=db2jdbc.
> >
> >   Can Anyone ,who see this message, help me?
> >
> >   Thanks in advance,
> >
> >   Ali ASLAN
> >
> >
> >
> >
>

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

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



how to count user who are accessing site at the same time ?

2001-04-19 Thread Shang Zhengjun

hi
how to count the users who are accessing
my web site at the same time ?

my web site is apache server.


thanks a lot.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: putting a comment in jsp code

2001-04-19 Thread John Thomas

Hi,
jsp comments

<%---

---%>
applicable across the document.

U can also use html comments or java comments in the html or java
portions of the page.
John




BERWART Thierry <[EMAIL PROTECTED]>@java.sun.com> on
04/19/2001 12:43:29 PM

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

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


To:   [EMAIL PROTECTED]
cc:
Subject:  putting a comment in jsp code


Hello,

How can I put a code in comment in JSP ?

Thanks

Thierry

===

To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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: jsp tomcat reloading problems...

2001-04-19 Thread BERWART Thierry

I have the same problem  :(

Thierry

-Message d'origine-
De : Martin Kjellqvist [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 18 avril 2001 17:56
À : [EMAIL PROTECTED]
Objet : jsp tomcat reloading problems...


Hi All.

I have run into a really anoing problem which I can't seem to fix.

When I have done any changing in an existing jsp page tomcat won't reload
it.
I have to shutdown and restart tomcat, and sometimes I even have to delete
the work folder to get tomcat to reconignize (don't know how to spell that
word :)) the changes I made to the page.

The problem started when I changed my OS from win 98 to win 2000 pro. Never
had that problem before. I use tomcat 3.2 (copied the entire folder from win
98 system) and java 1.3.0 on a PIII 550 128MB.

Anyone had the same problem? Any suggestions?

Regards

/Martin


Martin Kjellqvist
cellular: +46 (0)705 - 72 01 87

Teknik i Media Phone: +46 (0)40 97 33 10
Per Weijersgatan 4   Fax: +46 (0)40 97 95 93
S-211 34 Malmö
Webb: http://www.tim.se
E-mail: [EMAIL PROTECTED]


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

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



putting a comment in jsp code

2001-04-19 Thread BERWART Thierry

Hello,

How can I put a code in comment in JSP ?

Thanks

Thierry

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 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: Running dos native commands from java application...

2001-04-19 Thread Sachin S. Khanna

Couple of things :
a) Maybe you are using an older version of the jdk.
b) If thats not the case it would be better for you as well as the list if
you posted the code alongwith the errors. So that people on the list donot
have to spend time in comprehending what code you have written.
Just a suggestion :-).
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
From: CHAKCHOUK, Anis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 10:04 PM
Subject: Re: Running dos native commands from java application...


> hi,
> help please:
> Java Server Page Translation Error
> Error during compilation :
> C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_list.java:99: Class
> pagecompile.jsp.Iterator not found in type declaration.
> Iterator i = v.iterator();
> ^
> C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_list.java:99: Method
> iterator() not found in class java.util.Vector.
> Iterator i = v.iterator();
>^
> 2 errors
>
>
> -Message d'origine-
> De : Anis Kasmani [mailto:[EMAIL PROTECTED]]
> Envoyé : lundi 9 avril 2001 21:01
> À : [EMAIL PROTECTED]
> Objet : Re: Running dos native commands from java application...
>
>
> Commands such as dir, copy etc would need to be executed as
>
> rt.exec("cmd /c dir");
>
> do let me know if it worked for u.
>
> Anis
>
>
>
> - Original Message -
> From: "Padmakar Neelapareddy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 08, 2001 11:28 PM
> Subject: Running dos native commands from java application...
>
>
> > Dear All,
> >
> > I need to execute DOS native commnads such as "dir","copy","copy x.txt >
> > prn"...etc
> > from inside a java application.
> >
> > I tried them using following code
> >
> > Runtime rt = Runtime.getRuntime();
> >  rt.exec("dir");
> >  rt.exec("copy x.txt > prn");
> >
> > But I got following exception
> >
> > java.io.IOException: CreateProcess: dir error=2
> > at java.lang.Win32Process.create(Native Method)
> > at java.lang.Win32Process.(Unknown Source)
> > at java.lang.Runtime.execInternal(Native Method)
> >
> > Can any one help me regarding this please ? I want it
> > urgently...!
> >
> > Waiting for your valuable replies
> >
> > Rgds
> > padmakar neelapareddy
> >
> >
> > The information in this message is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this
message
> by anyone else is unauthorized. If you are not the intended recipient, any
> disclosure, copying, or distribution of the message, or any action or
> omission taken by you in reliance on it, is prohibited and may be
unlawful.
> Please immediately contact the sender if you have received this message in
> error.
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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