You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Raphaël Piéroni <ra...@yahoo.fr> on 2003/06/05 18:08:29 UTC

[SecuredResource] how to construct a valid URL

'lo list...

I'm trying to let access to some image resources and files only to some
registered users... I have made a Screen extending RawScreen. i
override the 2 needed methods with secure conditions before letting the
stream going... but i have found an undocumented problem : what is the
valid url for my resource loader screen ?

SecureResource.java is my class and is placed w/ my other screens.

i have tried : 
http:// .../servlet/vap/template/SecureResource/resource/resourcename
and 
http:// .../servlet/vap/screen/SecureResource/resource/resourcename

but i can't figure out any other way to access my screen. 

because each times i get 
java.lang.ClassNotFoundException: Requested Screen not found: Turbine
looked in the following modules.packages path: [com.dexem.vap.modules,
org.apache.turbine.flux.modules, org.apache.turbine.modules] 

in advance thanks you

R

=====
------------------------------------
| Raphaël Piéroni                  |
| 33+ 223 351 354                  |
| mailto:rpieroni@dexem.com        |
| http://www.dexem.com             |
| mailing:raphael_mailing@yahoo.fr |
------------------------------------

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org