JSP Action Tags, Directive Tags & Scripting Tags?


Action Tag: These tags effect the run time behavior of the jsp page and the response
set back to client tags are :

<jsp: usebean> instantiate a new jsp bean class
< jsp: setProperty>: setting the properties at run time
<jsp:param>:used to sending parameters
<jsp:include>include a resource at run time
<jsp:forward>forward the control to specific resource
<jsp:plugin>:to plugin a web resource url applet

Directives:
These tags effect the overall structure of the servlet that result from translation. 3 types of directives are defiend.
Page directive: used to define and manipulate the no of page dependent attributes that effect the whole jsp.
<%@page…….%>
include directive: This instructs the container to include the content of the resource in the current jsp
.<%include file=”—–”/>
this file is parsed once, when translation.
Taglib directive: To use tag extensions to define custom tags.

Scriptlets: There are used to include java code in jsp page these are of 3 types
scriptlet: used to write pure java code
<%———-%>
declarations: used to declare java variables and methods
<%!int num=3;
public void hello(String str)
{
return str;
}
%>
Expressions:
This send the value of a java expression back to client. These results is converted to string and displayed at client.

3 thoughts on “JSP Action Tags, Directive Tags & Scripting Tags?

  1. billigste ipad January 8, 2013 / 6:22 pm

    Thanks for sharing your thoughts about billigste ipad.

    Regards

  2. diet and exercise to lose weight September 8, 2013 / 1:04 pm

    Appreciating thee persistence you put into your blog and in dedpth
    information you provide. It’s awesome to come across a blog
    every once in a while that isn’t thee sae unwanted rehashed
    material. Fantastic read! I’ve bookmarked your site and I’m including
    your RSS feeds too my Google account.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.