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 [convert struts 2 to struts 1.3]:  the .do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "[convert struts 2 to struts 1.3]:  the .do " Watch "[convert struts 2 to struts 1.3]:  the .do " New topic
Author

[convert struts 2 to struts 1.3]: the .do

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
I have .action everywhere, because it is a struts 2 application.

Do I need to change all of them to .do?

Or is struts 1.3 flexible enough for me to keep the .action? e.g. in the mapping...etc.?
[ May 23, 2008: Message edited by: Jesus Angeles ]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

Jesus,
You can use anything you want in the mapping. We don't use .do at all (Struts 1.X). We use /root/* as our servlet matching expression so nobody can tell what technology the website is using.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Thanks Jeanne.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [convert struts 2 to struts 1.3]: the .do