File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Best practice link configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Best practice link configuration" Watch "Best practice link configuration" New topic
Author

Best practice link configuration

louise rochford
Ranch Hand

Joined: Apr 04, 2002
Posts: 119
Whats the recommended way to specify links?
My pages have links to xxx.do anfd then a single mapping in the config file for the xxx.do to use xxxAction.
Doesn't this rather give any potential naughty chaps the knowledge that I'm using Struts. Should I be disguising the links in some way or adding another level of indirection?
Thanks,
Louise
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
So far as I know, it would only matter if there was some giant security fault that people could exploit. Who cares if they know you're using Struts if they can't exploit it. You could always change the action servlet filter to pretend it's using something more primitive like *.html or *.cgi, or something arbitrary like *.hireme.
I don't see many people explcitly changing it though -- the traditinal "do" seems adequate for most.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Best practice link configuration
 
Similar Threads
A fresh start...
ensuring valid forwards
Struts client side validation is not supporting for image button
servlet.log not working in struts/tomcat environment
Forward Pages into a Frame