Hi_Amos
坚持每天都在进步!!
摘要: Failed to send out e-mailcom.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 553 Mail from must equal authorized user at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)... 阅读全文
posted @ 2014-02-14 17:37 Hi_Amos 阅读(7966) 评论(0) 推荐(0) 编辑
摘要: 自定义类型转换器的作用就是将struts无法识别的类型转换成自己所需要的.比如输入:广东-东莞-虎门,对应的输出时能输出:广东省 东莞市 虎门(镇/区)这里涉及到的知识点即是将String转换为任意的JavaBean类型.一.实现代码 程序配置入口:struts.xml --> --> --> --> -->注:struts.xml是在项目运行的过程中被加载进入内存的,是项目配置的总入口,这里使用属性加载外部的type_struts.xmltype_struts.xml ... 阅读全文
posted @ 2014-02-14 01:19 Hi_Amos 阅读(743) 评论(0) 推荐(0) 编辑