Programming Tutorials

(追記) (追記ここまで)

What is JSP Scriptlet?

By: Karthik in Interview Tutorials on 2012年06月16日 [フレーム]

Answer: JSP Scriptlet is jsp tag which is used to enclose java code in the JSP pages. Scriptlets begins with <% tag and ends with %> tag. Java code written inside scriptlet executes every time the JSP is invoked.

Example:

   <% 
   //java codes 
    String userName=null; 
    userName=request.getParameter("userName"); 
    %>



(追記) (追記ここまで)


Add Comment

JavaScript must be enabled for certain features to work
* Required information
1000

Comments

No comments yet. Be the first!
(追記) (追記ここまで)
(追記) (追記ここまで)

AltStyle によって変換されたページ (->オリジナル) /