yes, that is the case. i did some more digging and found out that my
example 1 will not work as written. thanks all for the help.
cheers,
chris
chris wilson
{phone}
tel + 616.471.9142
fax + 616.471.6900
{email}
[EMAIL PROTECTED]
{web}
http://www.wondergeek.com
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Hans Bergsten
> Sent: Sunday, December 05, 1999 11:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: full package path in jsp:useBean???
>
>
> "Craig R. McClanahan" wrote:
> >
> > Both formats are perfectly acceptable.
> >
> > Which version of JSWDK are you using? Version 1.0 had a
> horrible bug here -- the
> > implementation required you to say "imports" instead of
> "import" to be recognized,
> > but it didn't complain about "import" by itself. You really
> want to get the
> > latest and greatest version if you're using 1.0, both for this
> bug fix and for
> > some others.
>
> Are you sure? My take is that it must be a fully qualified name,
> since if the
> bean is not found the full name is needed to create it (with
> something like
> Class.forName(beanClassName).newInstance() ).
>
> Hans
>
> > Chris Wilson wrote:
> >
> > > hello,
> > >
> > > got a quick question. do i have to use the full package name
> when using
> > > <jsp:useBean> tag, or can i do a <@ page import> and include
> the package
> > > names in that like with regular old java programming?
> > >
> > > this is what i want to do:
> > >
> > > <%@ page import="com.wondergeek.util.*" %>
> > > ...
> > > ...
> > > ...
> > > <jsp:useBean name="Test" class="RandomString" scope="session">
> > > ...
> > > ...
> > >
> > > instead of this:
> > >
> > > <jsp:useBean name="Test" class="com.wondergeek.util.RandomString"
> > > scope="session">
> > >
> > > jswdk seems to only let me do the latter. is the former possible?
> > >
> > > thanks in advance for the help...
> > >
> > > cheers,
> > > chris
>
> --
> Hans Bergsten [EMAIL PROTECTED]
> Gefion Software http://www.gefionsoftware.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