Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- context
- Windows 10
- maVen
- lsof
- netsh
- port
- 네트워크
- Mac
- bash
- Windows
- import
- VirtualBox
- grep
- ssh
- 단축키
- GIT
- xargs
- tomcat
- Source
- resource
- Quartz
- Eclipse
- profile
- find
- plugin
- JavaScript
- 줄바꿈 문자
- IntelliJ
- web.xml
- vscode
Archives
- Today
- Total
develog
[java] JSP 본문
JSP - Quick Guide
https://www.tutorialspoint.com/jsp/jsp_quick_guide.htm
page < request < session < application
JSP Directive
<%@ page ... %>
<%@ include ... %>
<%@ taglib ... %>
JSP Declaration
<%!
private void testMethod1() {
System.out.println("testMethod1");
}
%>
<jsp:declaration>
private void testMethod2() {
System.out.println("testMethod2");
}
</jsp:declaration>
JSP Scriptlet
<%
// java code
%>
<jsp:scriptlet>
// java code
</jsp:scriptet>
JSP Expression
<%= someVariable %>
<jsp:expression>
someVariable
</jsp:expression>
JSP Comment
<%-- jsp comments --%>
JSP Action
<jsp:action_name attribute="value" />
<jsp:include />
<jsp:useBean />
<jsp:setProperty />
<jsp:getProperty />
<jsp:forward />
<jsp:plugin />
<jsp:element />
<jsp:attribute />
<jsp:body />
<jsp:text />
JSP Implicit Objects
request (HttpServletRequest)
response (HttpServletResponse)
out (PrintWriter)
session (HttpSession)
application (ServletContext)
config (ServletConfig)
pageContext (JspWriters)
page (this)
Exception (Exception)
'Dev > Java' 카테고리의 다른 글
try catch finally - Flow test (0) | 2012.11.25 |
---|---|
Spring AOP (0) | 2012.11.24 |
[java] JSTL (0) | 2012.11.14 |
Primitive Variable (0) | 2012.11.12 |
Primitive Variable, Wrapper Class (0) | 2012.11.12 |
Comments