Support for jsp:include page tag

Is there a support for the jsp:include page tag ?
I get an exception when trying to include jsp's
Thanks

Hi
I use a page with a one column template
I print a JSP that include another JSP using <jsp:include page="my_shopping_cart.jsp"
flush="true"/>
i get this exception :
java.lang.IllegalStateException: Can not set buffer size after writing data. at
com.bea.portlet.container.HttpServletResponseImpl.setBufferSize(HttpServletResponseImpl.java:179)
at weblogic.servlet.jsp.PageContextImpl.initialize(PageContextImpl.java:66) at
weblogic.servlet.jsp.PageContextImpl.(PageContextImpl.java:105) at weblogic.servlet.jsp.JspFactoryImpl.getPageContext(JspFactoryImpl.java:37)
at jsp_servlet._portlets._oci.__my_shopping_cart._jspService(my_shopping_cart.jsp)
at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:155) at jsp_servlet._portlets._oci.__oci._jspService(oci.jsp:209)
at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
at com.bea.portlet.container.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:98)
at com.cgi.poc.jsr168.MyAccountsPortlet.doView(MyAccountsPortlet.java:107) at
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:208) at javax.portlet.GenericPortlet.render(GenericPortlet.java:137)
at com.bea.portlet.container.PortletStub.render(PortletStub.java:370) at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:501)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:436)
at com.bea.portlet.server.PortletHttpServer.invoke(PortletHttpServer.java:218)
at com.bea.portlet.server.PortletHttpServer.process(PortletHttpServer.java:162)
at com.bea.portlet.server.PortletHttpServer.doGet(PortletHttpServer.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(JavaPortletContent.java:246)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(JavaPortletContent.java:146)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender(JavaPortletContent.java:108)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:424) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:427)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:172) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:95)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:380) at com.bea.netuix.nf.UIControl.render(UIControl.java:580)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:341)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123)
at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58)
at jsp_servlet._framework._skeletons._bellca.__gridlayout._jspService(gridlayout.jsp:29)
at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:187)
at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:90)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:420) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:427)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:172) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:363)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:207) at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:584)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Subbu Allamaraju <[email protected]> wrote:
Could you please post more details of the exceptions?
Thanks
Subbu
Carl Samson said the following on 12/09/2003 01:15 PM:
Is there a support for the jsp:include page tag ?
I get an exception when trying to include jsp's
Thanks

