工具:
1、jdbc for sqlserver2005 1.2
2、jre 2.1.4
3、tomcat 5.5
4、mod_jk.dll
须知:
1、jsp页面中连接数据库的字符串需要修改!
2、jsp页面中获取手机号码的代码:
两个参考文章:
Win2000下Apache Server2.0.50+tomcat-4.1.30+mod_jk.dll配置过程
Windows下JSP开发环境的配置
1、jdbc for sqlserver2005 1.2
2、jre 2.1.4
3、tomcat 5.5
4、mod_jk.dll
须知:
1、jsp页面中连接数据库的字符串需要修改!
2、jsp页面中获取手机号码的代码:
1String mobile = request.getHeader( "X-Up-Calling-Line-ID ");
2if(mobile == null){
3 mobile = request.getHeader( "x-up-calling-line-id ");
4}
5if(mobile == null){
6 mobile = request.getHeader( "x-up-subno ");
7}
3、Tomcat+Apache+Jsp的配置:2if(mobile == null){
3 mobile = request.getHeader( "x-up-calling-line-id ");
4}
5if(mobile == null){
6 mobile = request.getHeader( "x-up-subno ");
7}
两个参考文章:
Win2000下Apache Server2.0.50+tomcat-4.1.30+mod_jk.dll配置过程
Windows下JSP开发环境的配置