Web Layout Report
Hello all,
Has anyone tried calling a JSP based Report in Web Layout format. Kindly help me out on this.
Regards,
Arun.v
Hello,
You'll find information about that in the document :
Oracle® Reports Building Reports
10g Release 2 (10.1.2)
B13895-01
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_concepts2.htm#i1038044
2.2.1.1 Using JSPs in Oracle Reports
Regards
Similar Messages
-
Create PDF output from Web Layout Report
Is there a way I can create a PDF output from a Web Layout Report? (NOT from a Paper Layout). The reason I ask because editing on the .jsp Web Layout is very easy and flexible while editing on the Payer Layout is very difficult. Thanks.
- ToddHi Todd,
Please refer to this link:
paper layout & web layout
As for your second statement, it is a matter of opinion and I beg to differ that .... "Web Layout is very easy and flexible while editing on the Payer Layout is very difficult."
Best Regards,
John -
How to deploy Web Layout Report which is embedded in a JSP in 10.1.3 ??
Hi there,
we like to create a JSP report with web and paper layout. The paper layout is for pdf and the web layout to fit the page in the whole application. The whole application will be a JSF application running on 10.1.3. The reason why we like to use Reports is the capability of creating pdf and because of a couple of charts we have to build - using chart builder.
Now the question is how the JSP has to be deployed because the Reports engine is running on another 10.1.2 server. So the JSP itself has to run on 10.1.3 but the Report has to run on 10.1.2 - is it possible, a problem or is it just easy?
Regards, PeterHi there,
we like to create a JSP report with web and paper layout. The paper layout is for pdf and the web layout to fit the page in the whole application. The whole application will be a JSF application running on 10.1.3. The reason why we like to use Reports is the capability of creating pdf and because of a couple of charts we have to build - using chart builder.
Now the question is how the JSP has to be deployed because the Reports engine is running on another 10.1.2 server. So the JSP itself has to run on 10.1.3 but the Report has to run on 10.1.2 - is it possible, a problem or is it just easy?
Regards, Peter -
How to show web layout reports from 10g forms
Hi all ! When I try to open a report file with extension .jsp from a Form using web.show document() or run_report_object() only paper layout is showing on the screen so how I display a web layout from a form with proper documentation or design. Again why only data is showing on the screen without line,ractangle and other documentation but when I run the same report from report builder It is showing all on the screen.Please help how to resolve this. Please provide some proper code or way to solve this.
Thanks & regards
SanjitWell,
Web layout means that in place of (or in addition to) the paper layout, you get the report designed in JSP code. So all the frames, repeating frames etc will be expressed in JSP code using the Oracle Reports custom tags. Since it is code-based, you can insert your HTML or Java code in here to customize the output. You can in fact start with the HTML template, open it in reports builder, and start inserting the data using Reports custom JSP tags. In web layout, there are no "page breaks". So your report will be a JSP file, and can be deployed along with your J2EE application.
and see http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
Regards -
Report developed in 6i and open and run in 10g, Web Layout is not working
Hi,
Initially reports were developed in Reports 6i now we need to convert into 10g. I just opened the .rdf in Reports10g. Report is successfully running in paper layout and showing the data. But when i try to run the report in Web Layout im getting a BLANK INTERNET EXPLORER SCREEN. Why is it so? What should i do to run my report successfully in Web Layout? When i see Web Source, i am seeing the below code,
<%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
<%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
<%@ page contentType="text/html;charset=ISO-8859-1" %>
<!--
<rw:report id="report">
<rw:objects id="objects">
</rw:objects>
-->
<html>
<head>
<meta name="GENERATOR" content="Oracle 9i Reports Developer"/>
<title> Your Title </title>
<rw:style id="yourStyle">
<!-- Report Wizard inserts style link clause here -->
</rw:style>
</head>
<body>
<rw:dataArea id="yourDataArea">
<!-- Report Wizard inserts the default jsp here -->
</rw:dataArea>
</body>
</html>
<!--
</rw:report>
-->
Please, guide to achive the Web Layout Report.
Thanks & Rgds,
M ThiyagarajanHello,
The answer is in the Migration FAQ :
When I open an Oracle6i Reports Developer report in the Oracle Reports Builder 10g and run my Web layout, I get an empty Web page in my browser.
http://www.oracle.com/technology/products/reports/htdocs/faq/faq_migration.htm#368
Regards -
Oracle Reports Not working in Web Layout
Hi,
I am facing problem to run oracle reports in web layout working fine in paper layout. Please tell me the steps how to fix this problem?
Regards,
Waqar ShafiqueHello,
The easiest way to develop is to use the Report Builder Wizzard.Other example can be found in this note:
How to Generate Excel output in browser using Reports9i JSP (Doc ID 240819.1)
You can also search on google.
For deployment check:
How To Deploy And Run Oracle Reports JSP In 10G R2 AS? (Doc ID 334447.1)
and if on 11g:
Deployment of Web Layout Reports (JSP) in Reports 11g (Doc ID 1297790.1)
Regards,
Alex
If someone answer helped please mark it accordingly. -
Hi all,
I'm having problems running a simple test report on Reports Builder 9.0.2.
I've created a report based on an Html file saved from Excel, as in the "Output to Excel with Oracle9i Report" from the "Getting Started with Oracle9i Reports" demonstrations.
When I click on "Run Web Layout" Reports Builder hangs and never unlocks any more.
The trace log just states the following:
LOG :
Rapporto: test6
Collegato al server: ITTOF066.TORINO.IT.INT.ATOSORIGIN.COM
Nome utente: joelusr
Here's the jsp code:
<%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
<%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
<%@ page contentType="text/html;charset=ISO-8859-1" %>
<rw:report id="report">
<rw:objects id="objects">
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<report name="test6" DTDVersion="9.0.2.0.0">
<xmlSettings xmlTag="TEST6" xmlPrologType="text">
<![CDATA[<?xml version="1.0" encoding="&Encoding"?>]]>
</xmlSettings>
<data>
<dataSource name="Q_STUDY">
<select>
<![CDATA[select study_code "f_study_code", title "f_title"
from Joel_study]]>
</select>
<displayInfo x="0.88538" y="0.93750" width="0.69995" height="0.19995"/>
<group name="G_study">
<displayInfo x="0.56116" y="1.63745" width="1.34839" height="0.60156"
/>
<dataItem name="f_study_code" datatype="vchar2" columnOrder="11"
width="16" defaultWidth="100000" defaultHeight="10000">
<dataDescriptor expression="study_code"
descriptiveExpression="f_study_code" order="1" width="16"/>
</dataItem>
<dataItem name="f_title" datatype="vchar2" columnOrder="12"
width="512" defaultWidth="100000" defaultHeight="10000">
<dataDescriptor expression="title" descriptiveExpression="f_title"
order="2" width="512"/>
</dataItem>
</group>
</dataSource>
</data>
<reportPrivate templateName="rwbeige"/>
</report>
</rw:objects>
<html>
<head>
</head>
<body>
<h1>TEST6</h1>
<table>
<tr>
<td>Study_code</td>
<td>Title</td>
</tr>
<rw:foreach id="gStudyId" src="G_STUDY">
<tr>
<td><rw:field id="fStudyCodeId" src="f_study_code" /></td>
<td><rw:field id="fTitleId" src="f_title" /></td>
</tr>
</rw:foreach>
</table>
</body>
</html>
</rw:report>
And here's the query Sql:
select study_code "f_study_code", title "f_title"
from Joel_study
Any hints? I've followed the demo step-by-step so I just don't have any idea about what could be wrong.
TIA
AndreaHi,
it was not a hardware problem. I resolved it by installing 9iDS in English only, excluding all other languages.
Andre -
Not Able to run Report 10g through Web Layout Option
I have installed Oracle Developer 10g on my Laptop, I am able to run form, Report(In paper layout) successfully but when I try to run Report in Web Layout Mode, I am getting following error, Is there any setting is missing, could you provide some hint that would help me in resolving my issue.
Thanks
Kamlesh
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\3000\default\defaultWebApp\persistence\_pages\\_MODULE1001201432.java
javac: invalid flag: Files\Java\j2re1.4.2_01\lib\ext\QTJava.zip;;C:\Dev10g\j2ee\home\lib/ejb.jar;C:\Dev10g\j2ee\home\lib/servlet.jar;C:\Dev10g\j2ee\home\lib/ojsp.jar;C:\Dev10g\j2ee\home\lib/jndi.jar;C:\Dev10g\j2ee\home\lib/jdbc.jar;C:\Dev10g\j2ee\home\iiop.jar;C:\Dev10g\j2ee\home\iiop_gen_bin.jar;C:\Dev10g\j2ee\home\lib/jms.jar;C:\Dev10g\j2ee\home\lib/jta.jar;C:\Dev10g\j2ee\home\lib/jmxri.jar;C:\Dev10g\j2ee\home\lib/javax77.jar;C:\Dev10g\j2ee\home\lib/javax88.jar;C:\Dev10g\j2ee\home\../../opmn/lib/ons.jar;C:\Dev10g\j2ee\home\../../opmn/lib/optic.jar;C:\Dev10g\j2ee\home\../../lib/dms.jar;C:\Dev10g\j2ee\home\../../dms/lib/dms.jar;C:\Dev10g\j2ee\home\../../diagnostics/lib/ojdl.jar;C:\Dev10g\j2ee\home\../../dms/diagnostics/lib/ojdl.jar;C:\Dev10g\j2ee\home\lib/connector.jar;C:\Dev10g\j2ee\home\lib/bcel.jar;C:\Dev10g\j2ee\home\lib/cos.jar;C:\Dev10g\j2ee\home\lib/jsse.jar;C:\Dev10g\j2ee\home\../../oracle/lib/jsse.jar;C:\Dev10g\j2ee\home\lib/jnet.jar;C:\Dev10g\j2ee\home\lib/jcert.jar;C:\Dev10g\j2ee\home\lib/activation.jar;C:\Dev10g\j2ee\home\lib/mail.jar;C:\Dev10g\j2ee\home\../../javavm/lib/jasper.zip;C:\Dev10g\j2ee\home\../../lib/xmlparserv2.jar;C:\Dev10g\j2ee\home\../../oracle/lib/xmlparserv2.jar;C:\Dev10g\j2ee\home\../../jlib/orai18n.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/orai18n.jar;C:\Dev10g\j2ee\home\lib/jaxp.jar;C:\Dev10g\j2ee\home\lib/jaas.jar;C:\Dev10g\j2ee\home\jazn.jar;C:\Dev10g\j2ee\home\../../jdbc/lib/classes12dms.jar;C:\Dev10g\j2ee\home\../../oracle/jdbc/lib/classes12dms.jar;C:\Dev10g\j2ee\home\../../jdbc/lib/nls_charset12.jar;C:\Dev10g\j2ee\home\../../oracle/jdbc/lib/nls_charset12.jar;C:\Dev10g\j2ee\home\jaxb-rt-1.0-ea.jar;C:\Dev10g\j2ee\home\../../soap/lib/soap.jar;C:\Dev10g\j2ee\home\../../webservices/lib/wsserver.jar;C:\Dev10g\j2ee\home\../../webservices/lib/wsdl.jar;C:\Dev10g\j2ee\home\../../rdbms/jlib/aqapi.jar;C:\Dev10g\j2ee\home\lib/jem.jar;C:\Dev10g\j2ee\home\../../javacache/lib/cache.jar;C:\Dev10g\j2ee\home\lib/http_client.jar;C:\Dev10g\j2ee\home\../../jlib/jssl-1_1.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/jssl-1_1.jar;C:\Dev10g\j2ee\home\../../jlib/repository.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/repository.jar;C:\Dev10g\j2ee\home\lib/jaasmodules.jar;C:\Dev10g\j2ee\home\../../sqlj/lib/runtime12ee.jar;C:\Dev10g\j2ee\home\../../sqlj/lib/translator.jar;C:\Dev10g\j2ee\home\lib/crimson.jar;C:\Dev10g\j2ee\home\../../jlib/ojpcs.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpcs.jar;C:\Dev10g\j2ee\home\../../jlib/ojpcp.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpcp.jar;C:\Dev10g\j2ee\home\../../jlib/ojpse.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpse.jar;C:\Dev10g\j2ee\home\../../jlib/ojpsmime.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpsmime.jar;C:\Dev10g\j2ee\home\../../jlib/ojpcms.jar;C:\Dev10g\j2ee\home\../../oracle/jlib/ojpcms.jar;;;C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\WEB-INF\lib\reports_tld.jar;C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\WEB-INF\classes;C:\Documents and Settings\kamlesh\Local Settings\Temp\docroot\WEB-INF\lib\reports_tld.jar;.
Usage: javac
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath Specify where to find user class files
-sourcepath Specify where to find input source files
-bootclasspath Override location of bootstrap class files
-extdirs Override location of installed extensions
-d Specify where to place generated class files
-encoding Specify character encoding used by source files
-source Provide source compatibility with specified release
-target Generate class files for specific VM version
-help Print a synopsis of standard optionsHello,
The problem seems to be a space in the Classpath :
javac: invalid flag: Files\Java\j2re1.4.2_01
Files\Java\j2re1.4.2_01 seems to be the end of c:\Program Files\Java\j2re1.4.2_01 ..
Check REPORTS_CLASSPATH
regards -
Date format in the Web layout of Oracle 10g Reports
Dear all,
I want to change the date format in the oracle reports. I am using weblayout & paper layout. I have changed format mask using property inspector. It appears in paper layout. How can i get in the weblayout, please help me.
With Regards,
SrinivasHi Srinivas,
I think whatever applicable in Paper Layout should be applicable to Web Layout also.
Regards,
Raj -
I've configured forms and reports server 10g. Forms are working fine. However report is not running in web layout. I'm getting the following error message in web browser.
Reports Error Page
Thu Jul 19 14:33:14 IST 2007
javax.servlet.jsp.JspException: REP-50002: Server is shutting down
Reports are running in Paper layout.
Can anybody help me about this?Ok,
first of all are you running your reports on the iAS or OC4J of iDS?
second are you running on windows or linux or unix ...
if running on iAS are you trying to run your report with the in-report server?
If so create your own standalone report server and integrate it in your iAS console with the addNewTarget command
Message indicates that your reports server is not running smoothly , can you access your ias admin console? -
Run Web Layout in Reports Developer not working properly
I created a simple tabular report on hr.employees. It runs fine for the "Run Paper Layout" button. When I click "Run Web Layout" I get an IE browser window with the following:
404 Not Found
OracleJSP: java.io.FileNotFoundException:
Set the init-param debug_mode to "true" to see the complete exception message.
I do not know where to 'Set the init-param debug_mode to "true"'
I'm using windows XP
My "home" for the 10g Developer Suite is I:\DevSuite10g
My "home" for the 10g Rel2 database is I:\oracle\product\10.2.0\
I can navigate to http://mycomputer:8890/reports/rwservlet and see the
"OracleAS Reports Services - Servlet Command Help" webpage
I'm not using Oracle Application Server software.
Please Advise........MarkSure, here is the note.
Subject: Running JSP Report in Builder returns: Error: 404 Not Found Oraclejsp: Java.Io.Filenotfoundexception
Doc ID: 372624.1 Type: PROBLEM
Modified Date : 07-JUN-2006 Status: MODERATED
In this Document
Symptoms
Cause
Solution
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
Applies to: Oracle Reports Developer - Version: 10.1.2.0.2
This problem can occur on any platform.
Symptomso The loss of functionality
Cannot test jsp using Run to Web Layout button.
o The sequence of events
Open a report in builder.
Click on Run to Web Layout.
Browser shows 404 error.
o The significance of loss
Cannot test reports in builder.
o Include specific error messages (error number with syntax)
404 Not Found
OracleJSP: java.io.FileNotFoundException:
Set the initialization parameter in debug_mode to "true" to query the complete exception message.</HT
o What IS working
Paper layout reports work.
CauseA space in the name caused the URL call for the jsp not to be valid.
When the URL is generated, the space is treated as the need for a new parameter.
EXAMPLE
JSP name: 'my test.jsp'
Builds the following URL:
http://server:3000%2Fmy+test000203332.jsp?frombuilder=yes&validatetag=yes&JSPRUN=Yes
While the following name without a space produces a good URL
JSP name: 'myname.jsp'
http://server:3000%2Fmyname000203332.jsp?frombuilder=yes&validatetag=yes&JSPRUN=Yes
Note that the '+' is not in the good URL.
SolutionTo implement the solution, please execute the following steps:
1. Rename you report from my test.jsp' (with space) to 'mytest.jsp' (no space) -
Hi All:
Please let me know how can i run web layout of jsp report and publish it as portlet?
I have successfully deployed my jsp report(web layout),namely my_rpt.jsp, as a J2EE application and when i write URL direlctly in address bar of browser it runs successfully.
I have also published (as portlet) successfully my_rpt.jsp, with "execute" type "servlet", and it runs paper layout of report.
But i m unable to run the web layout of this report,with "execute" type "JSP"
i have provided "Oracle Reports Web Gateway URL for JSP reports " = http://webserver.domain_name:port/
Please help me out whats the problem and how can i run my jsp report with web layout?.One thing more its not the problem with only my_rpt.jsp
but other reports also shows the same behaviour.
Any suggestion/solution would be highly appreciated.
Regards
SamHi Sam,
When you register a report with Portal, you can either register it to be run via servlet or as JSP. If you would like to run the same report via servlet as well as a JSP, you will have to register it twice with Portal.
If you want to run the report as JSP, keep these steps in mind:
1. While registering the report, select "Execute as JSP" in step 2 of the registration process.
2. When you write the "Oracle Reports File Name", provide the virtual path to the JSP. As an example, suppose you have written the following as "Oracle Reports Web Gateway URL for JSP reports "
http://webserver.domain_name:port/
And suppose when you run the JSP report successfully outside of Portal, you use the following URL:
http://webserver.domain_name:port/mycontext_root/my_rpt.jsp
In this case, you will have to provide the following as the value for "Oracle Reports File Name"
mycontext_root/my_rpt.jsp
Notice that the file name is actually not just the file name, but it is qualified by the virtual path to the JSP report (where you have deployed the report).
If you keep the above 2 steps in mind, you should be able to run the report as JSP from Portal.
Navneet. -
Run Web Layout Error 11g R2 Report
Report Builder 11.1.2.0.0
When button pressed on Run Web Layout in Oracle Report Builder then
It's show Error:-
java.lang.NoClassDefFoundError:
javax/servlet/tagext/tagLibraryInfo
Installed proucts are:-
Weblogic Server 10.3.6
SE JDK 6U35 64bit
Oracle 11g R2 (Forms & Reports )
Please give adviceHave you checked out {thread:id=2418100} ?
Cheers, -
Deploying report in web layout.
Hi Friends,
I have developed a report throuhg report builder 9i for both web and paper layout. When I am running this paper layout mode the output format is appearing perfectly but in case of web layout not is appearing properly as well as item with VISIBLE property 'NO' is also appearing.
Please give the solution bit details probably with eaxmple.
Thanks in advance.
SanjeevSanjeev,
Paper and WebLayout are using different informations. For Paper Layout the "classical" Model with fields and frames and corresponding properties is used. For the Web Layout the WebSource (see in Object Navigator) is used. So changing a property in paper layout will not change the web layout (with the exception of using the include-tag in the web source, which references a frame with content from the paper layout).
regards
Rainer -
Web Layout different in Reports Builder to running in URL
When I go to Run Web Layout for a report in the Oracle Reports Builder, the columns are formatted differently to when I run the report from a browser (ie. font is smaller and the columns seem to wrap when they seem to fit nicely when running Web Layout in the Reports Builder). In fact, it looks identical to what is shown in the 'paper layout' in the report editor.
I have used 'desformat=htmlcss', so why does it look different? Can I make the browser version look like what is shown when running Web Layout in the Reports Builder? If so, how?
Thanks
AlisonI am too facing the same problem for quite a long time and left it unresolved. So what i am doing for now is changing the font size and adjusting the paper layout manually.
Maybe you are looking for
-
So I was installing the most recent version of iTunes (11.1.3 or something) with the Apple Product Updater and it was taking forever to install. I decided to exit becuase I had other things to do in iTunes which had closed due to the installation pr
-
Possible bug in the arch NFS server package?
i run the nfs server on my arch box, exporting to a debian box and an arch laptop. whenever the arch server reboots lately, the shares don't automatically remount properly on the clients. they're listed in mtab, but if i ls or try to access the direc
-
How do I have my IPad Provide alert when using "Find my iphone" app
How can I set my IPad so that it gives an aleert when using "find my phone" app?
-
Called form obscured by caller
I have an application that has been converted from 6i to 10g. Most of the forms were developed in much earlier versions of Developer. There are some newer forms that were developed in 6i. They all worked fine together in 6i but in 10g, when an older
-
HT201317 i lost my phone are my photos saved on icloud?
i lost my iphone and dont really care about the phone as much as i care about the pictures how do you get your pictures off icloud?