%@ include file= ... does not work properly in Portal

I am devloping a portlet based on a jsp that uses some <%@include ..> tags. I have
a problem in that variables declared and used in one jsp is not visible in a jsp
that is included later on. Also, the scope of the page import tag of the main
jsp does not cover the included jsp's.
<%@ page import="javax.servlet.* ......>
<%@ include file="variables.jsp" %> // Classes imported above are not recognised
in this jsp
<%@ include file="code.jsp" %> // Variables declared and used in variables.jsp
are not visible here
The exact same code runs very well in a Tomcat container (as pure jsp, not portlet)
Can anybody help here please?

Geir -
I have the same problem. If you do solve it, please post it to this thread.
Thanks
Kunal
"Geir Willumsen" <[email protected]> wrote:
>
I am devloping a portlet based on a jsp that uses some <%@include ..>
tags. I have
a problem in that variables declared and used in one jsp is not visible
in a jsp
that is included later on. Also, the scope of the page import tag of
the main
jsp does not cover the included jsp's.
<%@ page import="javax.servlet.* ......>
<%@ include file="variables.jsp" %> // Classes imported above are not
recognised
in this jsp
<%@ include file="code.jsp" %> // Variables declared and used in variables.jsp
are not visible here
The exact same code runs very well in a Tomcat container (as pure jsp,
not portlet)
Can anybody help here please?