Similar Messages

  • WebLogic 8.1 support for JSP includes using XML formatting

    Hi,
              I have a web application I'm trying to deploy to WebLogic 8.1 which uses JSP includes.
              My JSP page starts with :
              < ?xml version="1.0"?>
              At runtime, I get this exception:
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page:
              "org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed., "
              Are XML formatted JSP includes supported ?
              Thank you
              John

    I got a similar exception which was:
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "org.xml.sax.SAXParseException: Attribute "xmlns:html" was already specified for element "jsp:root"., "
              This is how I fixed it:
              The taglib for the html was declared twice. Once in the main.jsp and once in taglibs.jsp. The taglibs.jsp was included in main.jsp (The jsp which was throwing exception)
              Hope this works for your case.
              Thanks
              -AKJ

  • Want to add a jsp inside pager tag library

    Hi,
    I want to add pagination in my web center application, for This I am using pager tag lib
    But I am not able to add jsp page inside *<pg:index >* tag
    I tried it with different ways: e.g.
    A. <jsp:include page="/WEB-INF/jsp/altavista.jsp" flush="true"/>
    b> <f:subview id="subview1">
    <jsp:include page="inc.jsp" />
    </f:subview>
    When I add JSP  inside <pg:index > tag and run my jsp i am getting noting in my UI and also not seeing any error in console.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:tr="http://myfaces.apache.org/trinidad"
    xmlns:pg="http://jsptags.com/tags/navigation/pager"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:pageTemplate viewId="/oracle/webcenter/portalapp/pagetemplates/nowTemplate.jspx"
    id="pt1">
    <f:facet name="content">
    <af:group id="g1">
    <af:panelGroupLayout id="pgl1">
    <div class="line topMargin20">
    <div class="unit size1of4">
    <div class="mod mod-sectionTitle">
    <span>Search Results</span>
    </div>
    </div>
    <!-- /unit -->
    <div class="unit size3of4 lastUnit"></div>
    <!-- /unit -->
    </div>
    <!-- /line -->
    <div>
    <pg:pager items="${backingBeanScope.searchClient.searchResults.totalResults}"
    maxPageItems="${backingBeanScope.searchClient.searchResults.maxPageItems}"
    maxIndexPages="${backingBeanScope.searchClient.searchResults.maxIndexPages}"
    isOffset="${backingBeanScope.searchClient.searchResults.isOffset}"
    export="offset,currentPageNumber=pageNumber"
    scope="request">
    <pg:param name="maxPageItems"/>
    <pg:param name="maxIndexPages"/>
    <input type="hidden" name="pager.offset" value="${backingBeanScope.searchClient.searchResults.isOffset}"></input>
    *<pg:index >*
    *</pg:index>*
    <c:forEach items="${backingBeanScope.searchClient.searchResults.results}"
    var="result">
    </c:forEach>
    </pg:pager>
    </div>
    </af:panelGroupLayout>
    </af:group>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_oracle_webcenter_portalapp_pages_untitled1-->
    </jsp:root>

    PeterBreis0807 wrote:
    Are you having trouble with tabs in a list?
    You haven't said so.
    In lists you have to use option tab, otherwise it just changes the list level.
    Peter
    I guess what you were hoping but you missed the point.
    Yvan KOENIG (VALLAURIS, France) vendredi 20 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • Javascript function is not working for jsp:include.. form elements

    HI,
    I have two jsp's and i will include one jsp in the another jsp, when i do this
    i am not able to access child form elements value using javascript. the javascript
    function is defined in the main jsp. but i could able to get the main form elements
    through javascript
    here is the code.
    main.jsp
    <!--Generated by WebLogic Workshop-->
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <netui:html>
    <head>
    <title>
    Web Application Page
    </title>
    <script language="JavaScript">
    function isValidAge() {
    alert ("hage " +document[getNetuiTagName("MyForm")][getNetuiTagName("age")].value)
    alert ("swage " +document[getNetuiTagName("MyForm")][getNetuiTagName("swage")].value)
    alert ("wage "+document[getNetuiTagName("MyForm")][getNetuiTagName("wage")].value)
    </script>
    </head>
    <body>
    <p>
    <netui:form action="myaction" tagId="MyForm">
    <netui:textBox tagId="age" dataSource="{actionForm.age}"/>
    <netui:textBox tagId="swage" dataSource="{actionForm.swage}"/>
    here i am adding
    <jsp:include page="NewPage.jsp" />
    <netui:button onClick="isValidAge();" />
    </netui:form>
    </p>
    </body>
    </netui:html>
    child.jsp :
    <!--Generated by WebLogic Workshop-->
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <table class="tablebody">
    <tr class="tablebody">
    <td> wife age
    <netui:textBox tagId="wage" dataSource="{actionForm.wage}"/>
    </td>
    </tr>
    </table>
    can you tell me is this is bug in hte weblogic portal SP1.
    I am using weblogic portal SP1.
    thanks in advance
    shashi

    in this part:
    if(document.LForm.uname.value==null || document.LForm.upassword.value==null)should be:
    if(document.LForm.uname.value=="" || document.LForm.upassword.value=="")or
    if(document.LForm.uname.value.length==0 || document.LForm.upassword.value.length==0)

  • [svn:bz-trunk] 20582: Add support for destination-include directory-path=" mydir"/ .

    Revision: 20582
    Revision: 20582
    Author:   [email protected]
    Date:     2011-03-03 12:35:14 -0800 (Thu, 03 Mar 2011)
    Log Message:
    Add support for <destination-include directory-path="mydir"/>.
    This will process each file ending in ".xml" as an individual <destination-include file-path=""/> element, allowing a web application to define a directory of destination configuration snippets.
    Added a new API to ConfigurationFileResolver.java: getFiles(String dir).
    This returns a list of XML files contained in this directory relative to the current configuration file.
    Updated both the ServletResourceResolver and the LocalFileResolver with implementations.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationConstants.java
        blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationFileResolver.java
        blazeds/trunk/modules/common/src/flex/messaging/config/LocalFileResolver.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServerConfigurationParser.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServletResourceResolver.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Which jar file is required for jsp dynpro page programming ?

    Hi all:
       I use NWDS wizard to create one small jsp dynpro page application. However the project has some errors, it said "
    This compilation unit indirectly references the missing type com.sapportals.htmlb.page.DynPage (typically some required class file is referencing a type outside the classpath)     Test1.java     NewParProject1/src.core/com/xinao/test     line 0
    " However, I found the class DynPage is not found in current project.
    I have already added com.sap.portal.htmlb_api.jar into my project.
    Where can I locate and find that jar file (which include the DynPage class ) ?

    Hi,
      Refer the following link content. It has answer to your question.
      class path incomplete at first portal component project
    Rds,
    Shanthakumar.
    points r welcome.

  • Sytax highlighiting for Jsp Dyn Pages for portal development.

    Hey,
    I am doing JSP with the htmlb taglib for portals. When I edit a jsp page in the Developer Studio, I expect syntax highlighting. This is what I see in the documentation for jsp editing as well - you know where the keywords are highlighted.
    Sytax highlighiting for jsp in Developer Studio for portal development.
    http://help.sap.com/saphelp_nw04s/helpdata/en/ce/e0a341354ca309e10000000a155106/content.htm
    OutputSuccess.jsp, OutputSuccessText.jsp are the two jsp's that are syntax highlighted on this page.
    In my Developer Studio this is not the case. Is a JSP editor and its highlighting not part of the Developer Studio. If it is, how do I get it to work.
    I also know that given the right taglib's, the editor also gives autocomplete for taglibs with its settings. I am hoping to speed up my development with this.
    Right now I am using a text editor for this. There are a couple of jsp plugin's such as Exadel or Lomboz which I can integrate if a jsp syntax editor is not there in the Developer Studio. I just wanted to know the right way to go about this.
    Thank you for your help.
    Sumit.

    Never mind. I was in the preview mode.

  • Support for JSP's located in WEB-INF directory

    Several application servers support the use of placing JSP pages underneath the WEB-INF directory, to insure that only server side workflow forwards requests to those pages and not direct URL access. IN addition the JSTL specification supports the use of
    <c:import url="/WEBINF/published/campaign_Arts.jsp" />
    Does OC4J 9.0.3 support this syntax? I cannot get it to work. Is there an application configuration file I need to update to support this?
    Thanks

              thank you for your reply...
              but...
              My problem is that i want to serve jsp pages that include various other jsp pages.
              But i don't want those other pages to be served directly. The approach of putting
              the jsp files in the WEB-INF, or in a sub directory of it, worked fine on Tomcat.
              The way i look at it is that the server has direct access to them when putting
              togetter the main jsp, but they can't be accessed from the outside. But this seems
              not to be the case.
              Any ideas?
              "ilya Devers" <[email protected]> wrote:
              >The WEB-INF is not perceived as a directory to the engine. Resources
              >in it
              >are not exposed and should not. It can hold sensitive resources such
              >as
              >application deployment descriptors that can contain database log in
              >information to name something. The engine should never serve resources
              >located here.
              >
              >This directory should only contain the normal directories: lib and classes,
              >and the web.xml files (and weblogic.xml).
              >
              >Hope this helps.
              >
              >ilya
              >
              

  • Please more support for the IPTC Headline tag!

    The use of the IPTC Headline tag (as opposed to the Title tag) is being discussed in posts back to 2007.
    Basically it's weird that Lightroom supports the Title tag with filters and search function whereas the Headline tag sees none of that treatment.
    Per definition the Headline tag
    "... is a brief, publishable synopsis or summary of the contents of the photograph. Like a news story's lead, the Headline should grab attention and summarize the image's content. Headlines must be succinct. Leave any supporting narrative for the Description field. Do not, however, confuse the Headline term with Title."
    whereas the Title tag
    "... can include a shorthand reference for the image or “photograph” - primarily for identification. The title of an image should be a short, human-readable name - text and/or numeric reference - and may take several forms. For photographers, this might be the filename of their original scan or digital camera file. For news organizations it might be the name of a story it accompanies. The Title term should not be confused with the Headline term, which is a short synopsis of the photograph's content."
    These definitions should make it fairly clear that the Headline tag needs at least the same tools treatment as the Title tag has.

    Submit a feature request to:
    http://feedback.photoshop.com/

  • Greek support for jsp

    Hello,
    I am working on an MVC model where the user submits a form where the text is in greek, passes it to a bean and that is being read by a jsp page. Even though in the eclipse console the greek characters are apperaing in the jsp page where I am using this syntax
    <jsp:getProperty name="upBean" property = "articleTitle" />
    the text appears in question marks. Even though I have set the character encoding to greek
    <%@ page contentType="text/html; charset=iso-8859-7" language="java" import="java.sql.*" errorPage="" %>
    and even though I have set both request and response to
    req.setCharacterEncoding("UTF-8");
    res.setCharacterEncoding("UTF-8");
    Any idea why is this happening and how to fix it would be more than appreciated
    Thank you

    public void doPost (HttpServletRequest req, HttpServletResponse res)
         throws ServletException, IOException {
              req.setCharacterEncoding("charset=iso-8859-7");
    this is how I did it but it gives me a
    java.io.UnsupportedEncodingException: charset=iso-8859-7
    and if I use utf-8 the whole page gets messed up including tha static content
    any ideas?
    Thanks for your interest

  • Jsp:include cutom tag libs

    OC4J 9.0.3
    JDK 1.4.2_01
    I have a jsp (outer.jsp) that includes another jsp (inner.jsp).
    inner.jsp contains a form with a table in it. It also has custom tags for inputs, etc.
    For example:
    <form ...>
    <table>
    <tr>
    <td>
    <ww:input ... />
    </td>
    </tr>
    </table>
    </form>
    When I view the source for my outer.jsp it looks like this:
    <input ... />
    <form ...>
    <table>
    <tr>
    <td>
    </td>
    </tr>
    </table>
    </form>
    It looks like the custom tag was expanded first and then the remaining html.

    you need to use the flush="true" parameter on your include statement.

  • RTL and Hebrew support for numbers and pages? when will we have the option for that?

    Still, after 4 years of IOS, there isnt even one sodtware that supports RTL and Hebrew\Arabic, is there a chance that in the near near future we will see that support in "Numbers" and in "Pages"?
    Thanks...

    The best place to make your request is (make sure you give details about exactly what is not working right):
    http://www.apple.com/feedback/pages_ios.html

  • Multi-language support for change password page in OAM

    How do we setup multiple language change password from lost password management in OAM.
    Thanks.
    Vinay

    Was able to do it by adding new files to the shared folder and updating the style in the lang folder to point to the new files.

  • Jsp:include does not work in 8.1 SP3?

    Hi all,
              I need to include a local file (external to the app) in jsp code. The external file includes an image map which changes very so often. So in order to avoid doing a build everytime, I thought about keeping the image map in a file which can be "included" in the jsp file, making it very dynamic to a change.
              So I have a servlet which will read this file and output the contents to response.getWriter(), which will be included in calling jsp code.
              But the jsp file does not seem to call the servlet at all.
              Here is the code in the jsp file:
              <%
              String sFileUrl = "/Prj/RenderReport?file=OrgChart.html";
              %>
              <jsp:include page="<%=sFileUrl%>" />
              What am I doing wrong? Is this not possible at all?
              Thank you all in advance.

    hi pjoshi,
              <jsp:include page="hello.jsp" /> tag is working fine in weblogic 8.1 sp3.
              I think it might be syntax error in your jsp page.
              This is the syntax to including dynamic files in jsp using <jsp:include page="" />tag as given below.
              <jsp:include page="{relativeURL | <%= expression %>}" flush="true" />
              go through the below link and you will find exact information how to include dynamic files in jsp using <jsp:include page=""/>
              http://java.sun.com/products/jsp/syntax/1.1/syntaxref1112.html
              --Anilkumar kari                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JSP include tag not showing page content

    Below is my code for a JSP page that uses JSP:include tag to include footer.jsp. The footer page does not display on show_email_entry.jsp. The error I am getting is variable emailAddress cannot be resolved. What am I doing wrong?
    Here is my code.
    show_email_entry.jsp
    <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <%@ include file="../includes/header.htm" %>
    <body>
    <%
    String firstName = request.getParameter("firstName");
    String lastName = request.getParameter("lastName");
    String emailAddress = request.getParameter("emailAddress");
    %>
    <h1>Thanks for joining our email list</h1>
    <p>Here is the information that you entered:</p>
    <table cellspacing="5" cellpadding="5" border="1">
    <tr>
    <td align="right">First name:</td>
    <td><%= firstName %></td>
    </tr>
    <tr>
    <td align="right">Last name:</td>
    <td><%= lastName %></td>
    </tr>
    <tr>
    <td align="right">Email address:</td>
    <td><%= emailAddress %></td>
    </tr>
    </table>
    <jsp:include page="footer.jsp" flush="true" />
    <p>To enter another email address, click on the Back <br>
    button in your browser or the Return button shown <br>
    below.</p>
    <form action="../email6/join_email_list.html" method="post">
    <input type="submit" value="Return">
    </form>
    </body>
    </html>
    FOOTER.JSP page:
    <%@ page import="java.util.Date" %>
    <p><i><%= emailAddress %> was added on <%= new Date() %>.</p>

    The [url http://java.sun.com/products/jsp/syntax/2.0/syntaxref209.html#1003408]@include directive and the [url http://java.sun.com/products/jsp/syntax/2.0/syntaxref2020.html#8828]<jsp:include> have two different functionalities.
    From the [url http://java.sun.com/products/jsp/syntax/2.0/syntaxref20.html] reference page:
    Include Directive : Includes a resource of text or code when the JSP page is translated.
    <jsp:include>
    Includes a static resource or the result from another web component
    (italic emphasis is mine)
    Basically the @include directive is like "copy and paste this file into the JSP and then compile"
    jsp:include is "run this web page, and add the result of that to my current response"
    So jsp:include can only include complete standalone JSPs.
    Do you see now why it would throw an error message with your example?
    Cheers,
    evnafets

Maybe you are looking for

  • ActiveX puzzle: How to close/clea​nup IWebBrowse​r2 [Excel] Document?

    Hello!       Attached is a simple VI that uses the IWebBrowser2 (ActiveX) control to display an xls file. The problem is that I need to access the IWebBrowser.Document property, but that causes Excel to stay open. Run the VI with boolean=False and Ex

  • No PhotoStream on Apple TV?

    Hi guys I bought an Apple TV today and I updated to 5.1 but on both (Past and current) OS I couldn't find PhotoStream, even in screen saver when I choose photostream az my screen saver still it shows National Geographic pictures. I already signed int

  • Multiple Account Assignments in Stock procurement (PR/PO)

    In any unassigned Purchase requisition / Order ( purely stock procurement, not for an order, cost center etc.) it is understood that Fund center has to be entered manually if it were to consume budget. How can i assign multiple Fund centers for a sin

  • Displaying all rows if value is blank

    Hi all trying I am trying to display all the rows from a database if the default value is blank I have tried to put a * or ? in the php code What could be wrong here? What do I need to put for the variable section for the correct syntax As it its Nam

  • BlueTooth USB dongle problem

    Hello, I have a problem with my BlueTooth USB dongle OS: Win98 Drivers: latest 1.4.2.10 When I setup a connection the following error occurs: ERROR: Unable to start the BlueTooth stack service Can anyone tell me how to solve this problem?? Andries