哪些項目使用Struts

查看struts的文檔,文檔首頁中有這樣一段話講明瞭在什麼時候使用struts是個不錯的選擇.

If you need to write a very simple application, with a handful of pages, then you might consider a "Model 1" solution that uses only server pages.

理解:如果你使用應用知識個簡單的應用,使用普通的jsp就可以了.

But, if you are writing a more complicated application, with dozens of pages, that need to be maintained over time, then Struts can help. For more about whether Model 1 or or MVC/Model 2 is right for you, see Understanding JavaServer Pages Model 2 architecture and Issues in Struts Adoption.

理解:但是,如果當是一個比較複雜的應用的時候,項目中有很多需要隨時維護的頁面時,struts是個不錯的選擇.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章