wood burning stoves*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "A question about security..." Watch "A question about security..." New topic
Author

A question about security...

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
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...

http://localhost:8080/myapp/actions/submitapplication.do?page=apply&personalInfo.age=99999


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
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
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: 746
I figured out the problem, it was my File Upload routine causing an exception! Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A question about security...
 
Similar Threads
how do i call the action name from the web.xml instead of typing the action name at the url
FORM type security implementation problem?
EL & JSTL Tags not working in my ENV.
Problem with the Contextpath in the url
Wildcard Actions