📄 update_struts_1.0_to_2.0.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -