aspose file tools*
The moose likes Struts and the fly likes Determine if an action is in use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Determine if an action is in use?" Watch "Determine if an action is in use?" New topic
Author

Determine if an action is in use?

Michael Schumacher
Greenhorn

Joined: May 08, 2008
Posts: 5
I'm working on removing a Database column and looking to see how this one page is being used, however I cannot determine how it would get displayed. I'm currently searching the code for the "path/actionName" and only find the reference in the jsp and struts-config.xml - is there other ways that an actionPath get called in an app?

Michael
Tom Rispoli
Ranch Hand

Joined: Aug 29, 2008
Posts: 349
It could also get called from and html or js file (at least these are other ways I've used). However, your struts-config file may also be giving control to that JSP at some point, and then the action may be getting called by submitting the jsp.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Determine if an action is in use?
 
Similar Threads
Height and width of image from file upload
Controlling Button Focus with Arrow Keys
Garbage collection questin from Danchisolm
JSP servlet Exception
reflection to get values in an interface