Similar Messages

  • Some Flash files does not work in the Portal

    Hi,
    Anybody know why I have problems viewing some flash files in Content Management in the portal?
    The file extention is .swf
    I have a number of files. All of them works locally. When uploading them, there are a few of them that does not work.
    They can simply not be showed. Not in JSP and not by clicking on them. Very strange.

    Hi Flemming,
    this could be a compression problem. Try to disable output compresssion for .swf files and the corresponding mime type 'application/x-shockwave-flash'. Click <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/ad/08d52d6d95864492a6a5931bb62716/frameset.htm">here</a> for more information how to disable compression.
    Regards, Roland
    PS: disabling compression for .swf is no performance problem, because they are already compressed.

  • RH 5.5 output does not work properly in RH 7

    I inherited a WebHelp project created in RH 5.5. I have RH 7.
    When I open the files, make modifications, and recompile them, the
    output does not work properly once I put it on our hardware box.
    Those infamous red squares are present and there seems to be a lot
    of .js files being called, but even when I do a straight 1:1 copy
    and include all the files, and delete the red squares, it still
    doesn't work right.
    Also, oddly, when I open the original (5.5) files in my v7 --
    even without making ANY changes at all -- the TOC has
    disappeared.

    When you view the upgraded source files in RH7, are the red
    squares seen the editor?
    When you generate to a local folder and view the output
    there, are the red squares present? Are there any other issues with
    the generated output?
    Have you applied all three patches to RH7? Help About should
    show 7.0.3.

  • My Mac App Store on my MacBook Pro does not work properly.

    My Mac App Store on my MacBook Pro 15 inch does not work properly. When i go on to the app store, my wi-fi resets and then my app store quits. Why is this? How can i fix this problem? Please Help

    Back up all your files, on boot up when you first press the power button, press CMd and r and keep pressing until you get something apart from a apple logo. Then click reinstall Mac OS X or something like that. You may be prompted to insert your disk.
    Good luck

  • Accidentally removed from,sharing and permissions the admin user,and now i do not when i find the home icon at my computer i do not have permmission,and the mac does not works properly,lots of question mark at the dock ,please help

    accidentally removed from,sharing and permissions the admin user,and now i do not when i find the home icon at my computer i do not have permmission,and the mac does not works properly,lots of question mark at the dock ,please help

    I'm going to assume that since you deleted your hard drive and all its files, you had a backup, yes? If the backup has an OS (bootable clone), then you can boot into it by holding down the option key when you start up you iMac and choose the backup drive. Then use Carbon Copy Cloner or Super Duper to copy the files back to your iMac.

  • Flashback Reclaimable Does Not Work Properly

    We saw the strange behavior of flashback reclaimable space as it does not work properly if the PERCENT_SPACE_USED of v$flash_recovery_area_usage is near to 100 (99.9x). As we are running Oracle 10gR2 (Cluster & RAC) to manage our production RAC database, it is a two node RAC. on IBM AIX 6.1
    Today at 9:00 AM, we observed that 97% reclaimable space was available. And db_recovery_file_dest_size is 460 GB out of 600 GB (mount point). No other process is being used this mount point for any IO, it is reserved for flashback only. We left 140 GB space free on mount point to over come any dynamic space requirement for flashback.
    At 10:00AM we received out of space message in alert log file and during 9:00 AM to 10:00 AM 10 to 15 archive logs were created and at 9:50AM some archive log were also deleted automatically by oracle server(default behavior). Please see the output below.
    FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
    CONTROLFILE 0 0 0
    ONLINELOG 0 0 0
    ARCHIVELOG 99.9 98 1520
    BACKUPPIECE 0 0 0
    IMAGECOPY 0 0 0
    FLASHBACKLOG 0 0 0
    It is really a strange behavior, please is there any one who face the same issue or what may be the reason for this ?
    regards,
    Edited by: user13656883 on Jul 18, 2011 11:27 PM

    Dear CKPT,
    we daily have 3 times archive log backup and after every backup we do crosscheck. as is mentioned earlier, 99% space was shown as used and but on the other hand 97% space was also shown as reclaimable. so on these bases we are very confused , why oracle behaves like this and throw error in alert log as below
    ORACLE Instance rac1 - Archival Error
    Mon Jul 18 09:59:08 2011
    ORA-16014: log 1 sequence# 39143 not archived, no available destinations
    ORA-00312: online log 1 thread 1: '/u02/oradata/rac/redo01.log'
    Mon Jul 18 09:59:08 2011
    Errors in file /u01/oracle/product/1020/db/admin/rac/bdump/rac1_arc0_3212156.trc:
    ORA-16014: log 1 sequence# 39143 not archived, no available destinations
    ORA-00312: online log 1 thread 1: '/u02/oradata/rac/redo01.log'
    Mon Jul 18 10:04:13 2011
    Errors in file /u01/oracle/product/1020/db/admin/rac/bdump/rac1_arc1_3277694.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 493921239040 bytes is 100.00% used, and has 0 remaining bytes available.
    Mon Jul 18 10:04:13 2011
    regards,

  • I am new to mac air. Today i installed (unsuccessfully!) MAPLE16 on my mac book air. Now since it does not work properly (it also does not appear in  applications) i decide to delete it. I could not remove it from launchpad . i need urgent help

    i am new to mac air. Today i installed (unsuccessfully!) MAPLE16 on my mac book air. Now since it does not work properly (it also does not appear in  applications) i decide to delete it. I could not remove it from launchpad . i need urgent help from your side.

    Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    I never install system modifications myself, and I don't know how to uninstall them. You'll have to do your own research to find that information.
    Here are some general guidelines to get you started. Suppose you want to remove something called “BrickMyMac” (a hypothetical example.) First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickmyrmac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickMyMac.dmg and open it. There may be an application in there such as “Uninstall BrickMyMac.” If not, open “BrickMyMac.pkg” and look for an Uninstall button.
    You generally have to reboot in order to complete an uninstallation.
    If you can’t remove software in any other way, you’ll have to erase and install OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    You may be advised by others to try to remove complex system modifications by hunting for files by name, or by running "utilities" that purport to remove software. I don't give such advice. Those tactics often will not work and maymake the problem worse.

  • Western iso 8859-1 character set is gone, "other (including Western" does not work. Why did you take it out?

    Some websites need Western ISO 8859-1 character set to run properly and you have taken it away in favour of "other(including Western)", now the site does not work properly. Why did you take it out and can you please put it back.

    ISO-8859-1 and Windows-1252 should be equivalent. Can you provide an example of a page that doesn't display properly?
    If you have to manually select a character encoding to view the page correctly, then the site is broken and you should notify its owner that it needs be fixed. Websites specify the character encoding in one of two ways:
    * [http://www.w3.org/International/tutorials/tutorial-char-enc/ Handling character encodings in HTML and CSS | W3C]
    # The ''Content-Type'' response header.
    # The ''meta'' tag in the page source.
    ''Henri Sivonen (:hsivonen) wrote:''
    <blockquote>We are in the process of implementing http://encoding.spec.whatwg.org/ . The process involves removing support for legacy character decoders that aren’t really necessary for supporting existing Web content.</blockquote>

  • Skrolu mouse does not work properly in the list of bookmarks

    skrolu mouse does not work properly in the list of bookmarks
    yer imleri listesinde maus skrolu düzgün çalışmıyor

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    You can also try to move (delete) the Firefox plist file.<br />
    See [http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results]
    Go to "Library > Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist).

  • TS1702 When I update to IOS6 on my 4S Facebook does not work properly, the news feed never updates it only says no new storeys and shows a picture of an antenna. When I reset my phone and go back to IOS5 Facebook works fine. What's up with IOS6 ????

    When I update my iPhone 4S to iOS six Facebook does not work properly the newsfeed doesn't load properly and I can never see what's going on all I see is a picture of an antenna and a little thing underneath it says no new stories when I reset my phone back to iOS 5 then it works just fine and I don't have any issues so there must be something wrong with iOS six that isn't letting Facebook load properly

    No I did not use any unauthorized methods for anything, I simply reset my phone back to factory.
    <Edited By Host>

  • Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applica

    Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applications.

    I received no error message. The application was just trying to find applications unsuccessfully.
    I am using MAC OS 10.10.1
    I tried to uninstall the application  but it seems that a kind of deamon is still installed thus providing me to reinstall properly. Do you know where are the elements to remove in order to get my machine just like before ?
    Otherwise I would have to reinstall everything and this would be a pain.
    Thanks for your help.

  • Flash player does not work properly on Windows 7 32 bits

    Hello,
    My flash player does not work properly on Windows 7 32 bits with Firfox and IE8 (lasts versions).
    My Flash player version : 10.0.45.2, but I tried with version 9 too, with same problems.
    I have tried to uninstall, reboot, reinstall several times, ... witch did not worked.
    In fact, it works correctly on some sites, like youtube, but not on some others like :
    http://www.dailymotion.com/ => black screen instead of videos, right click gives flash context menu
    http://www.canalplus.fr/ => videos does not load, right click gives flash context menu
    http://www.myspace.com/ => no audio player, right click gives flash context menu
    some games in http://www.kongregate.com/ => black screen instead of games, right click gives flash context menu
    I have no problem with shockwave in http://www.adobe.com/shockwave/welcome/
    No problem too with flash player on http://www.adobe.com/software/flash/about/
    But in the Global Privacy Settings panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l), I cannot change any settings :
    I cannot check boxes,
    My changes are not saved.
    In most of flash animations, videos, ...,
    when I click on parameters, I cannot do anything, even closing.
    when I am in full screen mode, the message "press escape to exit...." does not disappear.
    Last thing, all those problems was not there when I was on Windows XP, few weeks ago, and appear with my registered Windows 7 premium familly edition, with the same hardware configuration...
    Thank you for your help

    Hi eidnolb
    Thanks for your answer.
    This is what I have :
    Verify user permissions
    I have an administrator account.
    I tried (uninstall, install and run) with super-administrator account for same results
    Install the most current version.
    I am running the latest version (10.0.45.2)
    Run the Clean Installer to Fix 3rd Party Flash Player Cleaners
    I did not "clean" my computer.
    Troubleshoot Pop-up blockers
    I have no Pop-up or esle blocker  software.
    Ensure that Internet utilities do not block Flash Player
    I tried (uninstall, install and run) without Avast.
    I have windows 7 firewall. I do not know where I can allow ActiveX  controls and Flash (SWF) content. I do not see anything relative to ActiveX an Flash in allowed program list.
    Fix machine crashes when displaying Flash content
    I have no freez or crash.
    Using IE, Shockwave Flash Object is Enabled and vs 10.0.45.2
    Using FF, I have SWF vs  10.0.45.2 and it is Enabled
    I really do not understand !!
    Thanks,
    Ju'

  • Image display control scrolling does not work properly when zoomed in

    I am using a ROI on an image in the image display control. When zooming into the image to fine-adjust the positioning of the ROI, the image scrolling does not work properly. As far as I understand, the image should scroll automatically when the ROI is leaving the visible area. However, the scrolling behaviour seems to depend on the origin of the Labview panel, not the origin of the image display control, which might require to move the ROI way out of the visible area before the scrolling takes place. In other words: the coordinate system of the image display control is shifted with respect to the true visible image area, depending on where you place it on the front panel. As a consequence, when clicking on a ROI which is in the visible area, but is outside of what Labview thinks is the visible area, it might immediately jump to the left border of the image, making the positioning of the ROI really difficult.
    Has anyone noticed this behaviour, and what would be a reliable solution to avoid this? 
    Dirk

    Hello,
    no, I am not talking about the tools palette. Just place an image control with some image in it on a new VI front panel. Then, use the rectangle from the tools and select a ROI in the image. If you zoom in (using the magnification glass), and then grab the ROI and move it around, the image scroll with the ROI. So far, so good. If you now place the image control elsewhere on the panel, or add new control above it, resize the panel, etc. , this scrolling when moving the ROI will not work correctly if the origin (0,0) of the panel is far away from the image control.
    I have attached a VI for simplicity (although there is hardly any code in it).
    If you make a ROI and try to move it down, you will notice that scrolling starts if you move the mouse out to about 10cms below the image (depens on your screen, of course). After that, if you click on the ROI, the scroll bars and ROI might jump up to the upper end of the image. Imagine how annoying this is if you try to finely adjust the ROI position. 
    I think it is a bug in the implementation of the image display control.
    Thanks,
    Dirk
    Attachments:
    scrolling.vi ‏818 KB

  • Subvi does not work properly when called inside a vi

    Hello Every body
    thanks for your help. i am using a sub vi for sine signal generation. as a vi it works fine. but when i called this subvi inside another VI it gives some problems. for example timer indicator works properly.it reinitializes as well in the sub vi, but in the main VI it does not work properly. means does not count the time.in the sub vi on the fly i can change the values of frequency and amplitude in real time, but when i use as sub vi, it does not reponse as i change the values in the control arrays.similarly pause and continue works properly in the sub vi, but once again in the main VI, it does not work properly.graph indicator also work properly in the sub vi. but here once again it does not work properly in the main VI.the pause resume indicator also does not blink, when it is continue. in the subvi it blinks very well.generally why the sub vi does not work properly inside the VI?i am sending my VI and sub vis.
    any tips would be highly appreciated.
    thanks
    Regards
    Attachments:
    vi.zip ‏87 KB

    I just want to add some more details to Dan's answer. The subVI is acting exactly like you've coded it. The mistake is in understanding how subVIs work. When you call a subVI (or a function in any other language), you pass some parameters to it, the subVI does it's thing and returns values. the subVI does not accept new parameters from the calling VI until it returns to the caller and the caller runs the subVI again. In your case, you have a subVI with a while loop. You have some front panel control wired to the subVI's stop terminal. When first called, the value is false. So the subVI will keep running until the subVI's stop button becomes true but you cannot change it from main until the subVI finishes and returns so the subVI will never stop. As Dan says, the solution is pass references of front panel controls to the subVI and have the subVI monitor those references for changes and to update references to indicators on Main. You subVI does not need any front panel controls or indicators of it's own.

  • My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem.  I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.

Maybe you are looking for