In portlet context include a jsp from the desktop context

Hi,
I developed a portlet, and in my jsp file I want to include a jsp file which is in my portal desktop (the file is in /etc/opt/SUNWps/desktop/..).
So I want to do something like:
<c:import url="file:///etc/opt/SUNWps/desktop/mydesktop/ PortletHeader.jsp" /> Of course this doesn't work because the jsp expressions are not executed, instead the jsp tags are just displayed in the browser.
but for including a jsp with <@include file> or <c:import> or <jsp:include>, the jsp must run in its context. So actually we should do something like <c:import url="some_path" context="some_context" >.
Now, I don't know what some_context is. To what context the portal desktop runs so the jsp file can be 'executed'?
Hope someone can give me some more information about this.
Greets,
Tim

<quote>some_context <quote>
..will be the pageContext
which is the implicit object for a JSP.
or
use config object to get this context and then use
<jsp:include> or <@include file>
rgds
http://lokeshpant.blogspot.com

Similar Messages

  • Generating the JSP from the Servlet source file

    Hi,
    Does anyone out there know if there is any utility/class/program which will generate a JSP from the Servlet Source file (.java file) or indeed from the compiled Servlet file (.class file)
    If its possible to decompile a .class file into a .java file, surely it must be possible to convert the .java souce file into the .jsp file that created it.
    any comments would be appreciated
    Richard

    I am the author of the original JSP!
    But I want to run a script on the generated Servlet source file,
    changing its contents, and then generate the JSP that would have created the new Servlet source file.
    but I need to know if theres anything that will reverse engineer a Servlet source into the generating JSP.
    its a kind of of Jeopardy type thing!

  • HT5934 My iMac won't let me drag, and drop anything from the desktop to other files on the desktop, or anywhere else.

    My iMac won't let me drag, and drop anything from the desktop to other files on the desktop, or anywhere else.

    This procedure is a diagnostic test. It makes no changes to your data.
    Please triple-click anywhere in the line below on this page to select it:
    ls -@Oaen | pbcopy
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered.
    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
    The Terminal window doesn't show the output. Please don't copy anything from there.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • How do I remove the Skype icon from the desktop that is on my left on the taskbar ?

    Greetings to all, I have a Windows 7. 64--bit with SP--1. I have been unable, by searching, to find a way to remove the Skype icon from the desktop. It is on my left on the taskbar. Do I need to remove it in the registry ? If yes, how ? Thank you Ldxrunner

    Hi,
    Are you trying to remove Skype entirely, or just get rid of the tool tray icon?
    IIRC, you get that icon as long as Skype is running in the background.  There's a checkbox in Skype options that will keep it from running on startup.  That will eliminate the icon but you won't get notified for incoming calls.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Ok....I have a 2012 MBP that has Yosemiti installed.  The airplay works from iTunes, but when I try to mirror from the desktop I get the "no device detected" message.  Airplay on all of my other devices work fine.  Has anyone else had this issue?

    Ok....I have a 2012 MBP that has Yosemiti installed.  The airplay works from iTunes, but when I try to mirror from the desktop I get the "no device detected" message.  Airplay on all of my other devices work fine.  Has anyone else had this issue?

    Hey Marco'96,
    Welcome to the Apple Support Communities! I understand that you are experiencing issues with AirPlay mirroring in OS X to your Apple TV. The following resource includes helpful troubleshooting steps towards the end of the article, which may resolve your issue:
    About AirPlay Mirroring in OS X - Apple Support
    http://support.apple.com/HT201343
    Thanks,
    Matt M.

  • TS2198 ical (the calendar program) that came with this apple mac pc suddenly stopped working, then disappeared from the computer, from the desktop where I have been using it for the past two years, without trouble, then from the list of applications. . .

    ical (the calendar program) that came with this apple mac pc suddenly stopped working. When I pulled the icon from the desktop, it then disappeared from the computer.I have been using it from the desktop for the past two years, without trouble. It has uninstalled itself, without my intervention and has eradicated all traces of it, including all my entries from the computer memory. There is no program in the applications list. Can you say why this may have happened please?

    I opened one of the .calendar folders. There was a folder named Events which had either one or some files ending .ics. I opened several of these, which put up a dialogue window showing some parameters with data strings attached as follows :-
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//Apple Inc.//iCal 4.0.4//EN
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    CREATED:20110824T070048Z
    UID:6AAAB8A2-64C7-4E88-8E5E-46A4D1036544
    DTEND;TZID=Europe/London:20110824T104500
    TRANSP:OPAQUE
    SUMMARY:Try to avoid general urticaria triggers such as stress\, alcohol
    \, aspirin\, hot baths\, rapid temperature changes\, tight clothing and
    junk or processed foods containing sulphur dioxide\, sodium benzoate\, s
    alicylate and tartrazine.\n\nAvoid tomatoes\, strawberries\, strong chee
    se\, dark fish and fermented foods.
    DTSTART;TZID=Europe/London:20110824T094500
    DTSTAMP:20110824T070102Z
    X-APPLE-EWS-BUSYSTATUS:BUSY
    SEQUENCE:2
    END:VEVENT
    END:VCALENDAR

  • How do i unsynch my emails from hotmail on iphone 4 so that if i delete from my iphone, it won't delete from the desktop email?

    I can't "unsynch" my hotmail emails from my iPhone 4.
    I had this previously set up on my phone so that I only had my main inbox (no subfolders) and if I deleted an email then it only deleted it from my phone, not from the desktop email.
    However, due to having to reset my whole hotmail account today, I had to delete my account from my Iphone and reactivate it, but when I did so it synched everything and now I have all my subfolders etc... and when I delete an email from my phone, it deletes the message from my whole account.
    Does anyone know how to re-set this?

    The only way to do that is to use a mail server with IMAP access, such as iCloud or Gmail. What you have is a POP account, which is the type provided by most ISP's.

  • Couldn't find the adequate forum.  I run win 8.1 and the adobe acrobat dc ap on my computer edoesn't acess the doc  cloud.  I can´t turn the mobile link on.  I can acess the clud from my browser, but not from the desktop ap.  I can acess from my mobile ap

    couldn't find the adequate forum.  I run win 8.1 and the adobe acrobat dc app on my computer doesn't access the doc  cloud.  I can´t turn the mobile link on.  I can access the cloud from my browser, but not from the desktop app.  I can access from my mobile app.

    Can you please post a screenshot of your Acrobat DC when launched, without opening a PDF?
    Thanks,
    -Amboo

  • I keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get it when I either try to open it from the Start menu or from the desktop icon.

    I've just installed Firefox on my laptop and keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get this message whenever I either try to open it from the Start menu or from the desktop icon. I've never gotten it to work and even uninstalled it and then redownloaded it and still cannot get it to open. Any help would be greatly appreciated!!!!

    Are you installing from the official site? http://www.mozilla.com/firefox
    If you use Windows Explorer (My Computer) to check that path, is the Mozilla Firefox folder there? That is the normal installation location, but I think it's worth checking.
    If the folder isn't there or firefox.exe is not in it, I wonder whether some other software might be interfering. You might want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

  • How do I stop my MacBook removing all my icons from the desktop ?

    How do I stop my MacBook removing all my icons from the desktop ?

    Hi Matt
    After I create say a word document, file it on my desktop and then shut down my machine. The next time I open up the MacBook the file icon has been removed from the desktop. I can still retrieve the file in a folder labeled with the month I created it. But why has the OS removed it from the desktop and how can I stop it happening?
    It happens to alias icons as well!
    Regards

  • How can I remove icons from the desktop on my iPad Mini?

    I understand that there are apps on my iPad that I cannot delete, but is there a way of removing an icon from the desktop?

    Remove, but not uninstall from the device?  Where would they go if you did that?
    Once you delete an App it gets removed form the homescreen, and deleted from the iPad.
    There is no "Less used Apps" area or anything like that.
    Everything you have, and you can access, is on the home screen. There is no other place to access Apps. 

  • How do I move a file directly from the desktop to a folder in OX 10?

    I am new to Mac and the Mountain Lion software.  Having worked exclusively with PC operating systems, I am familiar with how to work with files in Windows, but am having trouble doing similar actions in OX 10.  How do I move a file directly from the desktop to a folder in OX?  Although this answer is likely in a video tutorioal (somewhere), I do not have the time to sit an arbitrarily watch generic OS videos that give a broad brush overview, without answering specific queries.  Any help out there?

    You might fun http://www.apple.com/support/macbasics/ to be of help to get used to doing things the Mac way.
    Allan

  • I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to

    I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to do that?

    kahjot wrote:
    Snow Leopard's Startup Disk pref can’t see Yosemite volumes. So the only way to switch from Snow Leopard to Yosemite is to do what Niel mentioned. Doesn't matter whether it's connected by USB or Firewire, although performance via FW would be faster.
    Are you saying that Yos/10.10, as a volume located in a mounted external drive won't appear as an option in Snow Leopard's Startup Disc, in Sys Prefs? I've never heard this one before. AFAIK any mounted volume, regardless of OS, should appear there. I would think that, if it appears in the Boot Picker/Startup Manager it would also appear and could be booted to from Snow's Startup Disk. I can't test this myself, since I don't have Yos. Is what you are saying documented somewhere?

  • Can i drag a clip from the desktop directly into the timeline without importing it

    its seems so easy now
    maybe I've been blind to this option before on 10.1.1
    simply dragging  from the desktop or its source a clip to the story/ timeline itself not having to use   file> import media
    which is a lot of steps IMHO
    i notice when i do it also enters the library above where clips are seen and read to be dragged on the story line
    so
    is this incorrect ?
    thanks
    anyone

    By dragging it into the timeline you're importing it based on your import preferences. Great for single clips.

  • I am using an external drive for a time machine backup. It has disappeared from the desktop. How do I get it back again?

    My time machine backup disc, which has been working ok for a couple of years has suddenly disappeared from the desktop. The time machine program tels me it is unavailable. I have checked that the drive is working by booting up in Windows. and Windows can see it  and read it ok. What has gone wrong, and how can I fix it?
    I have tried unplugging it and reconnecting, but it is still apparently not seen by the system.
    I could use Windows to reformat it, and start again, but this would loose all my previous backups, and I've no guarantee that the system would notice it even then.
    Has anyone any ideas?

    I think it's formatted on FAT 32 system, but I'm not sure. It's been working for a couple of years so far without any problems, so I think it must be compatible with Mac. The problem is that all of a sudden, the Mac doesn't acknowledge that it is present.

Maybe you are looking for

  • Urgent help

    i am facing an error while doing generic extraction.i am creating a database table in R/3 and i have give the appropriate package i.e$tmp  and domain name.My table cotains one character and one keyfigure.i have created a datasource in the r/3 side an

  • Inventory management configuration ?

    hii Can some body explain me about the configuration part for inventory management. Like Goods receipt Goods issue Transfer posting Physical inventory ......etc Explain me in short without any links ... Thanks

  • Best Practice for implementing dual APEX applications environment

    Question: We are in the early stages of building an APEX application for Oracle SaaS consumption. The question I wanted to ask you is what would be the best way to deploy this app for production? Would it be easier just to create a new workspace in a

  • Upgraded second computer - did NOT upgrade iPhoto to iPhoto11

    Purchased Mountain Lion, loaded successfully on iMac and it upgraded the iLife products to iPhoto 11, iMovie 11 and GarageBand 11. Since we could put it on up to three computers, I downloaded and installed on my wife's iMac as well. Worked fine - exc

  • Can I have AS 400 Resource

    Hi All, Can I have AS400 Resource in IDM. As I am not able to see AS400 in Managed Resources of Configure. Does IDM supports AS400. Can Any One Help me out for this. Regards Gajendra Nagapurkar