Display jsp page inside tabset
Hi
I want to display different jsp pages inside different tab control of a particular tabset.I got a tabset with five tab controls.Also i got five jsp pages which i want to display inside each tab in the tabset. I tried to connect each page with a particular tab in PAGE NAVIGATION WINDOW.but when i am running the page,the tabs are not displaying the corresponding jsp pages.Anyone plz help me
Thanks
Shameer A
Duplicate of http://swforum.sun.com/jive/thread.jspa?threadID=63106&tstart=0
Similar Messages
-
I have a button in JSP page inside an UIWebView by pressing the button i want to run another
existing iPhone native application in background only.Do anyone have a solution for this.Sounds like a virus.... I hope it's not...
Launching Other Apps within an iPhone -
Forwarding to jsp page inside web-inf
hi everyone,
i have a question. i have jsp pages inside web-inf folder and i have welcome page of project(outside web-inf) in pages from where i want to give link to jsp page inside web-inf folder. this project is absed on spring framework. how can i do this?
thanks in advancehi everyone,
i have a question. i have jsp pages inside web-inf folder and i have welcome page of project(outside web-inf) in pages from where i want to give link to jsp page inside web-inf folder. this project is absed on spring framework. how can i do this?
thanks in advance -
I'm having trouble getting a jsp page to display in Excel. Below is the code. Any idea what I'm missing?
Thanks in advance,
John
<%@ taglib uri= "tagLib" prefix="hbj" %>
<jsp:useBean id="rbpTable" scope="application" class="com.halliburton.esg.erp.zelc.bdvipp.htmlb.ViewRevenueByParticipantTable" />
<%
request.getServletResponse(false).setContentType("application/vnd.ms-excel");
request.getServletResponse(false).setHeader("Content-Type","application/vnd.ms-excel");
request.getServletResponse(false).setHeader("Content-Disposition", "attachment; filename=test.xls");
%>
<hbj:content id="myContext" >
<hbj:document>
<hbj:documentHead title="sap">
<meta http-equiv="Content-Type" content="application/x-msexcel; charset=ISO-8859-1">
</hbj:documentHead>
<hbj:page title="Template for a portal component">
<hbj:form id="myFormId">
<hbj:button
id="printButton"
text="Print"
tooltip="Print"
onClientClick="javascript:window.print();"
width="10"
design="EMPHASIZED">
</hbj:button>
<hbj:button
id="closeButton"
text="Close"
tooltip="Close"
onClientClick="javascript:window.close();"
width="10"
design="EMPHASIZED">
</hbj:button>
<BR><BR>
<%
java.text.DecimalFormat df = new java.text.DecimalFormat("#,##0");
String revenueString = "Total Assigned Revenue: $"+df.format(rbpTable.getTOTAL_PLAN());
%>
<hbj:textView text="<%=revenueString%>" design="EMPHASIZED" />
<hbj:tableView
id="myTableView"
model="rbpTable.model"
design="STANDARD"
headerVisible="true"
footerVisible="false"
fillUpEmptyRows="false"
selectionMode="NONE"
visibleFirstRow="1">
</hbj:tableView>
</hbj:form>
</hbj:page>
</hbj:document>
</hbj:content>It´s so easy print your results from a JSP in excel.
By default the mime type of the jsp is HTML, but you can change it, only have to add the next line in your jsp.
<%@ page contentType="application/vnd.ms-excel" %>
that is a example that you can try :
<%@ page contentType="application/vnd.ms-excel" %>
1997 1998 1999
12.3 13.4 14.5
will load Excel and show this:
A B C
1
2
3 1997 1998 1999
4 12.3 13.4 14.5
Good luck!
Josue Cruz
PS.Dont forget to reward points -
Display apex page inside iframe........
Hi,
Im trying to put the apex page(http://apex.oracle.com/pls/apex/f?p=44015:3:2304706657174469:::::) inside a iframe. but i cant achive it. when i run the below code the page cant able to display inside the iframe.
<html>
<head>
<title>HTML Test</title>
</head>
<body>
<iframe src="http://apex.oracle.com/pls/apex/f?p=44015:3:2304706657174469:::::" width="800" height="400">
</iframe>
</body>
</html>i.e, i want to display a page(google) like below,
<html>
<head>
<title>HTML Test</title>
</head>
<body>
<iframe src="http://www.google.com" width="800" height="400">
</iframe>
</body>
</html>what's wrong in my code?
Thanks in advance...What kind of error does the page give?
I see that you have your session info in your url.
If you put it like this:
<iframe src="http://apex.oracle.com/pls/apex/f?p=44015:3" width="800" height="400">does that work?
Robin -
hi everybody, I get this error when i try to display a jsp page:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /visualizzavini.jsp:6
3: <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
4: <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
5: <%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s" %>
6: <f:loadBundle basename="it.tecnologieweb.vinispallacci.web.messages" var="msgs"/>
7: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8: <html xmlns="http://www.w3.org/1999/xhtml">
9: <head>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.ServletException: No faces context?!
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.visualizzavini_jsp._jspService(visualizzavini_jsp.java:94)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.jsp.JspException: No faces context?!
org.apache.myfaces.taglib.core.LoadBundleTag.doStartTag(LoadBundleTag.java:77)
org.apache.jsp.visualizzavini_jsp._jspx_meth_f_loadBundle_0(visualizzavini_jsp.java:111)
org.apache.jsp.visualizzavini_jsp._jspService(visualizzavini_jsp.java:72)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)i'm new of jsf i try to find out what's wrong but i can't resolve by myself, but anyway this code works correctly on another pc ( not mine that's the matter!!)
can anyone help me?thank u allThis exception roughly means that the f:loadBundle component cannot find the FacesContext.
Look in your web.xml if the FacesServlet is defined correctly and what its url-pattern is. If it is defined correctly and its url-pattern is for example *.jsf, then you'll have to invoke the visualizzavini.jsp as visualizzavini.jsf in the browser. This way the FacesServlet will be invoked and precreate the FacesContext so that the JSF components can access the FacesContext. -
Hai
I am having a jsp page. in which if i click a link then it will go to controller and check some process after that it will display another jsp page. Now i want to view the bottom portion of jsp page.
if we directly give jsp page, then we can give the url like "http://localhost:8080/citrix/vlab#book" .Here in bottom portion of jsp page i can give <a name="book">. but now the url displays the controller name in address bar like this "http://localhost:8080/citrix/citrixbookingstatuscontroller.do?day=23&month=June&year=2005".
what to do?pls anybody give idea.plsssssss. anybody give idea
-
How to open a jsp page inside a portlet directly ,Cannot find FacesContext
Hi
Thank you for reading my post.
I have a portlet (a jsf portlet build by JSC) , now i need to open a window that
will show some information , i managed to open the pop-up and pass some parameters to popup
but right now , i do not know what is my jsp file url
as you know portlets are deployed diffrent than plain web jsf application.
I find that if i use
http://localhost:28080/Adv/viewMessageDetails.jsp?messageID=10
it will open the page , but unfortunetly it return an error like :
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: javax.servlet.jsp.JspException
Cannot find FacesContext
Possible Source of Error:
Class Name: javax.faces.webapp.UIComponentTag
File Name: UIComponentTag.java
Method Name: doStartTag
Line Number: 405
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
and some stack trace.
how i can fix this problem ?
thank youIn portlet project, to navigate between pages, you should not use the URL property to link to a page. Instead, portlets use navigation via action handling. You use the Page Navigation editor to set up links to pages; that is, the navigation editor sets the action property.
Here is an example to hyperlink ans button to open a new page:
# From within the IDE, create a new portlet project. This action creates the project and one page, PortletPage1.jsp.
# Create a second portlet page, called PortletPage2.jsp, for the project.
# Drop a Hyperlink component onto the first portlet page, PortletPage1. (You can drop the Hyperlink on the page in the Design window or on the PortletPage1 node in the Outline window.) Change the Hyperlink's text property to Next Page.
# Drop a Button component (found in the Basic section of the Palette) onto the second portlet page, PortletPage2.
# Open the Page Navigation Editor. It displays the two pages (PortletPage1.jsp and PortletPage2.jsp) of the application.
# Click the PortletPage1.jsp icon in the Navigation window to expand it, and then drag a connector from hyperlink1 to PortletPage2.jsp. Change the name of the connector from case1 to Page2.
# Click the PortletPage2.jsp icon in the Navigation window to expand it, and then drag a connector from button1 to PortletPage1.jsp. Change the name of the connector from case1 to Page1.
# Run and deploy the portlet. The browser displays PortletPage1 and you should see the Next Page hyperlink. When you click the Next Page hyperlink, the Apache Pluto Portal server displays PortletPage2. Click the Page2 button to return to PortletPage1.
Sherry
Creator Team -
Urgent: Parameter problem for portlet displaying jsp running inside tomcat
Following jsp when run with portal 9.0.2 displays value of Name and Age but value of Telephone parameter is displayed as Null. Can anybody tell me the reason?
Running this jsp on IBM WebSphere.
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="java.util.*, oracle.portal.provider.v2.*" %>
<%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
<%@page import="oracle.portal.provider.v2.render.PortletRendererUtil" %>
<%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
<%@page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil" %>
<%@page import="oracle.portal.provider.v2.url.UrlUtils" %>
<%
// The form submit URL refers to the current Portal page. All portlets
// on this page share this URL. This means that the per portlet parameters
// are in the same request. Portlets must ensure that its paramerters don't
// collide either with other portlets or other instances of itself. This
// is generally accomplished by using "fully-qualified" parameter names. A
// fully-qualified parameter name prepends the (unique) portlet reference to
// the parameter. The JPDK provides a utility to accomplish this.
String portletParamName = "mName";
String portletParamAge = "mAge";
String portletParamSubmit = "mSubmit";
String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
// These are the session attribute names used to store the current values.
// Because all instances of this portlet share the same user session we must
// also fully-qualify these names to avoid collisions.
String sName = HttpPortletRendererUtil.portletParameter(request, "sName");
String sAge = HttpPortletRendererUtil.portletParameter(request, "sAge");
String sTelephone = request.getParameter("TELEPHONE");
PortletRenderRequest pRequest = (PortletRenderRequest)
request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
String formName = UrlUtils.htmlFormName(pRequest,null);
ProviderUser user = pRequest.getUser();
ProviderSession providerSession = user.getSession();
if (providerSession == null)
%>
Your provider session has been terminated or has timed out
and you need to logout and then login to re-establish the session.
<%
else
// Record, in session storage, the last values submitted.
if (pRequest.getQualifiedParameter(portletParamSubmit) != null)
providerSession.setAttribute(sName, pRequest.getQualifiedParameter(portletParamName));
providerSession.setAttribute(sAge, pRequest.getQualifiedParameter(portletParamAge));
%>
<!-- Output the HTML content -->
<center>
<table width="70%">
<tr>
<td>
<b>This portlet shows how to post and process information from HTML forms.</b>
</td>
</tr>
</table>
<form name="<%= formName %>" method="POST"
action="<%= UrlUtils.htmlFormActionLink(pRequest,UrlUtils.PAGE_LINK) %>">
<%= UrlUtils.htmlFormHiddenFields(pRequest,UrlUtils.PAGE_LINK, formName) %>
<table>
<tr>
<td>
<b>Name :</b>
</td>
<td>
<input type="text" size="20" name="<%= fName %>" value="">
</td>
</tr>
<tr>
<td>
<b>Age : </b>
</td>
<td>
<input type="text" size="3" name="<%= fAge %>" value="">
</td>
</tr>
<tr>
<td>
<b>Telephone : </b>
</td>
<td>
<input type="text" size="3" name="TELEPHONE" value="">
</td>
</tr>
</table>
<br>
<INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
</form>
<%
if ((providerSession.getAttribute(sName) == null)&& (providerSession.getAttribute(sAge) == null)) {
%>
<b>No values have been submitted yet.</b>
<%
} else {
%>
<b> Last submitted values:</b><br>
<table>
<tr>
<td>
<b>Name: </b>
</td>
<td>
<b><%= providerSession.getAttribute(sName) %></b>
</td>
</tr>
<tr>
<td>
<b>Age: </b>
</td>
<td>
<b><%= providerSession.getAttribute(sAge) %></b>
</td>
</tr>
<tr>
<td>
<b>Telephone: </b>
</td>
<td>
<b><%= sTelephone %></b>
</td>
</tr>
</table>
<%
%>
</center>
<%
%>
<!-- End output the HTML content -->
Can somebody please help me on this?
ThanksHello,
Let me know if the answer that I made Help needed: JSP and portal parameter problem.
Regards
Tugdual Grall -
Error while displaying JSP page
Hi Gents,
I am getting the below error while make forward to another page.
Please advise
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/ak/xxperson/webui/managePersonPG).
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
at OA.jspService(_OA.java:80)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/xxperson/webui/managePersonPG, XML Path = D:\JDev1211\jdevhome\jdev\myclasses\JRADXML;D:\JDev1211\jdevhome\jdev\myprojects;D:\JDev1211\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1370)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
at OA.jspService(_OA.java:80)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/xxperson/webui/managePersonPG, XML Path = D:\JDev1211\jdevhome\jdev\myclasses\JRADXML;D:\JDev1211\jdevhome\jdev\myprojects;D:\JDev1211\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1370)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
at OA.jspService(_OA.java:80)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Hi Hrishikesh,
The file exists locally "PC" in this place "D:\JDev1211\jdevhome\jdev\myprojects\xxt\oracle\apps\ak\xxperson\webui\"
Please note that if I run the page directly without forwarding from the previous page, it opens.
This is the forward code:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule perAm = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("savePerson") != null ) // save button been clicked
perAm.invokeMethod("savePersonToDatabase");
pageContext.setForwardURL(
"OA.jsp?page=/oracle/apps/ak/xxperson/webui/xxPersonMainPG"
,null // no need as we are retaining menu context
,OAWebBeanConstants.KEEP_MENU_CONTEXT
,null // no need as we are retaining menu context
,null // no parameters are needed
,true // retain menAM
,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
,OAWebBeanConstants.IGNORE_MESSAGES
Thanks and best regards
Hesham -
Problem in displaying jsp page
I read a tutorial and followed their instrction where the first step is to install a server so I installed the Blazix server.
I then put this following jsp file in the c:\blazix\webfiles and named it as hello.jsp.
I first ran the server and then open that file where it shows :
Hello ! The time is now
<html>
<body>
<%@ page import="java.util.*" %>
<HTML>
<BODY>
<%!
Date theDate = new Date();
%>
Hello! The time is now <%= theDate %>
</BODY>
</HTML>if by apache you mean Tomcat then its a good idea to start with that one.
http://jakarta.apache.org/tomcat/index.html -
Redirecting to a jsp page inside 'init' method of a servlet
In the next example code, in case some Exception happens, I want to redirect the flow to some
JSP; How can I do that??
public void init() {
try {
<some_code_block>
} catch (Exception e) {
//response.sendRedirect(response.encodeURL("/../somePage.jsp"));
//'response' is not accesible here
}thanks!FLAGS are cool!
this is my solution:
public class MyServlet extends HttpServlet {
boolean success;
String exceptionMsg;
public void init() {
try {
<some_code_block>
success = true;
} catch (Exception e) {
success = false;
exceptionMsg = e.getMessage();
public void service (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
if (success) {
<servlet_code_here>
} else {
response.sendRedirect(response.encodeURL("/somewhere/SomePage.jsp?exceptionMsg=" + exceptionMsg));
}.. thank for your reply! -
Maximum size of a compiled JSP page
Has anybody else come accross a problem with weblogic not displaying .jsp pages greater than
One solution could be to break the jsps in small jsps ...
"John" <[email protected]> wrote:
>
>Apparently there's a resitrction in the Java spec that the size of a
>compiled method
>cannot exceed 64kb. I'm looking for a way to get around this now
>
>Adam Willis <[email protected]> wrote:
>>Has anybody else come accross a problem with weblogic not displaying
>>.jsp pages greater than
>
-
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
-
Hi All,
I want to call the jsp page inside the JSP for example, I have one jsp (sample.jsp)
I done code like this,
<% String webpath=componentRequest.getWebResourcePath()+"/";%>
<html>
<iframe src ="<%=webpath%>PORTAL-INF/jsp/mapping.jsp " width="100%"></iframe>
</html>
I placed mapping.jsp under PORTAL-INF.
it shows error like this,
The requested resource /irj/portalapps/Reliance_Logon_Par/PORTAL-INF/jsp/mapping.jsp is not available
Regards,
MythiliHi,
I think you are ultimately trying to cal a non web resource (jsp) over a URL of an iframe. Now JSP's cannot be accessed in that way.
You could try using the include tag of JSP if you are planning to include 1 jsp in another. If its just something static, you could create an HTML page and then call it the way you are trying to.
Otherwise there is a way to refer to a JSP from a component.
IResource jspResource = request.getResource(IResource.JSP,"PORTAL-INF/mapping.jsp");
Just check that.
Regards,
Prem
Edited by: Prem Mascarenhas on Dec 29, 2007 10:01 AM
Maybe you are looking for
-
Hi everyone, I've had the yoga 2 pro for about a year now - took a little bit of fiddling to get it working just right (clean OEM win 8.1 install and installing drivers in the right order etc) but I had it working just perfect then.... About a week a
-
Start a fresh database, import 3 images and go the the Develop module. Move the Temperature slider of the first image far to the right, the Temperature slider of the second image far to the left and the Exposure slider of the third image far to the r
-
I have apps on my iPad and my computer is not connected to the Internet. How do I get my apps to load on the computer ? Because it says the apps on my iPad will be replaced with the apps that are on the computer but there is none there!
-
How I can make Bridge CS6 and Lightroom 4 share the same set of keywords in real time?
Can we point to the same file on the hard drive? What is the current best workflow practice for keyword sync between the two apps? Thanks
-
Preview problem with NEF files in Lightroom 3.3 from d7000
Lightroom 3.3 (with XP) states in import screen for NEF files from my d7000 "Preview unavailable for this file", and "could not read preview" when I double click on image to bring it to full-field view. Any hints? Thanks.