Does c_rt:import act like include directive or tag

The include directive <%@ include ... will not recompile when the included file changes. The tag <jsp:inlcude will always re-fetch the included file so new content is picked up immediately.
How do c:import and c_rt:import behave?
Can someone point me to a good description of the difference between c and c_rt libraries. The short one or two sentence descriptions I've seen don't really say much.
Thanks,
-- Frank

How do c:import and c_rt:import behave?The JSTL <c:import> tag acts like the <jsp:include> tag - it is evaluated at page runtime.
It uses either a RequestDispatcher.forward (for local resources on the same application server) or the java.net classes to open a URL connection for remote resources.
Can someone point me to a good description of the difference
between c and c_rt libraries. The short one or two sentence
descriptions I've seen don't really say much.The "c_rt" library is only included for historical reasons. If you are using JSTL and EL expressions, you should not be using the "c_rt" library.
There is only one functional difference between the two, and it only applies to JSP1.2 containers (eg Tomcat 4).
The "c" tags work only with el expressions: ${expr},
The "c_rt" tags work only on standard runtime expressions ie <%= expr %>
In a JSP2.0 containers (eg Tomcat 5), el expressions ARE runtime expressions, and you can use ${expr} or <%= expr %> interchangably with the JSTL1.1 "c" taglib.
You should only be using the c_rt library if
- you have a JSP1.2 container
- you want to use <%= expr %> with one of the JSTL tags.
Cheers,
evnafets

