File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes A question about security... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "A question about security..." Watch "A question about security..." New topic

A question about security...

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 751
I have a JSP that submits to a Action class... There are validation methods done manually in my execute() method ... However, when I try to invoke URL like this...


The action class accepts the values, and my validation methods are ignored... Why is that? Could someone please provide me a security checklist with my action servlet? Thanks!

SCJP 1.5
Dom Lassy
Ranch Hand

Joined: May 05, 2006
Posts: 181
Post the code that does your validation. If the action is called and your validation is in the execute method of the action, your validation should be done.
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 751
I figured out the problem, it was my File Upload routine causing an exception! Thanks!
I agree. Here's the link:
subject: A question about security...
It's not a secret anymore!