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.

Craig McClanahan


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
>
> chris wilson
>
> {phone}
> tel + 616.471.9142
> fax + 616.471.6900
>
> {email}
> [EMAIL PROTECTED]
>
> {web}
> http://www.wondergeek.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

Reply via email to