OK.. ha ha funny. But really does ojsp really support jsp:include ?

I've been reading this list for a month or so now and still have a nagging question.
Has anyone gotten ojsp to work using an include of the form: <jsp:include page="/somefile.jsp" />?
According to the Oracle JSP team you should be able to use it:
<% request.setAttribute("show","script"); %>
<jsp:include page="/search_navigation.jsp"/>
[/CODE\
Similar to the IBM Websphere example.
<HR></BLOCKQUOTE>
This sounds nice, but first the syntax above is missing the flush modifier (which ojsp requires to be set to "true"), second the server gives the error:
A Servlet Error Occurred
An unexpected error occured attempting to run this servlet.
The most likely explanation is a problem with the servlet code.
Please check the server log for a detailed message.
So can anyone use the <jsp:include> action in ojsp (the current one on OTN)?
Thanks in advance.

Thanks for your reply. Answers below:
<jsp:directive.page language="java" />
<jsp:include page="/arena/pages/login.jsp" flush="true" />
<html>
<body>
Hello there.
</body>
</html>Generates this code:
package jsptest;
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.io.*;
import java.util.*;
import java.lang.reflect.*;
import java.beans.*;
public class test1 extends oracle.jsp.runtime.HttpJsp {
public final String _globalsClassName = null;
// ** Begin Declarations
// ** End Declarations
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
/* set up the intrinsic variables using the pageContext goober:
** session = HttpSession
** application = ServletContext
** out = JspWriter
** page = this
** config = ServletConfig
** all session/app beans declared in globals.jsa
JspFactory factory = JspFactory.getDefaultFactory();
PageContext pageContext = factory.getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
// Note: this is not emitted if the session directive == false
HttpSession session = pageContext.getSession();
if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
factory.releasePageContext(pageContext);
return;
ServletContext application = pageContext.getServletContext();
JspWriter out = pageContext.getOut();
test1 page = this;
ServletConfig config = pageContext.getServletConfig();
try {
// global beans
// end global beans
out.println( "");
out.println( "");
String __url = (String) "/arena/pages/login.jsp";
// Include
out.flush();
pageContext.include( __url);
if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) return;
out.println( "");
out.println( "");
out.println( "<html>");
out.println( "<body>");
out.println( "Hello there.");
out.println( "</body>");
out.println( "</html>");
out.flush();
catch( Exception e) {
try {
if (out != null) out.clear();
catch( Exception clearException) {
pageContext.handlePageException( e);
finally {
if (out != null) out.close();
factory.releasePageContext(pageContext);
}You'll notice the out.flush() just prior to the pageContext.include(). BTW I have to have flush="true" or OAS throws a fit.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Sorry for any inconvenience caused.
Thanks.<HR></BLOCKQUOTE>
Thank you.
null

Similar Messages

  • Does Weblogic Express support JSPs

    Does Weblogic Express support JSPs?
              

    Yep!!
              Kumar
              Bryan Boyer wrote:
              >
              > Does Weblogic Express support JSPs?
              

  • Does WL 9 support JSP 2.1?

    Hi,
    I am writing a web application using Apache's MyFaces. I'm told to use MyFaces 1.2.4 my servlet container must support JSP 2.1 and Servlet 2.5 implementations. Does WebLogic 9.2.2 (Solaris 9), the server I'm running, support these?
    Thanks, - Dave

    Hi Dave,
    WLS 9.2.2 Supports the following :-
    J2EE Servlet 2.4, 2.3, and 2.2
    J2EE JSP 2.0, 1.2, and 1.1
    Details, Link:[http://e-docs.bea.com/wls/docs92/notes/new.html#wp1064437]
    Hope this helps :)
    Regards.

  • Does weblogic server supports JSP tag pooling

              We use lot of Custom Tags in our app, we want improve the performance of JSP pages.
              Does Weblogic JSP engine supports JSP Tag Pooling similar to what JASPER (Tomcat
              JSP Engine) supports.
              If not, is there any way to plug-in my own Tag Pooling classes into JSP Engine.
              Thanks
              Ramesh
              

    This type of questions are appropriate for the Forms discussion forum.
    raghu

  • Autowrite to xmp is set - but when does it really happen?

    Hi,
    in my workflow, I need the xmp-sidecar files. Therefore, I have activated the "automatically write changes into xmp". Since the upgrade to 1.3 I noticed, that the changes are not written immediately into the xmp-files, but with a certain timelag. I do not understand, why. I cannot set this time anywhere - or I did not find the setting yet. Can anybody help me? For my workflow, it is important, that after I close Lightroom, all the changes are written in the xmp-files.
    (Yes, sure I can do it manually, but I would prefer to be able to have the programm doing it automatically!). And yes, I do use version 1.3.1.
    Thanks for help, happy shooting, Dirk

    hello bdavis106, please refer to [[Find and manage downloaded files]].

  • Does Weblogic Express support JSP ?

    Hi
    I wanted to know if i can deploy JSPs if i use a WeblogicExpress instead
    of a Weblogic Server .Iam not able to understand the deifference between
    Weblogic Express and Weblogic Server inspite of reading the material on the
    web site .Can someone throw more light on this ? Is there anywhere i can
    compare the features of the different weblogic products at one place ?
    thanks
    Srinivas

    For this type of stuff you should talk to your sales-person.
    We just make it, not sell it, so we dont understand the difference
    either. :)
    Cheers
    Mark G.
    In article <[email protected]>, [email protected] says...
    Hi
    I wanted to know if i can deploy JSPs if i use a WeblogicExpress instead
    of a Weblogic Server .Iam not able to understand the deifference between
    Weblogic Express and Weblogic Server inspite of reading the material on the
    web site .Can someone throw more light on this ? Is there anywhere i can
    compare the features of the different weblogic products at one place ?
    thanks
    Srinivas
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • Creative Cloud - Does Adobe REALLY Care About Customers?

    I hope the staff at Adobe are reading these forum posts.
    First question: the following quote
    As far as the future of CS applications, in his Adobe MAX keynote, David Wadhwani said, 'We have no plans' to continue perpetual licenses. We are not ruling that out in the future.
    Just exactly what is meant by this statement? Is Adobe already looking for a back door if the Create Cloud doesn't pan out? I really would like to know what this means. It sounds ominous and dubious and it sends mixed messages.
    As far as the Creative Cloud model goes, is this really a benefit to your customers? I can see it might make Adobe a lot of money (if you don't lose a vast majority of your customer base) but how does it really benefit your customers? Your loyal customers? The customers that made you the rich company that you are today.
    Speaking for myself, I do not use all the programs that will be available in the cloud on a regular basis. During the summer when I don't have classes, I don't use some programs at all. But I have to keep paying whether I use them or not. If I stop paying, I will lose access to my software. How is that a good thing for me?  For the majority of your customers? You think because we pay a monthly fee that most people won't equate that we are having to fork over more than $300 a year? In some cases over $600 a year. And it never stops. How is that good for the majority of your customers?
    Do I really need to have the latest software constantly? No, I don't. But you are now forcing the issue whether I want it or not. Forcing your customer to do something does not seem like you really care about me.  About us.
    What about my students? We have hundreds of students that go through our Adobe software classes each semester. Every student told me they would not go with the Cloud, either because they don't have the money or they were going to protest Adobe's "money grabbing scheme" (one student's actual quote). The students sure don't think Adobe cares about them. If the students stop taking the classes because of the software access, then we start cutting sections. Does Adobe care about that? I'm sure no, but think about those hundreds of students each semester that will no longer be learning to use Adobe software.
    Adobe is putting a stranglehold on its customers and the customers are going to say  enough is enough.  Perhaps new software (open source?) will emerge to take the place of Adobe. Perhaps people using InDesign will go back to QuarkXPress. Perhaps enough of these former Adobe customers will force Adobe to check their hubris and greed at the door. But maybe not. The world will move on, one way or another.
    One thing I am supremely sure about is Adobe has got it really, really wrong on the Creative Cloud strategy.
    BTW, you might want to read the following link entitled Adobe Creative Cloud:  Lopsided Legal Agreement. It is not pretty:
    http://macperformanceguide.com/blog/2013/20130508_1a-Adobe-legal-agreement.html

    Nice sentiments, could not agree more.
    xIDx wrote:
    What about my students? We have hundreds of students that go through our Adobe software classes each semester. Every student told me they would not go with the Cloud, either because they don't have the money or they were going to protest Adobe's "money grabbing scheme" (one student's actual quote). The students sure don't think Adobe cares about them.
    I hope this occurs across the globe with students ("potential" future Adobe customers) whom may be hindered in their monetary abilities but not in seeing the truth towards what it being placed upon them by Adobe concerning the Cloud mirage. This is a great opportunity for educators to truly educate their students about Adobe.
    xIDx wrote:
    One thing I am supremely sure about is Adobe has got it really, really wrong on the Creative Cloud strategy.
    BTW, you might want to read the following link entitled Adobe Creative Cloud:  Lopsided Legal Agreement. It is not pretty:
    http://macperformanceguide.com/blog/2013/20130508_1a-Adobe-legal-agree ment.html
    Great link!

  • What really does "Licensee must use the installers as-is without modification" mean?

    In our organization we need to deploy Flash Player via Microsoft System Center Configuration Manager to hundreds of computers.  Along with the standalone installers for distribution in this manner, Adobe has terms here - http://www.adobe.com/products/players/flash-player-distribution.html prohibiting modification of the installers.  But what does this really mean?  For example, we can create a transform for the .MSI file, which is a separate file that has settings that are applied by msiexec at the time of installation.  Is this considered "modification" by Adobe?  We need to disable auto-updating as the end users of these computers are not local admins and so they get useless and annoying update messages and UAC prompts.

    rSAP has largely been supplanted by ABAP, which the iPhone supports. Most modern smartphones, including the iPhone do NOT store any information on the SIM.
    SMS inboxes. Not much to say. I've never had a desire to do this. I understand it could be useful, but it's unlikely to change.
    As for meetings on the home screen... Wait for iOS 5
    Flash: it's not JUST that Steve doesn't like flash. Adobe has failed to produce a workable version of Flash for iOS. Blame has to go to both sides.  I say good riddance to it.

  • Why does apple only support mp4 videos?

    It's not really a problem, i usually use my friends computers to convert my videos since mine is so slow.
    But why does apple only support MP4 and MOV formats? Why not MPEG or DivX?
    I know they cannot use WMV because it is a Microsoft format.
    It's just sometimes when i convert videos, the audio becomes out of sync or iTunes complains it's not playable on my iPod.
    I would just like to know why?
    Thanks for your time.

    If Apple chooses to go with H.264 or MP4 or whatever else they want to support, maybe it would be real nice if iTunes could automatically convert to those formats. So if I dropped my universally standard (and supported by most DVD players) DivX video clip in the library, iTunes would convert and format the video to an iPod friendly format.
    So, let me see if I understand this correctly. You want Apple to pirate proprietary codecs from DivX and build them into iTunes QT access. Tell me, does this mean that Apple is working as your agent and you will be the one spending time behind bars or paying the fines. Or, are you saying that Apple should act as an agent for DivX and charge you for a version of iTunes with legal codecs installed. How about Windows Media? Want to double the cost? What about Real? Or maybe Apple should have different versions of iTunes -- one for you and one for the guy who lives next door who uses old Indeo files?
    I have tried several 3rd party converters and they all suck.
    Perhaps you should be more selective in choosing a converter or invest in a commercial product which is supported by the people selling it.

  • I am trying to Download the free Maverick 10.9.1 and it's sitting there showing "downloading" but nothing indicates for the last 15 minutes that it is really doing it? Anyone out there has ideas to hare?

    I am trying to Download the free Maverick 10.9.1 and it's sitting there showing "downloading" but nothing indicates for the last 15 minutes that it is really doing it? Anyone out there has ideas to share?

    When I downloaded it, it appeared as if nothing was happening but it actually was being downloaded! It took quite some time to download. I suspect the internet speed affects how quickly it moves.

  • When I touch buttons voice names them but does not really respond.  What should I do to restore normal work?

    When I touch buttons voice names them but does not really respond.  What should I do to restore normal work? Thank you

    I have the same problem, its an ipod touch, the most recent version, for my granma. she is blind. it wouldn't respond when you pick something, double tapping or even identifying it when either of use it.
    i can see that i am tapping the buttons in VO mode and it doesn't respond. It also says to scroll with three fingers and that takes 20 tries to get to work. I bought this for my grandmother to use VO and it doesn't work. Its a load of crap. I thought if I updated that might help, it doesn't need to be updated.
    And the voice speed is almost at the lowest and it still talks fast.
    It is ridiculous to have a feature like this and it not be useable. Disgruntled and disgusted by Apple's disregard for the people who could most benefit from this type of technology. I've looked on websites for the blind. So far, no help or advice.

  • My iPhone 3Gs is now no longer a recognised device on iTunes after I downloaded the new iTunes with iCloud software, but it does recognise my iPad2??

    My iPhone 3Gs is now no longer a recognised device on iTunes after I downloaded the new iTunes with iCloud software, but it does recognise my iPad2??
    I run both Mac and a PC and have iTunes on both, which has previously recognised my iPhone. I had updated my Mac with the new iTunes software with iCloud and updated my iPad2 just yesterday. I then wanted to do the same with my iPhone today, but my Mac wouldn't recognise the device so I tried it on my PC, which recognised the phone but told me I needed to update my iTunes and this in turn wanted to update my iPhone software. After completing all this and restarting, my iPhone now shows the iTunes icon with the USB plug pointing towards it, obviously wanting me to plug it in to my computer to re-connect with iTunes, but now neither of my computers recognise my iPhone and my PC states an 'Unknown Device'. My Mac doesn't even see it. Can anyone help as I really need to get my phone working?? Thanks

    Hold down the Home and Power button for 20 seconds. And try to update again.
    Also read and follow this:
    http://www.apple.com/support/iphone/assistant/restore/

  • My 4S has stopped ringing. Voicemail's disabled but if you call me, you'll hear it ring your end but it does nothing at mine and freezes if I make a call. Texts are not being delivered or coming through delayed. Ringer is on, tone enabled - help!

    My iPhone 4S has stopped ringing altogether. Voicemail is disabled but if you call me, you'll hear it ringing at your end but it does nothing my end and freezes in the phone app if I make a call (doesn't ring or connect and doesn't freeze the phone, just the calling part). Texts are not being delivered or coming through delayed. Ringer is on, tone enabled - help!
    I've disabled roaming so it only runs on wifi (this after getting a £4k phone bill...) and I can use Skype, Viber and WhatsApp with no problem at all.
    Would really appreciate any help at all!
    Many thanks.

    Hi there - am with Orange and they said nothing wrong with account and service running normally.  They said if they had cut me off I would've received a text (debatable with current message receiving situation!) and when I called out it would say 'calls from this number are barred'.  Also if you called me it would say something similar.  But it doesn't, it will ring and ring until it rings off but nothing happens at all on my handset. Not even a missed call notification.  If I call out, it will display that it is calling the number but that's it.  If I cancel the call it will constantly display 'ending call'.  If I come out of the phone and go to another app then revist phone it will start calling that last dialled number - without ever getting as far as ringing or connecting.

  • In attempting to sync my Outlook Contacts to my iphone 5, Outlook shows in the drop down, but it does not allow click-on, then below is listed only my email information, nothing else, no calendars, contacts.  When I click on the email, it adds new acct

    In attempting to sync my Outlook Contacts to my new iphone 5,in iTunes,  Outlook shows in the drop-down box, but it does not allow click-on.  Individual items are not listed to click on. The only listing is my email address and when you sync it, it really does not sync, it adds another email account with the same name, and no contacts sync with it.

    also - when I use camera wizard it just tells me the phone is busy or in use  and I should retry.
    If I use it through windoes explorer - it shows me the camera to computer symbols and a line moving between then but bombs out saying camera is busy.

  • Does Verizon really care about the windows phones??

    I recently bought the Nokia 928 and as a "tech-impaired" person I am really happy with it. This is my second smart phone and I find it much easier to navigate than my Motorola Droid 3.   My co-worker (who is similarly impaired!) wanted to update to her first smart phone and had visited her local Verizon store to browse the various phones.  All that was EVER mentioned to her or shown were various Razrs, the Samsung Galaxies, and of course I-phones.  She saw the 928 demo phone there but it was never even offered as a choice so she didn't ask about it.  When she saw my phone she asked my thoughts, and asked to "play" with it.  I showed her some of the things she could do that I have found to be not difficult.  Bottom line she decided she liked the ease of operation, knew she did NOT need Suri and thought the Samsung Galaxy S 4 had way too many features for what she would ever need. She went back to the store and they did not even have a 928 in stock.  They did order her one, but she said that I knew way more about what the phone could do than anyone there.  I told her to ask about the 25 dollar gift certificate available through the end of June that could be used for Microsoft apps, they knew NOTHING about that either.  When I bought my phone I asked the store rep who was helping me (in a different town) and she was also unaware of it; but at least she found out and helped me set up a Microsoft account and got the certificate onto my phone.  She laughed and admitted she really knew very little about the Windows phone set up.  It really does seem that Verizon just doesn't care much about this platform and does not give their customers this choice since they virtually ignore that it even exists.

    Thats why I normally do not get involved with writing on message boards, especially corporate boards, too many company employees write comments like that on behalf of their office…and yes, cellular service and home communications services are a little more that a “soda” and yes, I do expect loyalty to be a two way street….end of thread, unsubscribed from this farce….

Maybe you are looking for