• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 1.x to Struts 2

 
Ashish Soni
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am just wonderding if struts 2 supports backward compatibility with Strust 1.x.

Please let me know.

Ashish
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ashish Soni:
I am just wonderding if struts 2 supports backward compatibility with Strust 1.x.

No, it doesn't. If you move to Struts 2, you must migrate your application code.
 
Ashish Soni
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks , But can both struts 1 and struts 2 can be used in application at the same time as it is not possible to do migration in one time.

Ashish
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is possible to have a struts 2 filter mapped to "*.action" and a struts 1 servlet mapped to "*.do" both defined for the same application. For more information on this see the following link:

http://opensource.atlassian.com/confluence/oss/display/STRUTS/Migrating+to+Struts+2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic