WDD_lec_35 - JSP implicit objects& directive elements...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: JSP implicit objects & directive elements Lec - 35 – directive elements ………………………. – scripting elements • JSP comments………………………………. • declarations ………………………………… • expressions …………………………..…….. • scriptlets……………………………….......... – action elements • special JSP tags ………………………….…. JSP Journey implicit objects Implicit Objects Implicit Objects • Objects that can be used in scriplets & expressions without defining them before. – request – response – out – Session – application – config – pageContext – exception – page Implicit Objects cont. – request: javax.servlet.HttpServletRequest • request object that is the reason for the servlet to run – response: javax.servlet.HttpServletResponse • Response for the request – out: javax.servlet.jsp.JspWriter • Output stream writer Example of Implicit Objects index.jsp controller .jsp web.jsp java.jsp I f p a g e = = w e b I f p a g e = = j a v a Example Code Use of implicit objects –...
View Full Document

This note was uploaded on 07/01/2010 for the course CS CS506 taught by Professor mr. umair javed during the Spring '10 term at Virtual University of Pakistan.

Page1 / 24

WDD_lec_35 - JSP implicit objects& directive elements...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online