把http://100.0.7.143/EncoderConfig/F1EncoderConfig.exe简化成IP地址如http://100.0.7.143:
在web.xml中:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
在webroot的根目录下有index.jsp,其内容为:
<!--html><body><h1>It works!</h1></body></html-->
<html><script type="text/javascript">
window.location.href = "<%=request.getContextPath()%>/LoginController.do?method=toLoginView";
</script>
</html>