- This topic has 3 replies, 2 voices, and was last updated 18 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
fly_bluewolfMemberI tried to reformat my JSPs code using <Ctrl>+<Shift>+<F>.
but it work not normal.
not format:
<body>
Request Method:
<c:out value=”${pageContext.request.method}” />
</body>formated:
<body>
Request Method:
<c:out value=”${45() throws java.io.IOException,
javax.servlet.ServletException {
javax.servlet.jsp.PageContext pageContext = null;
java.util.Map param = null;
java.util.Map paramValues = null;
java.util.Map header = null;
java.util.Map headerValues = null;
java.util.Map cookie = null;
java.util.Map initParam = null;
java.util.Map pageScope = null;
java.util.Map requestScope = null;
java.util.Map sessionScope = null;
java.util.Map applicationScope = null;
return “” +pageContext.getRequest().getMethod()}” />
</body>why?
Riyad KallaMemberI can’t tell what you are reporting because you need to use [ code ] blocks (the code button below) to wrap your code so it maintains it’s indentation.
fly_bluewolfMembersorry.
don’t use format document function:
<body> Request Method: <c:out value="${pageContext.request.method}" /> </body>
but used the format document function:
<body> Request Method: <c:out value="${45() throws java.io.IOException, javax.servlet.ServletException { javax.servlet.jsp.PageContext pageContext = null; java.util.Map param = null; java.util.Map paramValues = null; java.util.Map header = null; java.util.Map headerValues = null; java.util.Map cookie = null; java.util.Map initParam = null; java.util.Map pageScope = null; java.util.Map requestScope = null; java.util.Map sessionScope = null; java.util.Map applicationScope = null; return "" +pageContext.getRequest().getMethod()}" /> </body>
why?
Riyad KallaMemberI was able to reproduce this quickly, thank you for the code snippet, I have filed it as a high priority bug.
-
AuthorPosts