You're leaving off instantiation, and your use model is rather incomplete,
as his was... :)
>From: Casper Madsen <[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:29:56 +0100
>
>First of all you would import it, as in any other class...
>
><%@page import="com.manufacture.car"%>
>
>...and then you can use the car class! :)
>
><%=car.getName()%>
>
>Best regards
>
>Casper Madsen
>
>
>-----Original Message-----
>From: Scott Fitzgerald [mailto:[EMAIL PROTECTED]]
>Sent: 15. februar 2001 14:52
>To: [EMAIL PROTECTED]
>Subject: Using objects in JSPs (newbie)
>
>
>Hi,
>How would I go about using an object called car, for example, in a
>JSP. I have written the object and saved it in its own file called
>car.java. How do I access this object and its methods from a jsp?
>
>Thanks,
>Scott
_________________________________________________________________
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