Similar Messages

  • Generate new browser window on using include directive/action tag in curren

    Hi Life line
    if i used jsp include directive/action taag inside my current jsp code it open new browser window but if i
    not use that include directive or action tag in my jsp source it properly display next jsp in
    same browser window
    how i can rid of this .i am confuse why it happens
    thanks
    Vivek Harnal

    1) on clicking view button it submit other page by
    script function()
    2) it work fine & display in same browser window if i
    am not incliudes jsp page after body tag .Your included JSP has a head and body of its own. If the including page has a head and body of its own, then the two will clash. Generally, it is best to make includes be fragments, ie, have no
    <html> <head> </head> <body> </body> </html> tags.
    3) included jsp use for standard menu based Header
    source of included page is
    <script type="text/javascript"
    src="menu_array.js"></script>
    <script type="text/javascript"
    src="mmenu.js"></script>
    <html>
    <script language=javascript>
    function show()
    // Master array in Menu_Array.js contains sub menu
    options available to super administrator
    // show the menu
    {     popup("master")
    function show1(){
    popup("requisition")
    function show2(){
    popup("purchase")
    function show3(){
    popup("receipt");
    function show4(){
    popup("reports");
    </script>
    <head>
    <link rel="stylesheet" type="text/css" href="css.css">
    <title>Procurement Automation System</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <base target="main">This means every link you click on will be sent to a new window or frame whose name is main. If no such window or frame exists, make one. If you do not want your links to bring you to a new window, you need to remove this <base target="main"> line.
    >
    >
    </head>
    <body bgcolor="#FFFFFF" text="#000000" leftmargin="0"
    topmargin="0" marginwidth="0" marginheight="0">
    <table width="982" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td><img src="images/header_inside.jpg" width="1004"
    height="106"></td>
    </tr>
    <tr>
    <td>
    <table width="1012" border="0" cellspacing="0"
    cellpadding="0" bgcolor="#a4c3cd">
    <tr>
    <td width="860" bgcolor="#a4c3cd">
    <table width="819" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td width="5"> </td>
    <td style='cursor: hand' width="113" ><b> </b><A
    onmouseover="javascript:show()"><b>Master
    Module</b></a>
    <td style='cursor: hand' width="142"><b> </b><A
    onmouseover="javascript:show1()"><b>Requisition
    Module</b></a></td>
    <td style='cursor: hand'
    width="149"><b> </b><A
    onmouseover="javascript:show2()"><b>Purchasing
    Module</b></a></td>
    <td style='cursor: hand'
    width="140"><b> </b><A
    onmouseover="javascript:show3()"><b>Receiving
    Module</b></a></td>
    <td style='cursor: hand' width="100"><b>
    </b><A
    onmouseover="javascript:show4()"><b>Reports</b></a></td></tr>
    </table>
    </td>
    <td align="left" width="148">
    <table border=0 cellspacing=0 bgcolor="#a4c3cd">
    <td width="24%" align="center" valign="middle"><a
    href="help.htm" ><img src="images/bt_help.gif"
    width="52" height="20" border="0"></a></td>
    <td width="4%" align="center" valign="middle"><img
    src="images/white_bar.gif" width="2" height="17"></td>
    <td width="32%" align="center" valign="middle"><a
    href="logoff.jsp" target="_self"><img
    src="images/bt_logout.gif" width="70" height="20"
    border="0"></a></td>
    <td width="8%"> </td>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    </html>

  • After effects does not import video when I direct link from premiere pro.  Why not? how do i fix this?

    I wanted to add some motion tracked text elements into a clip of a interview in my premiere pro cc timeline. I left clicked on the clips that i wanted to "replace with after effects composition".. so i clicked it to and it opens a new comp in after effects.. Only there is no video opened in the comp.. Theres nothing there. I cant figure out why it doesnt bring the video in? Its not in my project panel in ae.. and ive tried direct link by left clicking the clip and going through the menu.. Tried closing AE and then doing direct link. Tried opening AE first and then doing it.. Not working no matter how i try it.  Whats the fix?
    Im using all CC products. Premiere is up to date, after effects is not. I will be updating it to see if that fixes the problem. As soon as I do. I will post a comment as to whether it fixed it or not. In the meantime i could use some help!
    Computer specs:
    Imac
    OS X Yosemite (10.10.2)
    Processor: 2.8 GHz Intel Core i7
    Memory: 16 GB 1333 MHz DDR3
    Graphics: AMD Radeon HD 6770M 512 MB

    *right clicked      
    My bad!

  • Selection Tool suddenly acting like Direct Selection Tool during click-and-drag

    Hello!
    This morning, my Selection Tool (the filled-in arrow) is acting like a Direct Selection Tool (the hollow arrow), but only when I click and drag on a group.  It ends up select the anchors within the group rather than the whole group itself.
    I've checked my preferences, quit and relaunched Illustrator a few times, and nothing seems to fix it.  The problem briefly went away a few minutes ago, but came back when I quit and relaunched for good measure.
    It's happening in Illustrator CS 5.1.  I have CS6, and that version works fine, but I'm waiting on some plugins to be updated for it, so I'd like to use CS 5.1.  I'm also running the latest Suitcase Fusion 4.
    Any input on this would be appreciated.  Thanks!

    Does the cursor appear correct, do you have any other keys depresessed?
    The CMD key will make selection tool into direct slection. What OS are you running, update as there was a modifier key problem through 10.6.5 - 10.6.7

  • Include directive with import tags how to

    I mostly the same classes throughout many of my jsp pages. If I use the include directive to import the classes - it doesn't work. What is the proper directive / way / tag to include those tags? Sorry if I am not wording this properly. Here's an example:
    most of my classes use the following classes so I use the @import tag:
    <%@page import="web.urls.DisplayUrls"%>
    <%@page import = "web.beanObjects.display.DisplayPage"%>
    <%@page import="web.db.admin.TypesDbHandler"%>
    <%@page import="web.db.admin.CategoryDbHandler"%>
    I would like to put all of those in one file and only have one line of code so I don't have to cut & paste into every jsp page whenever there's a change:
    <%@include file="/include/imports.jsp"%>
    Unfortunately this isn't working, it's not recognizing the classes...
    Thanks!

    hi,
    since both the files are located in the same folder, why don't you try the following:
    <%@ include file="hello.jsp" %>
    hope this helps

  • Does the apple tv make the computer act like a receiver from the tv?

    does the apple tv make the computer act like a receiver from the tv?

    When using home sharing, the computer is on and running iTunes and the content is sent over the local network to the Apple TV.

  • WHY DOES IT ACT LIKE I AM OPENING ITUNES UP FOR THE FIRST TIME

    WHY DOES IT ACT LIKE I AM OPENING ITUNES UP FOR THE FIRST TIME

    dewin1or wrote:
    I want to extend the length of the song by repeating the first 28 measures.
    split the region at the 28th measure
    http://www.bulletsandbones.com/GB/GBFAQ.html#split
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    then select only the first region and option-drag it to the end of the song

  • Does iCloud Make Pop Mail Act like IMAP?

    I have basically 1 main question, but 2 different scenarios I'm dealing with - one personally for my mail and the other for my boss.
    Though a longtime Mac user, I am new to using Mountain Lion, iPhone, iPad and iCloud and historically I have always had numerous email accounts in Mac Mail set up as POP and countless elaborate folders that I file and keep all my old emails in for reference.
    When buying my new iMac with ML, the one thing I have not yet done is turn on iCloud for mail.
    If I am understanding how this works (before I do it and create a nightmare of duplication on my iPhone & iPad, etc), if I continue to create my email accounts as POP on my new ML iMac, with their various folders, etc., and turn on iCloud for mail, will it simply reflect on my other devices all the same email accounts and folders and in essence act like an IMAP account in that if you move or delete a piece of mail on one device it will do so on all the devices?
    I not only need to sort this on my computer, but my boss'.  She currently only uses gmail and has all these same devices but they are set up as IMAP and iCloud is turned on and she has mass duplication that is unbearable.
    I am thinking it would be best for me to make her gmail account set up as a POP account and keep iCloud turned on and it will basically eliminate the gmail replication but still allow her devices to all be in sync and have action on one device be seen on all the others.
    This would allow me to create folders for her on her computer in Mac Mail and not use the folder system in gmail at all.
    Am I understanding this correctly?  Hope I'm making sense!
    Thanks so much!

    Hi Glenn:
    Thanks for your response.  I do understand what IMAP does, and I do purposely want all my emails POP so they are downloaded as localized on my computer.
    But where the confusion is for me is iCloud.
    There is "iCloud mail" which I DO NOT WANT.  I don't need yet another mail account.
    I mean "turning on" iCloud for your existing mail.  The way you can turn it on for Calendar, Contacts etc. in Systme Preferences>iCloud> check Mail.  Right now I do not have this checked on my iMac and I actually set up only one of my email accounts on my iPhone as a POP.
    I was hoping that if I organize my email POP accounts the way I want on my iMac and file the various emails into whatever folders, that if I "turned on" iCloud, that it would reflect the same on my phone.  If not, I will not add these accounts to my phone, as I don't want all that on my phone. 
    I like being able to glance at an email on the phone if I'm in town and be able to delete it, but still know its waiting for me to actually deal with and/or file when I get back to my main computer.
    I monitor over 100 email accounts, some mine, but many for business clients and this is why I don't want my phone clogged with all this.  But if turning on iCloud would mimic my iMac mail, then I could just file the emails on the Mac and know they are there in the phone (and I wouldn't delete them on the phone, as it would delete them on the Imac).  Hope this is making sense!
    In my boss' case, she has the reverse issue.
    Someone in the UK set up her iPad, iPhone and laptop with Gmail - her only email account.
    It is IMAP.  They also turned on iCloud (not @icloud mail) and what she has is not only the duplicates caused by Gmail IMAP settings (which you have to remove in Gmail Settings so you don't have the dual Inbox and Gmail "All Mail" inbox on your devices, but to make things more complex for her, she has a Portuguese iPhone and a US iPhone (rather than just swapping SIM cards).
    What I hear all day long is "why do I have all these duplicate emails"  "where did everything go I was just looking at?"  yadda yadda yadda.
    She has her Inbox which has 2000 unread emails sitting in it and her "All Mail" with even more.  Its a mess I want to clean up but don't want to do the wrong thing without fully understanding here what would happen.
    I was hoping that "turning on" iCloud for your MacMail would actually reflect on your devices the same folders and accounts, in which case I could change her Gmail to a POP account and make folders for her and simply have them reflected on her devices once.
    But is turning on iCloud in Syst. Pref for Mail doesn't do that, it won't work.
    Thanks!!!!

  • When I go into my music it acts like it's working but then it closes does anyone know why

    When I go into my music it acts like it's working but then it closes does anyone know why

    try reset
    http://support.apple.com/kb/HT1430?viewlocale=en_US&locale=en_US

  • My 4S acts like it has earbugs plugged in, but does not have ear buds plugged in.  Why?

    my 4S acts like it has ear bugs plugged in, but does not.  What could cause this?

    Problem with your earphone jack...
    Plug your earphones in/out about 20 times.
    Clean your earphone jack.

  • MY computer crashed and I had to reload the operating system.  I had purchased the export PDF.  However, I had not back up since my purchase.  The export no longer works,  it just keeps circling and the message acts like it is doing it but it circles and

    MY computer crashed and I had to reload the operating system. I had purchased the export PDF. However, I had not back up since my purchase and it is my understanding that this software is not stored on my computer. The export no longer works, it just keeps circling and the message acts like it is doing it but it circles and never completes. Msg says "uploading file to adobe exportPDF online"  

    Hi lisa99vano,
    I'm sorry that your computer crashed. That's the worst. But, it shouldn't have affected ExportPDF, since that is an online service (provided you're using a supported web browser, and there's no firewall or proxy preventing ExportPDF from uploading). First, please make sure that you're using a supported web browser: http://www.adobe.com/acom/systemreqs/
    Next, I think we should consider the file that you're trying to convert. How big is it? Had you tried converting it before the crash? Does it contain both text and graphics? Do other files convert without issue?
    I look forward to hearing back from you with some specifics about the file.
    Best,
    Sara

  • Sometimes when I open firefox, It acts like it is going to crash but does not

    I just got the update for firefox 3.6.7 sometimes when I open up firefox; it acts like it is going to crash but does not. If there is to be a problem, I just wanted to let you know. If there is a problem with the update, it should be resolved as soon as possible.
    == This happened ==
    Not sure how often
    == at times when i open firefox, not all the time

    Hi richard963147,
    Thanks for visiting Apple Support Communities.
    Start with the troubleshooting tips in this article if your iPod classic does not sync:
    iOS: Troubleshooting USB-related alerts when syncing
    http://support.apple.com/kb/TS5254
    For the steps to reset the iPod classic, see this article:
    How to reset iPod
    http://support.apple.com/kb/HT1320
    Best Regards,
    Jeremy

  • I use OverDrive to get audiobooks from my library to listen on my ipod. Does not work since latest update of ipod. Converts the WMA and acts like it is putting it on the ipod but then it isn't there.

    I use OverDrive to get audiobooks from my library to listen on my ipod. Does not work since latest update of ipod. Converts the WMA and acts like it is putting it on the ipod but then it isn't there.

    Downgrading the iOS is not supported by Apple.Have yo tried:
    - Backing up and restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    - Go to the OverDrive support site

  • TS1702 I have a new iPhone 5 with Pandora app installed.  When I am in my carwhich also has a Pandora APP, I cannot get either to play.  The phone on it's own acts like it is playing my music but there is no sound!  The car does not seem to recognize my p

    The Pandora APP is installed on my iPhone5 &amp; works fine except when I am in my new car that also has a Pandora APP.  The car doesn't seem to recognize the phone so doesn't connect.  My iPhone will act like it is playing Pandora as usual but there is no sound at all when I am in the car.  What do I need to do?

    Hello Mogulman46,
    So what that means is when you have Do Not Disturb turned on, you may have an alert depending on the setting and how you are using your iPhone. So if it is set to Always, then that means that no matter what, your iPhone will not be notified. If it set to Only while the iPhone is locked, then that means that you will not get notification when your iPhone is locked but you will get notifications if your iPhone is being used. Also keep in mind the settings All Calls From can be set to certain contacts like Favorites, Everyone or no one. If you are using Do Not Disturb and you do not need it, then turn it off. 
    Use Do Not Disturb on your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5463
    Regards,
    -Norm G. 

  • Help!! My Nano Does not act like a nano. more like a broken mini

    When i turn on my ipod it says use itunes to restore. it is acting like a mini. when i hook it up to the computer, it quickly goes to "okay to disconect" my ipod is my life.
    HELP!!!!!
      Windows XP   Dell Demension 2400

    You have to take two fingers to the screen and make a physical rotating motion on the screen.

Maybe you are looking for