Re: Recommend a Book

2000-05-23 Thread Tom Wilcoxen

Hi Claire,

Here are two that I have:
Web Development with JavaServer Pages by Fields and Kolb, published by
Manning.
JavaServer Pages by Larne Pekowsky published by Addison Wesley

The first is more comprehensive, and if you only buy one, I'd recommend that
one. The second is a quicker read and can get you up to speed on the nuts
and bolts quickly.

Tom

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Claire Ryan
> Sent: Tuesday, May 23, 2000 7:11 AM
> To: [EMAIL PROTECTED]
> Subject: Recommend a Book
>
>
> Hi All,
> Could anyone recommend a good JSP book?
> thanks in advance,
> claire
> 
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: [ANN] JRun Studio 3.0 beta 2

2000-05-23 Thread Tom Wilcoxen

Is JRun also required? Or will this product work with Tomcat? Or does it
work as a standalone product? (I couldn't find the answer in the release
notes or the Allaire site.)

Thanks,
Tom

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Stirling
> Sent: Monday, May 22, 2000 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: [ANN] JRun Studio 3.0 beta 2
>
>
> JRun Studio Beta 2 is now available for download from the Allaire
> Beta Site
> (http://beta.allaire.com).
>
> Release Notes:
>
> http://beta.allaire.com/betadocs/jrunstudio30b2/releasenotes.htm
>
> Where do NEW BETA CUSTOMERS get it?
> http://beta.allaire.com/jrunstudio
>
>
> Customers will be able to either create a new login, or add beta access
> privileges to their existing login.
> Existing beta customers have received notification directly, and can
> access the beta through http://beta.allaire.com
>
> GIVING FEEDBACK:
>
> When you encounter problems, questions or issues please use the
> following methods:
>
> * Beta Forums - Post questions and dialog with developers and Allaire
> staff in the Beta Forums at beta.allaire.com.
> * Bug Reporter - Report bugs or suggest product enhancements with
> Bug/Enhancement Reporter also on the beta site.
> * E-mail - Contact us at [EMAIL PROTECTED] if you encounter any problems
> with downloading the software.
>
> Scott Stirling
> Allaire Corporation
> [EMAIL PROTECTED]
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Move data from one db to another?

2000-05-25 Thread Tom Wilcoxen

Hi All,
I'm trying to move data from an online db to an offline one. I have a bean
that I have set up a select method to get info from one system, and the same
bean has an insert to put that data into the other system. However, when I
get a result set from the select and loop through it in the jsp, it always
exits after I call the insert.

Do I need to use two beans? The tables are the same on both systems so it
seems redundant. I'm using Resin with the datasources set up in the
resin.conf file. Is it a problem to be switching back and forth in the same
bean?

Here is a code snippet:

<% wwwOrder.select(); %>

<% while (wwwOrder.next()) { %>


wwwOrder.insert();
<% } %>

If I have to use 2 beans, what is the best method to load the data from one
to the other? Is there a way to pass a whole result set?

Thanks for any clues!
Tom

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

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



Re: trying to mimic example in chapter 8 of Fields&Kolb book

2000-06-02 Thread Tom Wilcoxen

You may need to change the import directives in the JSP pages to reference
the new beans. E.g.:
<%@ page import='com.taglib.wdjsp.arch.FetchDatasetServlet' %>

Or whatever the path is.

Tom

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Norris, Michael
> Sent: Wednesday, May 31, 2000 5:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: trying to mimic example in chapter 8 of Fields&Kolb book
>
>
> Did you check the package directive at the top of the source?
>
> > --
> > From: John Cartwright[SMTP:[EMAIL PROTECTED]]
> > Reply To: A mailing list about Java Server Pages specification and
> > reference
> > Sent: Wednesday, May 31, 2000 2:54 PM
> > To:   [EMAIL PROTECTED]
> > Subject:  trying to mimic example in chapter 8 of Fields&Kolb book
> >
> > Hello,
> >
> > I am very much enjoying this book, but am now trying to very slightly
> > modify the employee example in chapter 8 for my own purposes.  Running
> > tomcat 3.1 installed the examples as "webdev".
> > /webdev/fundamentals/helloBean.jsp seems to work just fine.
> >
> > I duplicated the list.jsp and employee.jsp as listDataset.jsp and
> > dataset.jsp respectively, modifying them to reference my new beans.
> >
> > Similarly, I modified EmployeeBean.java and FetchDatasetServlet.java as
> > DatasetBean.java and FetchDatasetServlet.java in
> > webdev/WEB-INF/classes/com/taglib/wdjsp/arch.  They compile fine.
> >
> > However, when I try to access my jsp pages, it complains that the
> > DatasetBean class is not found.  Partial error message below.  Any
> > Suggestions would be greatly appreciated!
> >
> > Thanks!
> >
> > --john
> >
> >
> >
> >
> >
> > Internal Servlet Error:
> >
> > org.apache.jasper.JasperException: Unable to compile class for
> >
> JSP/usr/local/jakarta-tomcat/work/localhost_8080%2Fwebdev/_0002farch_0002f
> > listDataset_0002ejsplistDataset_jsp_0.java:64:
> > Class com.taglib.wdjsp.arch.DatasetBean not found.
> >
> >
> >
> >
> >
> ==
> > =
> > John Cartwright
> > Professional Research Assistant / Associate Scientist
> > CIRES, SEG/NGDC/NOAA
> > (303) 497-6284
> > [EMAIL PROTECTED]
> >
> ==
> > =
> >
> >
> ==
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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