Help on jsp:output

I am trying to use the <jsp:output> tag within jdeveloper10.1.2, but it is not included within the tags for JSP in the component pallete, so I keep getting an error. Any idea, pls ?

jsp:output is a J2EE 1.4 JSP 2.0 tag.
JDeveloper 10.1.2 provides only the JSP 1.2 tags.
http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.html
JDeveloper 10.1.3 supports J2EE 1.4 (JSP 2.0).
Some of the JSP 2.0 tags are not in the Component Palette.
jsp:output tag, jsp:invoke and jsp:text tags which are jsp 2.0 tags are not in the Component Palette.
http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.html

Similar Messages

  • IE don't display JSP output. It pop up download dialong and open Dreamwea

    IE don't display JSP output. It pop up download dialong and open Dreamweaver.
    I dont' know why, but when run in Netscape is OK
    Anyone please help.

    Looks like your problem lies by the file associations, i.e. extension of your jsp file (.JSP) is associated in your operating system with DreamWeaver rather than with IE. If you are using Windows you should be able to change file associations, so that all web pages including JSP will be opened in your browser.

  • HELP about analog output video

    Hello, I´m need help about analog output video in Premiere CS5 using Matrox RTX2. I need to crop a video with resolution in 1440x1080 to 4:3 in output analog. But what happens is wrong (I think). My video is in format anamorphic and the other option is 16:9 letterbox. Is there any way to crop the video without using effects. Thanks a Lot and sorry my bad english (my native language is Portuguese).

    There are no 4:3 HD specifications.  You'll have to put the video into a normal SD sequence, and scale it down till the top and bottom of the video meet the frame.  That way the sides will be cut off.

  • Extra white spaces in JSP output

    Hi,
              My JSPs contain a large use of JSTL and other custom Tags.
              The problem is that the output contains too many new lines and spaces.
              I found out that APACHE Tomcat has a servlet parameter (trimSpaces=true) that solved this problem.
              Does Weblogic (9.1) have something similar ?
              Does JSPC / APPC have a special options that can solve this ?
              please advise,
              Avivi.

    Before diving into this, one thing I would ask you: Why does it matter if there are extra spaces? Did you determine that your primary users are using a slow connection? Before trying to optimize this, make sure that you really have a problem to solve. You might try saving off the currently generated HTML into a test page, and compare it to a similar one with all ignorable spaces removed. If you see no difference in performance, then don't bother doing this.
              Nevertheless, one strategy for reducing empty space in JSP output is to put the ends of the JSP directives and actions on the next line, with no newlines after them.
              For instance, a pair of lines like this:
              <%@page import="foo.bar" %>
              <%@page import="bar.foo" %>
              Would be instead:
              <%@page import="foo.bar"
              %><%@page import="bar.foo"
              %>

  • How to get context sensitive help  in JSP Pages

    Is it possible to display context sensitive help in JSP Pages when I press the tab key on the keyboard base on the key focus. I don�t want to use any applet or Swing components, because it�s a web page viewed on the browser
    Thanks

    Java code inside a JSP is interpreted on the server and the HTML produced by the server it is shown in the client browser. The JSP code can incorporate calls to the JavaHelp API if it is available to the server. Those calls can be used on the server side to map parts of the JSP to contents of a help set (HTML pages).
    Given that, you can provide context sensitive help, but when it comes to view help information, you either can show HTML only (without TOC, index, etc.) or you'd need an applet.
    Ulrich

  • Help with DIgital Output Array with 6062E DAQ CARD...

    Good morning, folks... I need some help with digital output of the 6062E PCMCIA card... I can output 1 line without problems... I need to control a 4066 with my digital outputs... I am doing this without greater problems... but there's something... I need that when one of my outputs is high, the others become low, unchangeably... so I tried to use an array to control my output and I couldn't do that... some errors showed up... can you help me please? Maybe there's any errors at my software, then I thank you if you help me... the vi is anexed...
    Best Regards...
    Attachments:
    Untitled 3.vi ‏20 KB

    See below for one of many methods. Change the "lines" string for your setup.
    Also, please explore the Examples that ship with LabVIEW, and read your card's manual.
    Richard

  • Saving JSP output to a file

    I need to be able to save what a user sees on his browser, to a local file (where the web app runs).
    The content is dynamic. It is being created using a JSP.
    One way to write it to a local file would be to move the content creation from a JSP to a servlet and write to the HTTP response as well as to a file in the servlet.
    That's going to make it look messy.
    Any thoughts on how I could make this happen while continuing to use a JSP?

    OK, so now I've tried it, it's essentially what is described in the J2EE tutorial:
    /* File 1 */
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * passes on a subclass of HttpServletResponseWrapper
    * in order to replace the output writer.
    public class OutReplacementFilter implements Filter {
      public void init(FilterConfig filterConfig) throws ServletException {  }
      public void destroy() {  }
      public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
                  throws IOException, ServletException {
        //wrap the original response
        HttpServletResponse newResponse = new ReplacementHttpServletResponse((HttpServletResponse) response);
        //pass it to the resource
        chain.doFilter(request, newResponse);
        //get what the resource wrote
        String output = newResponse.toString();
        //put it to the output stream
        PrintWriter out = response.getWriter();
        out.write(output);
        out.close();
        //and then put it where ever else you like
        System.out.println(output);
    /* File 2 */
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * returns specialized writer to capture jsp output
    public class ReplacementHttpServletResponse extends HttpServletResponseWrapper {
      private CharArrayWriter replacementWriter;
      public ReplacementHttpServletResponse (HttpServletResponse response) {
        super(response);
        replacementWriter = new CharArrayWriter();
      public PrintWriter getWriter() throws IOException {
        return new PrintWriter(replacementWriter);
      public String toString() {
        return replacementWriter.toString();
    }This way is easy and few keystrokes, but buffers all the output until the filter chain returns.

  • How to Buffer JSP Output Inside A Servlet

    Hello, we are trying to Process a JSP page inside a servlet and then do more processing and finnaly add the JSP output to the response output stream. I know there is a RequestDispatcher that lets you include a JSP page. However as far as I know all you can do with the RequestDispatcher is either include the JSP (which does not buffer it but simply adds it to the output stream) or forward to the JSP page. Any ideas? Thanks, - dk

    http://forum.java.sun.com/thread.jsp?forum=33&thread=377214

  • Need help w/ JSP formating a page.

    Ok. I need to make the following code work. I think it needs help w/ formating is all. Below is the JSP page I would like it in as well as where I think the code should go. Not shure how to get it to display the output though.
    var fullSessionName;
    Function startHODSession(sessionName) {
    var i = document.HODApplet.startSession(sessionName);
    if (i == 0) {
    fullSessionName = sessionName + document.HODApplet.getSessionID();
    I need to run that part of code and display the output on a webpage. Any help would be awosme as I am lost w/ JSP more of a vb kind of guy. but learning quickly. Thanks for any help or advice.
    Thanks
    My JSP file:
    <%--
    Document : index
    Created on : Oct 7, 2008, 7:14:58 AM
    Author : tl01mjf
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import ="java.applet.Applet" %>
    <%@page import = "ibm.eNetwork.HOD.BaseApplet" %>
    <%@page import = "ibm.eNetwork.HOD.HostOnDemand" %>
    <%@page import = "ibm.eNetwork.HOD.JSHostOnDemand" %>
    <%
    CODE GOES HERE
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <h2>Hello World!</h2>
    <input type="text" name="AgentID" value="" />
    <input type="submit" value="Push IT" name="id"/>
    </body>
    </html>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Great catch on the aplet and maybe that is where I am going wrong. So let me back up a little and maybe you can get me out of my bind.
    Basically what I want for a test app is: a little text box w/ a button. type in an number and click the button.
    the button will then send the info to a terminal emulator. (ibm host on demand)
    So that is what the 3 include statements where for. I got that from the API example.
    so what I really need the page to do is print the list of connections.
    so I need to get the latest session ID:
    var fullSessionName;
    Function startHODSession(sessionName) {
    var i = document.HODApplet.startSession(sessionName);
    if (i == 0) {
    fullSessionName = sessionName + document.HODApplet.getSessionID();
    Then run:
    public int sendKeys1 (String text)
    The string being what was put in the box.
    for right now i do not need error checking and i know the screen will be on the right spot to accpet the input.
    so if there is a better way to make it work using an applet....Im all for it.
    any ideas would be great.
    thanks

  • URGENT help with JSP

    Any help with this will be really appreciated. I'm new to programming.
    If I search for an ssn in a database, I want to view all records relating to that ssn. However, I am getting all the records in the table.
    eg.
    at the prompt for ssn, let's say I enter 111111111
    I would like to see
    111111111 abc xyz etc
    111111111 pdg ppp etc
    however, I am getting
    000000000 utt tui etc
    111111111 tug etg etc
    How do I make limit the search to the ssn I want?
    The related code is below.
    Thanks.
    Java Code
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    if (checkLoginSessionPresent(request, response)) {
    loadTable("/esoladm/TaxView.jsp", request, response);
    else {
    checkLoginSessionRedirect("/esoladm/ESOLAdminMain.jsp", request, response);
    JSP Code
    <% while (MyTaxSuppress != null) { %>             
    <% String sPlanCode = MyTaxSuppress.getPlanCode(); %>
    <% String sSSN = MyTaxSuppress.getSSN(); %>
    <% String sTaxYear = MyTaxSuppress.getTaxYear(); %>
    <% String sDistCode = MyTaxSuppress.getDistCode(); %>
    <% double sGrAmount = MyTaxSuppress.getGrAmount(); %>
    <% String sStmtType = MyTaxSuppress.getStmtType(); %>
    <% boolean bNewSuppress = MyTaxSuppress.getNewSuppress(); %>
    <% String rowID = sPlanCode; %>
    <% rowID += sSSN; %>
    <% rowID += sTaxYear; %>
    <% rowID += sDistCode; %>
    <% rowID += sStmtType; %>
    <% rowID += sGrAmount; %>
    <% System.out.println( "Do While lp exiti" + rowID);%
    <% if (bNewSuppress) { %>
    <% out.println( "<TD> %>
    <% <img BORDER='0' SRC='/esoladm/ESOLNew2.gif' %>
    <% ALT='' WIDTH='50' HEIGHT='20'> </TD >"); %>
    <% } else { %>
    <% out.println( "<TD></TD>"); %>
    <% } %>
    <TD><%= sPlanCode %></TD>
    <TD><%= sSSN %></TD>
    <TD><%= sTaxYear %></TD>
    <TD><%= sDistCode %></TD>
    <TD><%= sGrAmount %></TD>
    <TD><%= sStmyType %></TD>
    <TD><input TYPE="checkbox" name="<%=rowID %>" ></TD>
    <% MyTaxSuppress = MySuppressTaxList.getNext(); %>
    <% } // end of while loop %>

    I don't see anywhere in your code where you conditionally output a tuple from your database. You seem to be outputting everything.
    Maybe you need:
    <% if (sSSN==input_value){ %>
    <TD><input TYPE="checkbox" name="<%=rowID %>" ></TD>
    <% } %>

  • How to display the JSP output in the same page....

    im new to JSP..... can anyone tell me how to display the output of a particular JSP page in the same page itself...... if anyone could send a small sample code it will be very useful for me....
    thanks in advance
    regds
    Krish......

    Hi Robert -
    When you say you are writing a template-based Renderer, do you mean that you are creating a custom look and feel and replacing the header Renderer? If so, I'd recommend instead simply creating your own template (not template-based Renderer), and reference your template directly from your uiXML pages where you want to insert the timestamp.
    You'll probably want to write a method data provider which calls System.currentTime(), convert the result to a date, and then use Java's date formatting capabilities (see java.text.format.DateFormat) to produce a user presentable String that you can return from your data provider.
    For more info (and samples) on templates and data binding, see the "Templates and Data Binding" section of the "Includes and Templating in ADF UIX" help topic:
    http://tinyurl.com/5b7bf
    Andy

  • Caching JSP output

    All,
              Any help or pointers to solutions would be greatly appreciated.
              We have some JSPs that produce relatively static output. Is there a way in
              WL to cache the output, instead on recreating it every time? I know that
              the Caucho JSP engine will do this (it uses browser caching directives).
              Would we need to create our own caching mechanism?
              Thanks,
              Wade Matveyenko
              

    Good idea, I'll file it as a per.
              Sam
              "Dimitri Rakitine" <[email protected]> wrote in message
              news:[email protected]...
              > Oh. Then why not use maxSize cache backed by the SoftReferences?
              > For example, in the BubblingCache store hard references:
              >
              > class KeyValuePair {
              > public Object key;
              > public Object value; // hard reference to prevent cached object
              > // from being gc'ed.
              > }
              >
              > in the sorted array and SoftReferences in the HashMap - that way it will
              > behave like a normal maxSize cache and, if we are lucky, will be able to
              > return cached objects even after their hard references are removedi
              (maxSize
              > reached). If the garbage collector is too eager to clear SoftReferences
              there
              > will be no performance penalty.
              >
              > Sam Pullara <[email protected]> wrote:
              > > Essentially, soft references in HotSpot are not useful as caches. Here
              is
              > > the bug/per from the
              > > Java Developer Connection:
              >
              > > http://developer.java.sun.com/developer/bugParade/bugs/4239645.html
              >
              > > What you find is that your newly made soft reference rarely makes it to
              the
              > > long term generation
              > > in the collector and thus gets cleared almost immediately. There is
              some
              > > stochastic effect that
              > > smoothes it somewhat over time but it is nothing like the perfect
              behaviour
              > > you get from the classic
              > > virtual machine.
              >
              > > Although the tag detects what VM it is in and determines a good default,
              > > there is the ability to
              > > force softreferences either on or off. You can set either
              >
              > > weblogicx.jsp.tags.CacheTag.softreferences=true
              > > or
              > > weblogicx.jsp.tags.CacheTag.nosoftreferences=true
              >
              > > To force it one way or the other. These are System properties, not
              WebLogic
              > > properties, so you
              > > will either need to set them on the command line with -D or you can use
              the
              > > special weblogic.properties
              > > syntax and prepend java.system.property to the property names to set
              them,
              > > like:
              >
              > > java.system.property.weblogicx.jsp.tags.CacheTag.softreferences=true
              >
              > > Some of the documentation is a tad out of date. There will be a more
              formal
              > > release of the tag library
              > > in the next release of the WebLogic Server.
              >
              > > Sam
              >
              > > "Dimitri Rakitine" <[email protected]> wrote in message
              > > news:[email protected]...
              > >> It says: 'Unfortunately, due to incompatibilities with the HotSpot's VM
              > > and the Classic VM, we must
              > >> not use soft references when we are running within HotSpot. '
              > >>
              > >> Could you please elaborate what these incompatibilities are?
              > >>
              > >> Thanks.
              > >>
              > >> Sam Pullara <[email protected]> wrote:
              > >> > Service Pack 5 includes a cache tag. Attached is a war file with the
              > >> > javadocs.
              > >> > You should find it in lib/weblogic-tags-510.jar or use the one in the
              > > war
              > >> > file.
              > >>
              > >> > Sam
              > >>
              > >> > "Dimitri Rakitine" <[email protected]> wrote in message
              > >> > news:[email protected]...
              > >> >> You can use squid (http://www.squid-cache.org) in front of your
              > >> >> Weblogic server(s) - it will do caching for you.
              > >> >>
              > >> >> Wade Matveyenko <[email protected]> wrote:
              > >> >> > All,
              > >> >> > Any help or pointers to solutions would be greatly appreciated.
              > >> >>
              > >> >> > We have some JSPs that produce relatively static output. Is there
              a
              > > way
              > >> > in
              > >> >> > WL to cache the output, instead on recreating it every time? I
              know
              > >> > that
              > >> >> > the Caucho JSP engine will do this (it uses browser caching
              > > directives).
              > >> >> > Would we need to create our own caching mechanism?
              > >> >>
              > >> >> > Thanks,
              > >> >> > Wade Matveyenko
              > >> >>
              > >> >> --
              > >> >> Dimitri
              > >> >> http://dima.dhs.org
              > >>
              > >> --
              > >> Dimitri
              > >> http://dima.dhs.org
              >
              > --
              > Dimitri
              > http://dima.dhs.org
              

  • Multiple JSPs output into single PDF file

    Could anyone guide me on how do I combine output of multiple JSP files into a single PDF file? I have got 8 different reports and shall required to have single output of all of them in a PDF file. Its urgent. Please help.

    Hi Mahalakshmi,
    Clik on the link to view document: <b>[Combining Multiple Smartform Outputs Into One PDF File|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450?overridelayout=true]</b>
    Thanks
    Venkat.O

  • Can't see my Servlet/JSP outputs

    {color:#0000ff}Hello there Java gurus,
    I'm really excited about Java but there seems to be something i'm missing out that is slowing me down. I understand the logic behind the Servlet and JSP technologies - having context root in the webapps subdirectory of the Apache Tomcat, placing other directories like servlets, WEB-INF, classes etc in their respective places and copying .class, .xml, and .html into the proper directory of webapps subdirectories- but still I can't execute properly to view the outputs of even the simplest Servlet and JSP codes.
    When I tried compiling my Servlet Java file to produce a .class file, it gave an error of "javax.servlet does not exist". What can I do again to make me execute my Servlets, because there's truely no javax.servlet in the Java subdirectory of my Program Files.
    Thanks in advance for making this guy smile.
    ***Smiles***{color}

    Ednut wrote:
    Thanks cutton_m for the response, but if you can be clearer on how to get the .jar files or any other file that'd help, i'd be happier. My jakarta-tomcat-5.0.25is successfully installed, and I really don't understand what u mean by j2ee libraries coming with the tomcat's container.
    You need the jars in your classpath.
    The jars came with the J2EE container - in your case tomcat.
    Just what should I do to get the output of my Servlets/JSP codes viewable?Get to build first would be a start.

  • Why would a JSP output all data but fail to end the request?

    Hi all,
    I have a JSP which outputs some data, includes a servlet in the same application which outputs table rows, and then outputs the end of the page. I'm running iAS 6 SP4 on Solaris with iWS 6.0.
    My problem is that requests complete successfully and output all data but the page continues to "load": it renders in the browser window, says Opening .... in the progress bar, but never finishes. When I stop the request and view the HTML, everything is there, right down to the last tag. So both the JSP and servlet are running to completion, but somewhere the request is not being terminated.
    This is a problem because iAS will not serve any further requests to that specific application until the server is restarted. It will continue to serve pages to other applications on the same server. When shutting down the following errors are put to the log file:
    [30/Jan/2002:09:52:17] info (12980): GXConn::GetNextBuffer() reports: invalid reply type received in GetNextBuffer (conn 0x3c38f48, sock 0, host 0x0, port 0)
    [30/Jan/2002:09:52:17] info (12980): GXConn::GetNextBuffer() reports: invalid reply type received in GetNextBuffer (conn 0x3c38f48, sock 0, host 0x0, port 0)
    [30/Jan/2002:09:52:17] info (12980): gxrequest.cpp:gxrequest() reports: End req /NASApp/pricing/
    [30/Jan/2002:09:52:17] info (12980): gxrequest.cpp:gxrequest() reports: End req /NASApp/pricing/results.jsp
    I have many other JSPs which include servlets in the same application which work perfectly, and I am unable to reproduce the error on any other pages.
    Any help would be appreciated.
    Thanks,
    Scott

    Things are always clearer in the light of morning. Passing false for the inline argument to PDEContainerCreate() is the cause.

Maybe you are looking for

  • Problem with Windows Media Player -- saving, transferring

    Operating system:   Windows 7 Home Premium        Product: HP Pavilion P6000 Series Windows Media Player Copy short videos onto a thumbnail drive from a different computer running Windows 7 with Windows Media Player.    Thumbnail drive accepts files,

  • Oracle 10g RAC clusterware : runcluvfy.sh comp sys giving java exception

    Hi forum, I am getting an exception java.util.NoSuchElementException while running the command /stage/crs/cluvfy/runcluvfy.sh comp sys -n m4000-pnoc7,m4000-pnoc8 -p crs -osdba crs -orainv oinstall Verifying system requirement Checking system requirem

  • Garnishee Payments with F110

    Hi there, During a payment run for Garnishee Payments using the payment program the payment to a specified Garnishee is split between multiple Payroll areas. How can I combine those areas to deduct a single combined amount out of our bank account? Re

  • 1.2.6 oracle lite connecting using SQL*PLUS

    i have successfully installed a oracle 8iLite on win2000 professional. user id --- system password --- manager host string ---- odbc:polite But when i try to give this command " set serveroutput on " i am getting a message "Server not available or ve

  • What are the authorities listed in the certificate manager and where did they come from?

    I am being blocked from some websites and cannnot figure out how. I am not a student nor am I trying to access sites from work. This is occurring at my home. While trying to fix things I stumbled upon the Authorities list in the Certificate Manager.