The magic is they're all in the same package :-)

Saul


----- Original Message ----- 
From: "Mohammed Bustany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 10:04 PM
Subject: Sample Struts app, LogonAction.java, missing UserDatabase 


> Hi all
> 
> I just started learning about struts.  I
> have a simple question about LogonAction.java.  
> Maybe someone can shed some light on it. 
> 
> The source file uses 'UserDatabase ' as in:
> UserDatabase database = 
>       (UserDatabase) servlet.getServletContext().
>        getAttribute(Constants.DATABASE_KEY);
> but there is no import stmt for UserDatabase!!!
> I haven't tried compiling it yet, but how
> is that possible???
> 
> Thank you
> 
> Mo
> 
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to