JSTL c:import tag question

Advertisement

HI
I have a question about how the <c:param> tag interacts with <c:import> tag.
<c:import> tag can be used to import from relative URL's like <c:import url="target.jsp" /> , from absolute urls like <c:import url="http://www.espn.com" /> or from another web application on the same server by specifying the context attribute like <c:import context="/myotherwebapp" url="some.jsp" />
we can use <c:param> tag as an optional child tag for <c:import> to send request parameter to the page it is loading. For absolute url sending request parameters makes sense beacuse the import will be treated as new request and original request object will not be passed . but for relative urls and including the page in different web application on same web server does the jsp container treat it as part of same original request and does the target page have access to the original request object ? if this is true then how can you set additional request parameters on the request object? because once the request object is craeted by jsp container you can only add/remove attributes on it but you can never add parameters on it.
Now if the jsp container always creates new request object for each of the above included pages then these pages will not have access to original request parameters entered by the user. Is that not a limitation.
I am a little bit confused . hopefully somebody can help me out.
thanks

Advertisement

the c:param tag are added to the url and are not set as request parameter.
<c:import url="target.jsp">
   <c:param var="test" value="val">
</c:import>then is will do an import like
<c:import url="target.jsp?test=val"/>

November 30, -0001

JSTL c:import tag question

HI I have a question about how the <c:param> tag interacts with <c:import> tag. <c:import> tag can be used to import from relative URL's like <c:import url="target.jsp" /> , from absolute urls like <c:import url="

Issue with JSTL ( c:import ) tags in Weblogic 9.2

Hi, I'm trying to migrate a struts (1.2.9) application from Weblogic 8.1 to Weblogic 9.2. This application has JSPs with JSTL (1.0) tags. I have a JSP page that has multiple (around 7) c:import statements. When I launch my application, only the conte

Move tags to from imported tags?

I had my PC crash & I reinstalled PSE 10.  Since I could not find my old B/U at this time or the catalogue I just told the program to look in an old 'My Pictures' folder & import from there.  This worked OK & all the pictures were imported inc

No option to import GIFT question as pretest

I'm importing a gift file, and it appears to default to "Graded", with no option to change it to Pretest.  Not a huge problem with smaller courses but it would be nice to import pretest questions as well. Unless I'm just missing something?I thin

How to quick import Tags from a xml file?

Good morning/afternoon/night everyone.    I have this client that want me to import something like 1000 tags from a xml file in CQ5.5. I know I can do it programatically and in dev.day.com I have already found some instructions, but, there is some ea

JSTL Tag Question - forEach

Hi there, I have this piece of code; <c:forEach var="row" items="${linkQuery.rows}" varStatus="status"> <tr> <td> <c:out value="<%= altField %>"/> </td> </tr> </c:forEach

Simple Import Static Question

Hi, Just wondering is it possible in regards to "import static" to statically import a static class or does it only allow one to import static functions and variables within a class? Cheers.Hi, Thanks for your reply. I actually do understand tha

Import Quality Question

Ok I don't know much about this but, How much audio quality do you lose when you import from a CD? Also, if the answer is lots, then does iTunes use that lossless audio encoder called apple lossless and if not where can I get and what do I need to us

Can you set pager attribute using jstl c:out tag?

I am trying to use the pager tag library from jsptags.com. The pager tag has a maxPageItems attribute. I want maxPageItems to be variable. I also want to use the jstl instead of scriptlets and expressions. Instead of writing <pg:pager     maxPageItem

Import tagged text without overwriting formatting?

When processing an INDD file in InDesign Server CS5, we are importing text that contains Tagged Text tags.  The tags are being properly applied, but we are having an issue with the formatting in the INDD file being overwritten. For example: We have a

EDL Exporting and Importing 101 - Questions

We are testing Premiere's EDL exporting and importing capabilities for the first time, and are having issues. We set up a very simple test project with only 13 clips and a timeline with only 10 edits. This is what it looks like: http://img819.imagesh

JSTL 's function tag

I have tried to use function tag in my jsp page. However, I kept receiving this error message: <h3>Validation error messages from TagLibraryValidator for c</h3><p>35: tag = 'out' / attribute = 'value': An error occurred while parsing cus

Import tags from elements 8

I saw that I had most of my tags still in Elements 8. Is it possible to import them to Lightroom 3? I have all the keywords and pictures already in Lightroom 3.Tönne Bäcklinder wrote: I saw that I had most of my tags still in Elements 8. Is it possib

C:import tag - Query string while calling servlet from JSP

Hi, From my JSP I am calling a servlet to write back to the response stream of the JSP. From the JSP i am trying to pass some values into the query string as follows      <%      String strGetParameters = "/servlet/MyServlet?path=" + strPath;

Importing tagged images

I just want to import ONLY the images I tag (lock) on my camera (EOS 1D Mark IIN), surely this feature is available with Aperture but I can't figure it out. How do I do this? Dual G5 2.0ghz   Mac OS X (10.4.8)  Also VERY keen to hear how to do this w

Behaviour  of JSTL c:choose tag on solaris .

Hi I am using <c:choose> JSTL tag like <c:choose> <c:when..> </c:when> <c:when..> </c:when> <c:choose> instead of <c:choose> <c:when..> </c:when> <c:otherwise> </c:otherwise> <c:ch

Text in Div tag question

hello Dreamweavers. I have made a Div Tag and placed and image within it. Im also copy/pasting lorum ispum text in the div tag. what id like to know is,why does DW put the text down the bottom and not from the top where the red arrow is. So how can I

Issues importing tagged media from adobe lightroom into adobe organizer12....is it possible? Steps if so?

So i'm helping my sister in law with digital scrapbooking and she has adobe elements12. I have been trying with no luck to import all of my media from adobe lightroom into her adobe organizer since I already have a ton tagged and it will be easy for

Playing imported HDV question

I use Final Cut Studio 2 at school, and import off our HDV camcorders using Final Cut. I've noticed the format used is Quicktime MOV with the HDV codec. Is there any way to play these files back on a pc running Windows Vista? I don't have Final Cut o

A few podcast directory & id tag questions

Hi Also ive uploaded a few onto the itunes store and would like some help on a few things im using an audio site to upload my audio, wordpress to post my audio then feedburner to add it onto itunes. i know nothing about the xml coding or what ever ot