怎么判断一个JAVA程序用了什么框架????

已举报 回答
怎么判断一个JAVA程序用了什么框架????
问在线客服
扫码问在线客服
  • 回答数

    8

  • 浏览数

    6,423

8个回答 默认排序
  • 默认排序
  • 按时间排序

已采纳
看源码代码架构和xml文件,界面是肯定看不出来的,撑死只能看看他前台技术用了哪些,也可以通过war包蒙一下,不知道你是想做什么,现在市场上架构太多了,通用的ssh,springMVC,大公司基本上都会开发自己的架构。
取消 评论
我有可以供你参考
取消 评论
一般都可以的,只要你的电脑不要太烂,问题在于你有没有部署
取消 评论
很简单 。 找到项目里面的 web.xml 文件 然后看 里面是否有 很多 servlet 节点。 如果有很多的话。 就是了。

不过j2ee web方面 servlet 是基础啊。
取消 评论
看源码 只从界面上 很难看出来的
取消 评论
package zhidao;
import java.util.Calendar;
public class Month {
public static void main(String[] args){
Calendar c=Calendar.getInstance();
int month = c.get(Calendar.MONTH) + 1;
if(month = 1 && month =3){
System.out.println(现在是 + month + 月);
System.out.println(现在是春天);
}else if(month = 6){
System.out.println(现在是 + month + 月);
System.out.println(现在是夏天);
}else if(month = 9){
System.out.println(现在是 + month + 月);
System.out.println(现在是秋天);
}else if(month = 12){
System.out.println(现在是 + month + 月);
System.out.println(现在是冬天);
}else{
System.out.println(系统时间错误);
}
}
}
取消 评论
用随机数啊
取消 评论
public class test1 {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Calendar c = Calendar.getInstance();
int m= c.get(Calendar.MONTH)+1;
switch (m) {
case 1:
case 2:
case 3:
System.out.println(现在是春天);
break;
case 4:
case 5:
case 6:
System.out.println(现在是夏天);
break;
case 7:
case 8:
case 9:
System.out.println(现在是秋天);
break;
case 10:
case 11:
case 12:
System.out.println(现在是冬天);
break;
default:
break;
}
}

}
取消 评论
ZOL问答 > 怎么判断一个JAVA程序用了什么框架????

举报

感谢您为社区的和谐贡献力量请选择举报类型

举报成功

经过核实后将会做出处理
感谢您为社区和谐做出贡献

扫码参与新品0元试用
晒单、顶楼豪礼等你拿

扫一扫,关注我们
提示

确定要取消此次报名,退出该活动?