update_struts_1.0_to_2.0.txt

来自「Chinaxp 论坛源代码」· 文本 代码 · 共 24 行

TXT
24
字号
ok.new jarsok.JDBCFixture : GenericDataSource -> BasicDataSourceok.struts-config.xmlSince we will use hibernate as the persistence layer, so we do not set datasourcein struts-config.xml. Let MysqlDAOFactory to build the DataSource in it's initDatasource() methodDeprecated class or methods:  ActionServlet.findDataSource()    Deprecated. Look up data sources directly in servlet context attributes  GenericDataSource    Deprecated. Use a BasicDataSource directly, or indirectly acquire a data source provided by your container  Action.perform()    Deprecated. Use the execute() method instead  errors.empty()    Deprecated. Use isEmpty instead. ok.global forward.global exception forwarding .EditThreadLinkAction : ThreadNotFoundException, DAOException .EditThreadAction : ThreadNotFoundException, DAOException

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?