<servlet>
<servlet-name>winxinServlet</servlet-name>
<servlet-class>com.fulus.servlet.WeinxinServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>winxinServlet</servlet-name>
<url-pattern>wx.do</url-pattern>
</servlet-mapping>
<servlet-name>winxinServlet</servlet-name>
<servlet-class>com.fulus.servlet.WeinxinServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>winxinServlet</servlet-name>
<url-pattern>wx.do</url-pattern>
</servlet-mapping>
2015-06-12
最赞回答 / lucien_es
char hexDigits[] = {'1','2','3','4','5','6','7','8','9','a','b','c', 'd','e','f'};中掉了一个0 所以会发生数组下标越界,所以直接return null;
2015-06-09