One thing that I don't like (haven't figured out how to get around this) is the need for empty classes. If I have a secure page, like an image upload form, let's call it (image-upload-form.jsp), I don't want the user to be able to access it if he or she is not logged in. To accomplish this, I have a package defined in my struts.xml that declares a custom interceptor. Then, in the actions that need to be secure, I declare this package as their ParentPackage using a package-info.java file. Finally, in order for an access to image-upload-form.jsp to be intercepted, I have to have a class called ImageUploadForm.java JUST so that the interceptor can be called. There's nothing in the class that needs to be done. It seems like a waste. Is there any way around this?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to