JSP Script´Â java object¸¦
»ý¼º,¼öÁ¤, »ç¿ëÇÏ¿© µ¿Àû ÄÁÅÙÆ®¸¦ ¸¸µé ¼ö ÀÖ½À´Ï´Ù. ½±°Ô À̾߱⸦
Çϸé ÀÚÁÖ »ç¿ëÇÏ´Â ±¸¹®Àº class·Î ¸¸µé¾î µÎ¾î ÇÊ¿äÇÒ ¶§ ¸¶´Ù instance·Î »ý¼ºÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ´Ù´Â Á¡ÀÌ°ÚÁö¿ä.
À§¿Í °°Àº °üÁ¡¿¡¼ JSP
Container ÀÚü´Â °³¹ßÀÚµéÀ» À§ÇÏ¿© À¯¿ëÇÑ °´Ã¼µéÀ» ¸¸µé¾î ³õ¾Ò´Âµ¥ ¹Ù·Î ±× °´Ã¼µéÀÌ implicit object ÀÔ´Ï´Ù.
Ȥ½Ã ASP¸¦ »ç¿ëÇØ º» ÀûÀÌ
ÀÖ´ÂÁö¿ä? ¾ø³ª¿ä. ¾øÀ¸¸é ÇÒ ¼ö ¾ø±¸¡¦
ASP¿¡ º¸¸é response,
request µîÀÇ ³»ºÎ °´Ã¼µéÀÌ ÀÖÁö¿ä. implicit
object´Â ASPÀÇ response, request¿Í µ¿ÀÏÇÑ °ÍÀÔ´Ï´Ù.
object |
class or
interface |
page |
javax.servlet.jsp.HttpJspPage |
config |
javax.servlet.ServletConfig |
request |
javax.servlet.http.HttpServletRequest |
response |
javax.servlet.http.HttpServletResponse |
out |
javax.servlet.jsp.JspWriter |
session |
javax.servlet.http.HttpSession |
application |
javax.servlet.ServletContext |
pageContext |
javax.servlet.jsp.PageContext |
exception |
java.lang.Throwable |
implicit object ´Â
java class ,interface ÇüÅÂÀÇ API·Î Á¦°øµÇ°í ÀÖ½À´Ï´Ù.
http://localhost:3030/javadoc/index.html
¸¦ ÅëÇؼ ÇØ´ç class ¿Í inteface¿¡ ´ëÇÏ¿© ´ëÃæ »ìÆ캸´Â °Íµµ ÁÁÀº °øºÎ¶ó°í »ý°¢ÀÌ µÇ´Â±º¿ä.
Àú´Â ²À Çѹø¾¿ º¸°í ¶Ç º¸°í ÇÕ´Ï´Ù.
°¢°¢ÀÇ Ç׸ñ¿¡ ´ëÇÏ¿©´Â Çϳª¾¿ Çϳª¾¿ »ìÆì º¸µµ·Ï ÇÏÁö¿ä¡¦.
°ÁÂÀÇ
reference
- Web Development with Java Server Pages. by Duane K.
Fields & Mark A. Kolb ,°û¿ëÀçÆí¿ª ; InfoBook, Manning
- http://java.sun.com/products/jsp/tags/tags.html
- http://myhome.shinbiro.com/~jimmy/home.htm