>From: Scott Fitzgerald <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Using objects in JSPs (newbie)
>Date: Thu, 15 Feb 2001 15:52:39 +0000
>
>On 15 Feb 2001, at 9:38, Joseph Ottinger wrote:
>
> > Look at http://java.sun.com/products/jsp, and read the tutorial, for one
> > thing.
> >
>I have looked at that and what i wanted wasn't there!

Sounds like you're asking a container-specific thing, then. That's standard
JSP.

> > There are a few ways to do it, depending on what your needs and desires
>are.
> > For example:
> >
> > <% car mycar=new car();
> > car.doSomething(); %>
>
>I know how to do this, but where is the above 'car object located?

Depends on where "there" is. If you're talking about "in the filesystem,"
it's in $WEB-APP/WEB-INF/classes *normally*. Your mileage may vary. Check
your container's docs, as this isn't really a JSP issue at this point.

> >
> > or the more appropriate
> >
> > <jsp:useBean id="car" scope="request" type="car" />
>
>I dont want to use a bean!

Bummer. Beans fit perfectly in the JSP paradigm; you're limiting yourself. A
lot.

_________________________________________________________________
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

Reply via email to