This is used for importing the response of other pages in the current page response at request processing time i.e. dynamic include.

http://spaplaceinc.com/17-lvoflfoa-15451-kuua/cnzctba-spma-mboaefpa.aspx كم سعر اونصة الذهب بالريال السعودي Form1:

<c:import url = "second.jsp"/>

It can be absolute or relative path.

افضل بنك لتداول الاسهم First.jsp:

<h1> this is first jsp </h1>
<c:import url = "second.jsp"/>

http://holisticintegratedmedicine.com/tag/reports/ هل توجد اسهم بنوك للبيع Second.jsp:

<h1> this is second jsp

http://www.youthandfamilyconnections.org/?pindyk=%D8%A3%D8%AE%D8%A8%D8%A7%D8%B1-%D9%85%D8%B5%D9%86%D8%B9-%D8%A7%D9%84%D9%81%D9%88%D8%B1%D9%83%D8%B3&61e=45 أخبار مصنع الفوركس output:

this is first jsp
this is second jsp.

http://www.ac-brno.org/?pycka=%D9%85%D8%AF%D9%88%D9%86%D8%A9-%D9%81%D9%88%D8%B1%D9%83%D8%B3&665=e5 مدونة فوركس Form2:

<c:import url= "/second.jsp" context = "/webapp2"/>

We can import the resources form outside of current application also i.e cross context import is also possible.

http://sacramentomountainsradioclub.org/?hifer=%D8%A8%D9%8A%D8%B9-%D8%A7%D8%B3%D9%87%D9%85-%D8%A7%D9%84%D9%85%D8%B2%D8%B1%D8%B9%D9%87&8cb=6d بيع اسهم المزرعه Example:

<h1> this is first jsp </h1>
<c:import url="/test.jsp" context = "jsp2"/>

Test.jsp in other web app (jsp2)
<h1> this is test </h1>

http://pacificklaus.com/?kaptian=%D8%A8%D9%8A%D8%B9-%D8%A7%D8%B3%D9%87%D9%85-%D9%85%D8%B5%D8%B1%D9%81-%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D9%86 بيع اسهم مصرف الريان Error:

Unable to get request dispatcher for context:"/jsp2″ and URL:”/test.jsp” verify values and/ or enable cross context access.

اسواق الاسهم بالامارات Note:

Most of the web servers won’t provide support for cross context communication by default to meet security constrains and server level configuration changes are required to provide support for this.

شريط السوق السعودي الاسهم مباشر Form3:

<c:import url= "second.jsp" var = "x"/>

We can store the result of imported page into a variable specified by var attribute. In the rest of the page where ever the same response is required we can use directly without importing once again.

forex توصيات Example:

<h1> this is first jsp </h1>
<c:import url="second.jsp" var = "x"/>

http://kootenaysufferfest.com/?mjaso=forex-modal-rm50&e4e=cd forex modal rm50 Second.jsp:

<h1> this is second jsp </h1>

o/p : this is first jsp
this is second jsp
this is second jsp
this is second jsp

http://www.jacksonwhitelaw.com/?jenifer=%D9%83%D9%8A%D9%81-%D9%8A%D8%AA%D9%85-%D8%A7%D9%84%D8%AA%D8%AF%D8%A7%D9%88%D9%84-%D9%81%D9%8A-%D8%A8%D9%88%D8%B1%D8%B5%D8%A9-%D8%A7%D9%84%D8%B0%D9%87%D8%A8-%D8%AF%D8%A8%D9%8A كيف يتم التداول في بورصة الذهب دبي Form4:

The more convenient way to store the result of <c:import> is to use reader object it is alternamtive to var attribute.

http://thewrittenrunway.com/?pokalcovka=tutorial-forex-demo&6e5=62 tutorial forex demo Example:

<c:import url ="second.jsp" var reader = "myreader"/>
Int i = r.read ();
While (i! = -1){
// use i based on or requirement
i = r.read();

كيف طريقة التداول في الاسهم Example:

While performing import we can send parameters also to the target jsp.For this we have to use <c:param> tag.

http://www.guamsportsnetwork.com/?wilka=forex-trader-forum forex trader forum First.jsp:

<h1> welcome to DSS </h1>
<c:import url = "second.jsp>
<c:param name ="x" value = "scjp"/>

http://szkola280.pl/wp-json/oembed/1.0/embed?url=http://szkola280.pl/ciekawe-lekcje-historii-sytuacja-polakow-znajdujacych-sie-pod-zaborami-uczniowie-z-klasy-6-a/ jak zarabiać na kursach walut Second.jsp:

The offered courses are : ${param.x} </h1>


We can use this tag to redirect the request from one jsp to another jsp. But strictly speaking this tag is internally implemented for forward purpose.


<c:redirect url = "second.jsp"/>

url value can be Absolute or relative


We can redirect the request to some other web application resource also (i.e cross context communication).

<c:redirect url = "/second.jsp" context = "/webapp2"/>


While forwarding the request we can pass parameters also to the target resource by using <c:param> tag.

<c:redirect url="second.jsp">
<c:param name = "c" value = "scjp">


<c:redirect url = "second.jsp">
<c:param = "x" value = "c"/>


We can use this standard action rewrite url’s to appended session information & form parameters.


<c:url value = "second.jsp" var = "x" scope = "session"/>


<c:url value = "/second.jsp" context = "/webapp2" var = "x" scope = "request"/>


<c:url value = "second.jsp" var = "x" scope = "session">
<c:param name = "c1" value = "scjp"/>
<c:param name = "c2" value = "SCWCD"/>


<h1> welcome to DSS </h1>
<c:url value = "second.jsp" var = "x" scope ="session">
<c:param name = "c1" value = "scjp"/>
<c:param name ="c2" value = "SCWCD"/>

The encoded url is : ${x}
<a href = "${x}"> click here to go for second.jsp</a>


<h1> the offered courses are:
${param.c1} and ${param.c2} <h1>

Summery of url related tags:

Tag Description Attributes
<c:import> For importing the response of Other pages at request processing time url,context,var,varReader,scope
<c:redirect> To redirect the request to other web components url,context
<c:url> To rewrite url for appending session information and from parameters value,var,scope,context
<c:param> To send parameters while forwarding and including name,value