Re: Cookies.

2000-02-15 Thread ARORA SUMEET (MSD_MAT)

thanks arun,

my specific question was that i wanted three cookies to be set in my
application.
i am finding that only the one i am setting the last is going to the client
and that is the only one available to me later on when i read it back.
it is that in tomcat on nt, i am able to set only one cookie.

i have still not overcome the problem of setting three cookies. any help
will be appreciated.
i was able to change the value of the cookie.

-SA



> -Original Message-
> From: Arun Thomas [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 15, 2000 3:37 AM
> To:   ARORA SUMEET (MSD_MAT)
> Cc:   JSP Mail List
> Subject:  RE: Cookies.
> Sensitivity:  Confidential
>
> Sumeet,
>
> The standard way to replace a cookie is to add a new cookie with the same
> path and domain which has the maxAge set to 0 (i.e. expire immediately).
> The old
> cookie is therefore replaced by the
> new cookie which then immediately expires.
>
> -AMT
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of ARORA SUMEET (MSD_MAT)
> > Sent: Friday, February 11, 2000 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Cookies.
> > Importance: High
> > Sensitivity: Confidential
> >
> >
> > hi list
> > I have a couple of doubts wrt cookies. I use tomcat and win/nt
> >
> > 1.
> > I am trying to use multiple cookies for my project.
> > However i am finding that the cookie that i am setting last is
> > the only one
> > getting sent.
> > Any particular reason why this is happenning. any solution
> > eg. code
> >
> > Cookie uidCookie = new Cookie("TMX_CUID", uname);
> > Cookie sidCookie = new Cookie("TMX_SID", sid);
> > Cookie cidCookie = new Cookie("TMX_CUSTCODE", custCode);
> >
> > response.addCookie(uidCookie);
> > response.addCookie(sidCookie);
> > response.addCookie(cidCookie);
> >
> > only cidCookie is what i am able to access later on.
> >
> >
> >
> > 2.
> > Are there are no methods to remove a cookie.
> > All i could find was cookie.setValue();
> > I want to remove all these at the time i logout.
> > i tried getting the cookie and cookie.setValue(null); but it is not
> > happenning. any particular reasons.
> > are there better ways of doing this.
> >
> >
> >
> > TIA
> >
> > Sumeet
> >
> > ==
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >

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



sign off JSP-INTEREST

2000-02-15 Thread Siddhartha Sarangi

sign off JSP-INTEREST

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



Using JSP:use bean tag for table of rows.

2000-02-15 Thread Shankar Gopal

Hi

I have a good example of a JSP form which has data presented in a free from
(1 row at a time ) and the JSP Use Bean tag is perfectly fine to Setxxx()
and Getxxx()
methods. But I have a situation where I have to present set of  rows in a
Tabular
grid  .  Can the bean pick up all the rows in the table thru'
the
Setxxx() and Getxxx() methods.???  Can the bean's  Setxxx() and Getxxx()
methods take
array of arguments .  please suggest.

Thanks

bye


Shankar Gopal
(H) 510-487-4074
[EMAIL PROTECTED]

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



No Subject

2000-02-15 Thread babita malani

hello everybody,
i am new to JSP

i have started of with a simple jsp example
where i have another jsp file included and a bean
now whenever i access the jsp file from the browser i get the following
error message in the browser window

Error: 500
sun/tools/javac/Main

I also get the following warning on the jswdk server console
Unhandled error! You might want to consider having an error page to report
such
errors more gracefully
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at com.sun.jsp.compiler.Main.compile(Main.java:310)
at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:135)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:77)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:87)
at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:218)
at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:294)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
at com.sun.web.core.Context.handleRequest(Context.java:414)
at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)

what could be the problem ?
any answers ?
__
Get Your Private, Free Email at http://www.hotmail.com

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



Re: JSWDK DOESN'T START

2000-02-15 Thread Ritesh Sinha

Thanks for your replies. But i have checked class paths. The locations of
the webserver.jar, tools.jar, rt.jat etc are correctly specified. I guess
the problem is due to Initialization on the DefaultServlet as the command
prompt window shows. The startup file is not able to initialize the
DefaultServlet.
So the problem still persists and i will be grateful for any further help.
Ritesh





"Ugaas, Ahmed" <[EMAIL PROTECTED]> on 02/15/2000 12:10:58 AM

To:   Sinha Ritesh-SWD-ITIL-UB/Itilmail, [EMAIL PROTECTED]
cc:

Subject:  RE: JSWDK DOESN'T START




Set your classpath properly. read the readme file which comes with JSWK

