新手求教怎么输出helloword?
用myeclipse 10 新建一个jsp页面
HTML code
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
My JSP 'index.jsp' starting page为什么这里没有输出?
This is my JSP page.
------解决方案--------------------
jsp内置对象out
直接使用out.print();
------解决方案--------------------
1.你用System.out.println();这个是在控制台打印。所以页面上不会有
这个是表示在页面上输出hello world字符
------解决方案--------------------
探讨
改了一样没有任何输出啊
------解决方案--------------------
探讨
1.你用System.out.println();这个是在控制台打印。所以页面上不会有
这个是表示在页面上输出hello world字符
------解决方案--------------------
直接写个hello world就行了啊,,
------解决方案--------------------
------解决方案--------------------
方法1
HTML code
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
My JSP 'index.jsp' starting pageThis is my JSP page.
------解决方案--------------------探讨
HTML code