-Original Message-
From: Ritesh Sinha [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 14, 2000 7:50 AM
To: [EMAIL PROTECTED]
Subject: JSWDK DOESN'T START


HI All,
I am facing this peculiar problem. After Installing JSWDK on one of the
machines I am not able to browse the URL http://localhost:8080/  to see the
default readme.
It shpows following error:


Error: 500
Internal Servlet Error:

java.lang.NoSuchMethodError: javax.servlet.ServletContext: method
getResource(Ljava/lang/String;)Ljava/net/URL; not found
 at com.sun.web.core.DefaultServlet.doGet(DefaultServlet.java:54)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
 at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
 at com.sun.web.core.Context.handleRequest(Context.java:414)
 at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
--

I am a newcomer to JAVA as well as JSP and JSWDK. So may be I am doing
something silly .
Please help,
Thanks for your time,
Ritesh

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

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



SQL Server driver

2000-02-15 Thread Daniel Rönnqvist

Hello,
I am in desperate need of a JDBC driver for SQL server 6.5

 Please help me!
 Daniel Ronnqvist

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



Re: handle bean across the page

2000-02-15 Thread Jochen Jörg

"Gopal, Shankar" wrote:

> does it means, the bean gets  instantiated in every page.???
>

no.
The bean, presumed it is a session bean, gets instantiated in the first page the
bean is used. The instance is then available in all the other pages which are
contacted within the session.

Greetings
Jochen



>
> > -Original Message-
> > From: Jochen Jorg [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, February 14, 2000 2:22 AM
> > To:   Gopal, Shankar; [EMAIL PROTECTED]
> > Subject:  Re: handle bean across the page
> >
> > Hallo Shan,
> >
> > You have to declare the bean you are using in EVERY jsp page.  The
> > scope=session
> > setting in one jsp page is not sufficient when you want to use the bean in
> > more
> > than one jsp's.
> > In every jsp you have to declare the corresponding bean as a session bean.
> > The
> > enables that settings of the bean i.e. values of member variables are kept
> > across
> > the jsp's.
> >
> > Hope this helps !
> >
> > Greetings
> > Jochen Jorg
> >
> > "Gopal, Shankar" wrote:
> >
> > > hi..
> > >
> > > I declared a bean in one page  ".jsp"  using a
> > >  > class="costTocarry.bsheetCategory"
> > > />
> > > but when I tried to access it on another page ".jsp"   it doesnt exist
> > in
> > > the next page.
> > > Throws me error " no such bean  mybean  exists ".  The scope parameter
> > is
> > > set
> > > properly. what else should I do.???
> > >
> > > Rgds
> > > shan
> > >
> > >
> > ==
> > =
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > > FAQs on JSP can be found at:
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Tying Tomcat and Apache (Linux): "Bad request"

2000-02-15 Thread Stefan van den Oord

Hi all,

I have successfully installed Tomcat on my Linux system. If I run it using
the startup script, it works perfectly.

I found a mod_jserv.so on the Tomcat FTP server, so I assume it is possible
to let Apache handle the forwarding to the Tomcat JSP engine, instead of
letting Tomcat do it itself. So I included the tomcat.conf in my Apache
httpd.conf and put the mod_jserv.so in its place. Now, when I request JSPs,
I get a "bad request" in my browser, and in the mod_jserv.log I see:

ajp12: Servlet Error: Received empty servlet name

I have absolutely no idea what I am doing wrong. Anyone?

(I hope this hasn't been asked before; I only joined the list recently and I
can't find a list archive...)

Greetings,

Stefan

--
Stefan van den Oord
[EMAIL PROTECTED]

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



How to include files from other directories

2000-02-15 Thread "Alvarez Contera, José Alberto"

Hi,
I'm using Netscape Application Server 4.0 and I'm trying to include an HTML
file into a JSP.

The first problem is that the supposed JSP syntax for includes, either <%@
include file="URL" %> or , don't seem to do
anything. I have to use "ASP-like" syntax: 

The second problem, is that the file I want to include is outside the path
/NASApp/ (under which every jsp resides in NAS 4.0), in the area where the
web server (which is Netscape Enterprise Server 3.6) reads the HTML and
image files. The  command works with relative paths, but not
with virtual paths. In ASP you could use  and
it parsed the URL as a virtual directory in the web server, and mapped it to
the physical path before reading the file; but this doesn't seem to work on
NAS.

So, is it possible to include files from directories outside /NASApp?

Thanks in advance.

JAAC

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



Re: Send Mail in JSP

2000-02-15 Thread Sasha Nakhimovsky

In terms of code organization, it makes sense to use JavaMail in a bean that
is used by a JSP page, rather than putting JavaMail code into a JSP page
directly.

Professional Java XML Programming with Servlets and JSP, WROX 1999, has a
JavaMail application that uses JSPs both as the main "servlet"/controller
and as templates for output.

adn

> -Original Message-
> From: Singh, Hari Nam [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 14, 2000 5:04 PM
> Subject: Re: Send Mail in JSP
>
>
> Maybe, there is a short cut. But, that's how I would do it.
>
> I would use JavaMail API (see java.sun.com), and have it talk
> to an smtp
> complient mail server.
>
> My first experience was a steep learning curve. Basically,
> all I had wanted
> was a method that took an e-mail address parameter, subject
> string and body
> string. Well, JavaMail API is a whole lot more complicated,
> and requires a
> screen full of instructions to send _ONE_ e-mail. And, then
> you have to find
> a free mail server on the internet (btw, sending works also
> with Exchange.).
>
> Though, ones you are through it, you have all the power of
> attachements and
> also receiving e-mails etc.
>
> -Original Message-
> From: Cory L Hubert [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 14, 2000 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Send Mail in JSP
>
>
> How do I send mail in JSP?   Could you guys send me some
> links/references.
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> -Original Message-
> From: Cory L Hubert [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 14, 2000 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Send Mail in JSP
>
>
> How do I send mail in JSP?   Could you guys send me some
> links/references.
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

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



Help! Does anyone work with JSP in Linux server??(Apache)

2000-02-15 Thread Henrique Tatsuyuki Soejima



        Hi, 
everybody!!
 
        I'm looking 
for some way for using JSP in Linux.
        If someone 
work so or could help me somehow, I would be very very very 
grateful!!
        (Sorry for 
mistakes with my English - I'm Brazilian...:-)
 
        I'm working 
with Red Hat Linux distribution, ok?
 
        Thanks all 
!!!
 
        
                
            Henrique T. 
Soejima


doubt

2000-02-15 Thread webwiz

In one of the currently  ongoing projects I need to display data from
DB(SQL Server) using jsp(scriptlets), because i do not have any
knowledge of the tags supported in jsp and how to utilize it , i would
be gratefull if somebody could give me a small tutorial in this regard.

thanks in advance

S.Sudarshan

[EMAIL PROTECTED]

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



HELP URGENT!!!!

2000-02-15 Thread Mistroni Marco

hi all,
is it possible to 'combine' javascript and JSP??
i mean, i have a Selectable list..and i want that, once selected an item,
calls a method of the Javabean of the JSP..
is it possible?? how??
regards
marco

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



Re: SQL Server driver

2000-02-15 Thread Fernando Ribeiro

Use that JDBC-ODBC bridge thing? Take a look at the documentation.

fribeiro

Daniel Rönnqvist wrote:
>
> Hello,
> I am in desperate need of a JDBC driver for SQL server 6.5
>
>  Please help me!
>  Daniel Ronnqvist
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Vector Constructor

2000-02-15 Thread Jeff Douglas

I'm retreiving a list ("3,5,1,6") from a database and need to use the data
in a Vector. Can someone provide me with an example of getting this list
into a Vector? I'm not sure how the constructor works.

TIA

Jeff Douglas

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



Re: SQL Server driver

2000-02-15 Thread Jim Michael

There is a list of JDBC driver vendors at
http://java.sun.com/products/jdbc/drivers.html. i-Net Software has a type 4
driver for SQL Server that is very reasonably priced, as middleware goes. We
are just beginning to test it, so I can't give any opinions. HTH.

Cheers,

Jim


> Hello,
> I am in desperate need of a JDBC driver for SQL server 6.5
>
>  Please help me!
>  Daniel Ronnqvist

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



Session variables

2000-02-15 Thread Ian Stacey

Hi all,

How do I create a session variable like those used in ASP?

Ian

---
Ian Stacey
Multimedia Author
3T Productions Ltd
http://www.3t.co.uk/
---

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



Re: Help! Does anyone work with JSP in Linux server??(Apache)

2000-02-15 Thread alex amies

Henrique,

I use Apache JServe and GNU JSP on Red Hat.  Go to

http://java.apache.org/

to get the Apache servlet engine JServe and
go to

http://www.klomp.org/gnujsp/

to get the JSP servlet.

Alex Amies

-Original Message-
From:   Henrique Tatsuyuki Soejima [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, February 15, 2000 3:56 AM
To: [EMAIL PROTECTED]
Subject:Help! Does anyone work with JSP in Linux server??(Apache)

Hi, everybody!!

I'm looking for some way for using JSP in Linux.
If someone work so or could help me somehow, I would be very very very 
grateful!!
(Sorry for mistakes with my English - I'm Brazilian...:-)

I'm working with Red Hat Linux distribution, ok?

Thanks all !!!

Henrique T. Soejima
 << File: ATT00029.html >>

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



Re: Cookies.

2000-02-15 Thread Richard Yee

Arora,
   Why do you insist on setting three separate cookies instead of one cookie
that contains the three values?  You can't set different cookies from the
same URL.  You should just combine the three values into one and set that
value into a single cookie.  Separate the values with a distinguishing
character and use the StringTokenizer to parse the values.

-Richard



Richard Yee
DMC1 Corporation
305 W. Evelyn Ave.
Mtn. View, CA. 94041
650-963-3116
[EMAIL PROTECTED]




-Original Message-
From: ARORA SUMEET (MSD_MAT) [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 14, 2000 7:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Cookies.
Importance: High
Sensitivity: Confidential


thanks arun,

my specific question was that i wanted three cookies to be set in my
application.
i am finding that only the one i am setting the last is going to the client
and that is the only one available to me later on when i read it back.
it is that in tomcat on nt, i am able to set only one cookie.

i have still not overcome the problem of setting three cookies. any help
will be appreciated.
i was able to change the value of the cookie.

-SA



> -Original Message-
> From: Arun Thomas [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 15, 2000 3:37 AM
> To:   ARORA SUMEET (MSD_MAT)
> Cc:   JSP Mail List
> Subject:  RE: Cookies.
> Sensitivity:  Confidential
>
> Sumeet,
>
> The standard way to replace a cookie is to add a new cookie with the same
> path and domain which has the maxAge set to 0 (i.e. expire immediately).
> The old
> cookie is therefore replaced by the
> new cookie which then immediately expires.
>
> -AMT
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of ARORA SUMEET (MSD_MAT)
> > Sent: Friday, February 11, 2000 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Cookies.
> > Importance: High
> > Sensitivity: Confidential
> >
> >
> > hi list
> > I have a couple of doubts wrt cookies. I use tomcat and win/nt
> >
> > 1.
> > I am trying to use multiple cookies for my project.
> > However i am finding that the cookie that i am setting last is
> > the only one
> > getting sent.
> > Any particular reason why this is happenning. any solution
> > eg. code
> >
> > Cookie uidCookie = new Cookie("TMX_CUID", uname);
> > Cookie sidCookie = new Cookie("TMX_SID", sid);
> > Cookie cidCookie = new Cookie("TMX_CUSTCODE", custCode);
> >
> > response.addCookie(uidCookie);
> > response.addCookie(sidCookie);
> > response.addCookie(cidCookie);
> >
> > only cidCookie is what i am able to access later on.
> >
> >
> >
> > 2.
> > Are there are no methods to remove a cookie.
> > All i could find was cookie.setValue();
> > I want to remove all these at the time i logout.
> > i tried getting the cookie and cookie.setValue(null); but it is not
> > happenning. any particular reasons.
> > are there better ways of doing this.
> >
> >
> >
> > TIA
> >
> > Sumeet
> >
> > ==
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >

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

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



Re: Send Mail in JSP

2000-02-15 Thread Mike Cannon-Brookes

There is a tag being developed at JSPTags
 http://www.sourceforge.net/project/?group_id=1282  ) that will allow you to
easily send mail from a JSP page - something along these lines.


the body of the email
goes
between
the tags


It should be completed by the end of the week! It's also slated to have
'automail' features (such as the formmail.pl script and automatically mail
all formfields to an address) but they will be in another release.

Cheers,
Mike

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Singh, Hari Nam
> Sent: Tuesday, 15 February 2000 10:04
> To: [EMAIL PROTECTED]
> Subject: Re: Send Mail in JSP
>
>
> Maybe, there is a short cut. But, that's how I would do it.
>
> I would use JavaMail API (see java.sun.com), and have it talk to an smtp
> complient mail server.
>
> My first experience was a steep learning curve. Basically, all I
> had wanted
> was a method that took an e-mail address parameter, subject
> string and body
> string. Well, JavaMail API is a whole lot more complicated, and requires a
> screen full of instructions to send _ONE_ e-mail. And, then you
> have to find
> a free mail server on the internet (btw, sending works also with
> Exchange.).
>
> Though, ones you are through it, you have all the power of
> attachements and
> also receiving e-mails etc.
>
> -Original Message-
> From: Cory L Hubert [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 14, 2000 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Send Mail in JSP
>
>
> How do I send mail in JSP?   Could you guys send me some
> links/references.
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> -Original Message-
> From: Cory L Hubert [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 14, 2000 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Send Mail in JSP
>
>
> How do I send mail in JSP?   Could you guys send me some
> links/references.
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Re: Taglib Example?

2000-02-15 Thread Mike Cannon-Brookes

The orion examples are excellent for getting a start into developing tags.

For some more advanced tags, the JSPTags project
 https://sourceforge.net/project/?group_id=1282 ) has two libraries with
almost 15 tags combined now (growing daily).

They're completely open source so you can poke around 'under the hood' to
see how they work.

Try it - risk free! ;)

https://sourceforge.net/project/?group_id=1282


Cheers,
Mike

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Wilmoth
> Sent: Tuesday, 15 February 2000 9:42
> To: [EMAIL PROTECTED]
> Subject: Re: Taglib Example?
>
>
> Orion has a couple of short examples...
> http://www.orionserver.com/examples/jsp/
>
> - Original Message -
> From: "Tom Santos" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, February 13, 2000 11:08 PM
> Subject: Taglib Example?
>
>
> > The JSP spec is not very good at describing what's necessary to get tags
> > working.  Does anyone know of any examples that demonstrate how
> to write a
> > simple tag and then use it in a JSP?
> >
> > I looked at the SimpleTag example in the Tomcat distribution and that
> didn't
> > help at all.
> >
> > Thanks,
> >
> > -Tom-
> >
> >
> ==
> =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Re: Vector Constructor

2000-02-15 Thread Filip Zalewski

Its in the javadoc for the jdk. However, here are the methods you'll most likely
need.

Vector v = new Vector();
v.addElement(Object o)


Jeff Douglas wrote:

> I'm retreiving a list ("3,5,1,6") from a database and need to use the data
> in a Vector. Can someone provide me with an example of getting this list
> into a Vector? I'm not sure how the constructor works.
>
> TIA
>
> Jeff Douglas
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Re: Vector Constructor

2000-02-15 Thread Jim Mallmann

Initialize your vector using a statement like

Vector vNumbers = new Vector(0,1);

where 0 is the initial capacity, and 1 is the increment, i.e. the vector is
empty to begin with and each time an element is added the vector capacity
increases by one.

To put items into the vector one would use a statement like

vNumbers.addElement(Object or String);

Elements in a vector are defined to be in Object form, so one would have to
convert numbers, whether integer or double or otherwise, to object form or
string form.  String form is compatible with object form in a vector, and
the vector does not complain.

Jim Mallmann


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Douglas
Sent: Tuesday, February 15, 2000 7:32 AM
To: [EMAIL PROTECTED]
Subject: Vector Constructor


I'm retreiving a list ("3,5,1,6") from a database and need to use the data
in a Vector. Can someone provide me with an example of getting this list
into a Vector? I'm not sure how the constructor works.

TIA

Jeff Douglas

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

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



Re: Help! Does anyone work with JSP in Linux server??(Apache)

2000-02-15 Thread Scott Stirling

To name a few:

JRun 2.3 http://www.allaire.com
JRun 3.0 beta http://beta.allaire.com/jrun30
Tomcat http://www.javasoft.com/products/jsp/tomcat/
Resin http://www.caucho.com
GNUJSP http://www.klomp.org/gnujsp/

Scott Stirling
West Newton, MA

- Original Message -
From: "Henrique Tatsuyuki Soejima" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 15, 2000 6:55 AM
Subject: Help! Does anyone work with JSP in Linux server??(Apache)


Hi, everybody!!

I'm looking for some way for using JSP in Linux.
If someone work so or could help me somehow, I would be very very
very grateful!!
(Sorry for mistakes with my English - I'm Brazilian...:-)

I'm working with Red Hat Linux distribution, ok?

Thanks all !!!

Henrique T. Soejima

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



Re: Session variables

2000-02-15 Thread Fernando Ribeiro

session.put("key", "value")

Play around with that and find out what you will be able to do with what
you can store there in these key-value pairs.

fribeiro

Ian Stacey wrote:
>
> Hi all,
>
> How do I create a session variable like those used in ASP?
>
> Ian
>
> ---
> Ian Stacey
> Multimedia Author
> 3T Productions Ltd
> http://www.3t.co.uk/
> ---
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Re: How to view compiled JSP .java source?

2000-02-15 Thread Fernando Ribeiro

JSWDK provides that property. Just look for any properties files or
other with the same purpose.

fribeiro

Jon Wilmoth wrote:
>
> I assume that all servlet/jsp containers have an option to keep the
> generated source files.  There is a property with weblogic
> "keepgenerated=true" that accomplishes this.  You should look for such a
> property in your server configuration.  Otherwise the container will delete
> the source after compiling by default.
>
> - Original Message -
> From: "Chris Tuck" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, February 13, 2000 8:48 PM
> Subject: How to view compiled JSP .java source?
>
> > I'm wondering how best to do this for the purpose of debugging. I know
> that
> > it can be done, based on some of the discussions I read on this list, but
> > despite a bit of a hunt around today, on this list and on the web, I still
> > can't figure it out.
> >
> > If anyone has a solution that doesn't involve aquiring a commercial
> > development tool I would much appreciate it. Currently I'm using Netscape
> > Enterprise Server 4.0 running on Solaris to execute my JSP efforts.
> >
> > Chris Tuck
> >
> >
> ===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Re: jsp tools

2000-02-15 Thread Fernando Ribeiro

Take a look at the TextPad text editor. Just download the JSP syntax
dictionary and you are ready to go.

The best tool Ive ever used. If you want a IDE, Im not sure we have the
right product for now. I use VJ++ sometimes to compose but thats all.

fribeiro

Lee Elenbaas wrote:
>
> http://www.allaire.com/
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chad Pitt
> Sent: Monday, February 14, 2000 8:19 PM
> To: [EMAIL PROTECTED]
> Subject: jsp tools
>
> Dear All,
>
> Can anyone tell me where i can download tool or
> editor of JSP? doesn't matter free or trial version.
> Please help, i really need it desperately.
>
> thank you
> Chad
> 
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Re: Errorpage directive and IPlanet 4.0 SP3

2000-02-15 Thread Sreekumar Pillai

You have to use JSP0.92 syntax.

In the pages, use

<% errorpage="errorpage.jsp" %>

You don't have to do anything in the errorpage itself.

Sree


>From: BIJUNAIRS <[EMAIL PROTECTED]>
>To: "'Sreekumar Pillai'" <[EMAIL PROTECTED]>
>Subject: RE: Errorpage directive and IPlanet 4.0 SP3
>Date: Sat, 12 Feb 2000 14:31:30 +0530
>
>Hi,
>   Where <%@ page isErrorPage="true" %> has to be used? In the error page
>or
>in the original jsp page.
>But if some error occurs it is displayed in the same page as usual. How to
>display errors? If you got any answer send it to me
>---
>Biju Nair
>ITLInfosys
>Ph:8520261 Ext.
>
>   -Original Message-
>   From:   Sreekumar Pillai [mailto:[EMAIL PROTECTED]]
>   Sent:   Thursday, February 10, 2000 8:54 PM
>   To: [EMAIL PROTECTED]
>   Subject:Re: Errorpage directive and IPlanet 4.0 SP3
>
>   Well.. You could use JRun with IPlanet for JSP1.0. But you
>might have to
>   configure servlets also through JRun if you want to use both
>Servlets and
>   JSP in the same application (Sharing the session is a
>problem). I was
>   thinking about doing it, but couldn't find any documentation
>for connecting
>   JRun with IPlanet. Wisely, decided to go with JSP 0.92.
>
>
>   1. The errorpage directive seem to work when I give relative
>path. But now I
>   am faced with the problem of displaying the error.
>
>
>   Errorpage.jsp
>   -
>
>   
>
>   An exception has occured.
>   The details: <%=exception.getMessage() %>
>
>   
>   
>
>   This itself throws a nullpointer exception!
>
>
>   If I remove exception.getMessage(), this works fine.
>
>   
>
>   An exception has occured.
>   The details:
>
>   
>   
>
>
>
>   Sree
>
>
>
>   >From: Naeem Ahmed <[EMAIL PROTECTED]>
>   >To: Sreekumar Pillai <[EMAIL PROTECTED]>
>   >CC: [EMAIL PROTECTED]
>   >Subject: Re: Errorpage directive and IPlanet 4.0 SP3
>   >Date: Thu, 10 Feb 2000 14:54:28 -0500 (EST)
>   >
>   >I don't have an answer for your question, but I've also
>been facing
>   >similar problems with IPlanet related to error and
>exception handling.
>   >
>   >Question: Does anyone know how to upgrade IPlanet JSP 0.92
>to JSP 1.1 ?
>   >
>   >I've been using the JSWDK for development, and my .jsp's
>seem to work
>   >there.
>   >
>   >
>   >On Thu, 10 Feb 2000, Sreekumar Pillai wrote:
>   >
>   > > How do you specify the errorpage directive in
>IPlanet(SP2)? (JSP 0.92).
>   >The
>   > > following code snippet doesn't work.
>   > >
>   > > I checked the generated servlet from this JSP before and
>after adding
>   >the
>   > > errorpage directive. I can't see any difference in the
>generated code.
>   >Is it
>   > > a bug with IPlanet? Or Am I doing something silly?
>   > >
>   > >
>   > > <%@ errorpage="testerrorPage.jsp"%>
>   > >
>   > > <%
>   > >// the following line should throw a nullpointer
>exception.
>   > >if ( request.getParameter("dummyvalue").equals(
>"dummy" ) )
>   > >{
>   > >}
>   > > %>
>   > > .
>   > >
>   > > testerrorpage.jsp
>   > > ---
>   > >
>   > > 
>   > >
>   > > 
>   > > An exception has occured.
>   > > The name of the exception is :
><%=exception.getMessage() %>
>   > >
>   > > 
>   > >
>   > >
>   > > __
>   > > Get Your Private, Free Email at http://www.hotmail.com
>   > >
>   > >
>
> >===
>   > > To unsubscribe: mailto [EMAIL PROTECTED] with body:
>"signoff
>   >JSP-INTEREST".
>   > > FAQs on JSP can be found at:
>   > >  http://java.sun.com/products/jsp/faq.html
>   > >  http://www.esperanto.org.nz/jsp/jspfaq.html
>   > >
>   >
>
>   __
>   Get Your Private, Free Email at http://www.hotmail.com
>
>
>=

Error 500?

2000-02-15 Thread Corbin Hoenes

Error: 500

sun/tools/javac/Main

I get the following error when trying to load a jsp page (example pages
that come with the Win98 wsdk)

the server works and serves up html pages but I get that error when
trying jsp pages what is up?

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



Re: SQL Server driver

2000-02-15 Thread Felip Miralles

Well, not wanting to use the jdbc-odbc bridge, I'm also interested on that.
Moreover, anybody knows what's the status of JDBC 2, which was supposed to
implement connection pooling?

Daniel Rönnqvist wrote:

> Hello,
> I am in desperate need of a JDBC driver for SQL server 6.5
>
>  Please help me!
>  Daniel Ronnqvist
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Re: Errorpage directive and IPlanet 4.0 SP3

2000-02-15 Thread Basvi Ayuluri

Hi,

I thought of sharing this information with you. This is a reply I got for my
similar question some time back from one of the Iplanet developers.

Thanks,

Basvi


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
From:   Suresh Batchu [[EMAIL PROTECTED]]
Sent:   Tuesday, January 18, 2000 8:01 PM
To: [EMAIL PROTECTED]
Subject:Re: JSP 1.1 support in iPlanet Web Server, Enterprise
Edition 4.0 SP3

On Wed, 12 Jan 2000, Basvi Ayuluri wrote:

> By default it supports JSP 0.92.
>
> Does anybody know how to run JSP 1.1 in iPlanet Web Server,
> Enterprise Edition 4.0 (netscape server 4.0)?

iPlanet Enterprise Server (iES) 4.0 supports only JSP 0.92. How
ever, we are currently working on iES4.1 which supports JSP1.1.
iES4.1 is going to beta very soon (in few days!).

--
-Suresh
 Developer
 iPlanet Enterprise Server

===

_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\
Basvi Ayuluri  [EMAIL PROTECTED]
Shasta IP services unit,   Tel: 408 855 3901
Nortel NetworksFax: 408 855 3801
Santa Clara, CA
_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\



-Original Message-
From: Naeem Ahmed [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 10, 2000 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Errorpage directive and IPlanet 4.0 SP3


I don't have an answer for your question, but I've also been facing
similar problems with IPlanet related to error and exception handling.

Question: Does anyone know how to upgrade IPlanet JSP 0.92 to JSP 1.1 ?

I've been using the JSWDK for development, and my .jsp's seem to work
there.


On Thu, 10 Feb 2000, Sreekumar Pillai wrote:

> How do you specify the errorpage directive in IPlanet(SP2)? (JSP 0.92).
The
> following code snippet doesn't work.
>
> I checked the generated servlet from this JSP before and after adding the
> errorpage directive. I can't see any difference in the generated code. Is
it
> a bug with IPlanet? Or Am I doing something silly?
>
>
> <%@ errorpage="testerrorPage.jsp"%>
>
> <%
>// the following line should throw a nullpointer exception.
>if ( request.getParameter("dummyvalue").equals( "dummy" ) )
>{
>}
> %>
> .
>
> testerrorpage.jsp
> ---
>
> 
>
> 
> An exception has occured.
> The name of the exception is : <%=exception.getMessage() %>
>
> 
>
>
> __
> Get Your Private, Free Email at http://www.hotmail.com
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

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

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



Sessions and IE 4.01

2000-02-15 Thread Heske Chris

If you do a window.open() in javascript within IE, does the newly
opened window share the identical session of the window from which it
was opened?

Chris


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

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

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



Installing Apache and Tomcat on NT

2000-02-15 Thread Naeem Ahmed

Can anyone direct me to a good resource on how to install and configure
Tomcat on NT?

Thanks, N.

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



Re: SQL Server driver

2000-02-15 Thread alex amies

Try the Free tds type 4 driver:

http://www.freetds.org/

Alex Amies

-Original Message-
From:   Felip Miralles [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, February 15, 2000 9:20 AM
To: [EMAIL PROTECTED]
Subject:Re: SQL Server driver

Well, not wanting to use the jdbc-odbc bridge, I'm also interested on that.
Moreover, anybody knows what's the status of JDBC 2, which was supposed to
implement connection pooling?

Daniel Ronnqvist wrote:

> Hello,
> I am in desperate need of a JDBC driver for SQL server 6.5
>
>  Please help me!
>  Daniel Ronnqvist
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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

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



Re: jsp tools

2000-02-15 Thread Felip Miralles

Where is the JSP syntax dictionary to download?
felip

Fernando Ribeiro wrote:

> Take a look at the TextPad text editor. Just download the JSP syntax
> dictionary and you are ready to go.
>
> The best tool Ive ever used. If you want a IDE, Im not sure we have the
> right product for now. I use VJ++ sometimes to compose but thats all.
>
> fribeiro
>
> Lee Elenbaas wrote:
> >
> > http://www.allaire.com/
> >
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Chad Pitt
> > Sent: Monday, February 14, 2000 8:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: jsp tools
> >
> > Dear All,
> >
> > Can anyone tell me where i can download tool or
> > editor of JSP? doesn't matter free or trial version.
> > Please help, i really need it desperately.
> >
> > thank you
> > Chad
> > 
> > Do You Yahoo!?
> > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> > or your free @yahoo.ie address at http://mail.yahoo.ie
> >
> > ===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> > ===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



new to JSP any recomendations?

2000-02-15 Thread Corbin Hoenes

Hey all I am new to JSP and need a good tutorial to get me up and
running please send any resources.  I am especially interested in
finding out how to do the basics like - sending mail, accessing a odbc
database (via JDBC) etc... THANKS in advance.

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



Re: Help! Does anyone work with JSP in Linux server??(Apache)

2000-02-15 Thread Fernando Ribeiro

I think Tomcat should be your first choice if you are starting on JSP
now.

fribeiro

Scott Stirling wrote:
>
> To name a few:
>
> JRun 2.3 http://www.allaire.com
> JRun 3.0 beta http://beta.allaire.com/jrun30
> Tomcat http://www.javasoft.com/products/jsp/tomcat/
> Resin http://www.caucho.com
> GNUJSP http://www.klomp.org/gnujsp/
>
> Scott Stirling
> West Newton, MA
>
> - Original Message -
> From: "Henrique Tatsuyuki Soejima" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 15, 2000 6:55 AM
> Subject: Help! Does anyone work with JSP in Linux server??(Apache)
>
> Hi, everybody!!
>
> I'm looking for some way for using JSP in Linux.
> If someone work so or could help me somehow, I would be very very
> very grateful!!
> (Sorry for mistakes with my English - I'm Brazilian...:-)
>
> I'm working with Red Hat Linux distribution, ok?
>
> Thanks all !!!
>
> Henrique T. Soejima
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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



Detect the encryption level supported by the browser

2000-02-15 Thread Connie Chan

Hi,

Does anyone know how to detect the encryption level supported by the
running browser in JSP?  Thanks.



Thanks,
Connie

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



Re: Tomcat: The Emperor's New Clothes?

2000-02-15 Thread Matt Halpin

David,
I had a similar problem with the taglib examples, although I
received a different error message.  What I did was to download the source
for tomcat and recompile it with the java compiler I had installed.  After
that the taglib examples worked fine

Regards,
Matt

-Original Message-
From: David Geary [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 15, 2000 12:22 PM
To: [EMAIL PROTECTED]
Subject: Tomcat: The Emperor's New Clothes?


I've been working with the Resin server, which I have found to be quite
reliable. I have also had mostly positive experiences working with the
Orion server. Tomcat however, is a different story:

1. Tomcat's own servlet examples do not work. Every example I try gives
me a 404 or 500 error.

2. Tomcat's JSP examples work, except for the JSP-Servlet-JSP example,
which results in a 404 error. Also, the simple custom tag example
doesn't work either; that results in a 500 error.

3. My own JSP tags don't work either. For those I get the following
error:

Error: 500

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to open taglibrary taglib.tld
: Parse Error in the tag library descriptor: Relative URI
"web-jsptaglib_1_1.dtd"; can not be resolved without a document URI. at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java,
Compiled Code) at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:110)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java,
Compiled Code) ...

Can anyone shed some light on these problems? I have been able to get
the servlet examples to work by editing the server.xml file and adding
the appropriate tags, but it seems ridiculous that one should have to
edit configuration files just to get tomcat's own examples to work. I
have found no solution for problems 2 and 3 listed above.

Thanks,


david

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

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



Error while running JSP which calls a bean

2000-02-15 Thread Ram Anantha

Hi,

The configuration I am running under is (JRUN pro 2.3.3) + (Apache 1.3.11)
on Windows NT.

I have a jsp file (called junk2.jsp) which calls a bean as follows:




When I run this using: http://localhost/junk2.jsp, I get the following
error:

500 Internal Server Error
com.livesoftware.jsp.JSPServlet:

javax.servlet.ServletException:
Found 1 semantic error compiling
"C:/JRun/jsm-default/services/jse/servlets/jsp/junk2.java":

36. SimpleBean test = (SimpleBean) JSPRuntime.instantiateBean("test",
"SimpleBean", "page",   <>  __test_was_created, 
pageContext,
request, session, application);

*** Error: Type jsp/SimpleBean was not found

-

What am I doing wrong? I put the SimpleBean.class file in the same directory
where junk2.java (servlet corresponding to junk2.jsp) was created.
I also tried putting the SimpleBean.class file by creating another directory
called jsp
under: C:/JRun/jsm-default/services/jse/servlets/jsp directory.

In both cases I get similar errors...

Any suggestions ??? Please help !!!

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



how to create a session object

2000-02-15 Thread Daniel Erikson

How do you create a session object in JSP?   I can create it in ColdFusion like
"session. = ", but am unsure how to do it with jsp.  Have
been playing around with the jsp session object but it only seems to work for
properties not objects.  Any help would be appreciated.  thanks

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



jsp-tools

2000-02-15 Thread Per-Åke Olsson

You can find it on TextPad´s site,
http://www.textpad.com/add-ons/syntax.html

Per-Åke Olsson


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Felip Miralles
Sent: den 15 februari 2000 23:08
To: [EMAIL PROTECTED]
Subject: Re: jsp tools


Where is the JSP syntax dictionary to download?
felip

Fernando Ribeiro wrote:

> Take a look at the TextPad text editor. Just download the JSP syntax
> dictionary and you are ready to go.
>
> The best tool Ive ever used. If you want a IDE, Im not sure we have the
> right product for now. I use VJ++ sometimes to compose but thats all.
>
> fribeiro
>
> Lee Elenbaas wrote:
> >
> > http://www.allaire.com/
> >
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Chad Pitt
> > Sent: Monday, February 14, 2000 8:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: jsp tools
> >
> > Dear All,
> >
> > Can anyone tell me where i can download tool or
> > editor of JSP? doesn't matter free or trial version.
> > Please help, i really need it desperately.
> >
> > thank you
> > Chad
> > 
> > Do You Yahoo!?
> > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> > or your free @yahoo.ie address at http://mail.yahoo.ie
> >
> >
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> >
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

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

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



Parameters to a servlet, How?

2000-02-15 Thread Eric Dunstan

How do I send parameters to a servlet.
I have considered reading files inside the method
public void init(ServletConfig config) throws ServletException{
   super(config);
   //read file...
}
but I wonder if there is a better solution.
Thanks a lot, Eric
__
Get Your Private, Free Email at http://www.hotmail.com

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



Re: How to view compiled JSP .java source?

2000-02-15 Thread Chris Tuck

At 02:41 PM 2/15/00 -0300, you wrote:
>JSWDK provides that property. Just look for any properties files or
>other with the same purpose.
>
>fribeiro
>
>Jon Wilmoth wrote:
>>
>> I assume that all servlet/jsp containers have an option to keep the
>> generated source files.  There is a property with weblogic
>> "keepgenerated=true" that accomplishes this.  You should look for such a
>> property in your server configuration.  Otherwise the container will delete
>> the source after compiling by default.
>>
>

Thanks for the help. After a little bit of effort I found that this
property is in fact already set to true, and was able to locate the
generated .java files. For anyone else running Netscape Enterprise Server
they should be located in your Class cache,
iplanet/servers/https-/ClassCache/

Makes me feel a bit stupid but anyway.. :)

Chris Tuck

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



Re: Sessions and IE 4.01

2000-02-15 Thread Matt Krevs

Yes. The session is sharead and remains until all browser windows for an
application close.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Heske Chris
Sent: Wednesday, 16 February 2000 6:33
To: [EMAIL PROTECTED]
Subject: Sessions and IE 4.01


If you do a window.open() in javascript within IE, does the newly
opened window share the identical session of the window from which it
was opened?

Chris


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

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

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

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



ClassCastException error when invoking servlet generated from jsp

2000-02-15 Thread Pushpa Kumar

I am getting the following error message:

   500 Internal Server Error
   jsp.PK1:
   java.lang.ClassCastException: com.livesoftware.jrun.JRunServletRequest

when I invoke a servlet (PK1.class) generated by compiling PK1.jsp, which is just a 
simple "Hello World"  jsp.

The jsp file is compiled as follows:
   jspc -file PK1.jsp.
The files PK1.java and PK1.class are placed in the jsp directory.

I then copy PK1.class into /servlets/jsp and invoke it from the browser as follows:
   http:///servlet/jsp.PK1
and I get the error mentioned above.

I am using JRun 2.3.3 build 153 on Solaris.

If anyone has successfully invoked servlets generated by compiling jsp files please 
let me know how you did it.
Thanks,
Pushpa

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



Tomcat: The Emperor's New Clothes?

2000-02-15 Thread David Geary

I've been working with the Resin server, which I have found to be quite
reliable. I have also had mostly positive experiences working with the
Orion server. Tomcat however, is a different story:

1. Tomcat's own servlet examples do not work. Every example I try gives
me a 404 or 500 error.

2. Tomcat's JSP examples work, except for the JSP-Servlet-JSP example,
which results in a 404 error. Also, the simple custom tag example
doesn't work either; that results in a 500 error.

3. My own JSP tags don't work either. For those I get the following
error:

Error: 500

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to open taglibrary taglib.tld
: Parse Error in the tag library descriptor: Relative URI
"web-jsptaglib_1_1.dtd"; can not be resolved without a document URI. at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java,
Compiled Code) at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:110)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java,
Compiled Code) ...

Can anyone shed some light on these problems? I have been able to get
the servlet examples to work by editing the server.xml file and adding
the appropriate tags, but it seems ridiculous that one should have to
edit configuration files just to get tomcat's own examples to work. I
have found no solution for problems 2 and 3 listed above.

Thanks,


david

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