Deploying 9i Reports JSP file using Jdev

Hello,
I have created two JSP reports using 9i Reports Developer. One of them is a Paramater form which calls the other.
I am able to run them from the OC4J demo instance directory structure.
How can I create an ear file using JDeveloper so that I can deploy that as a new OC4J instance using OEM?
Appreciate you help.
Thanks.

To create war and ear files thro Jdeveloper please refer to Oracle jDeveloper online Help .you can also create ear and war files using open source tool ant ,please refer to following URL for downloading this tool and documentation - http://jakarta.apache.org/ant/
Thanks
Rohit

Similar Messages

  • Deploying a single JSP file

    Hi All,
    I have installed weblogic server 9.2 on production environment . I have deployed a web application in exploded way, where i will be updated the JSP files frequently.
    Whenever a JSP file is updated , the changed are not taking place.
    Please suggest me , after changing a jsp file do i need to update the deployemnt or there is any to deploy a single JSP file using wenlogic.deployer utility.
    Please guide me on this issue.
    Regards,
    Krikar

    Hi,
    As you have mentioned that your WLS92 Server is running on Production mode. In production mode we dont change our JSPs frequently. The JSPs are Automatically updated within 1-Second in Development environment (PRODUCTION_MODE=false if this is mentioned in your serverSatrtScript).
    In Production Environment if you want that your JSPs whould be updated then Please specify the *<page-check-seconds>* Tag in *"weblogic.xml"* file.
    NOTE: The value <page-check-seconds>1</page-check-seconds> means check the pages every second. This is the default value in a development environment*.
    For more informations...Please refer to http://download.oracle.com/docs/cd/E11035_01/wls100/webapp/weblogic_xml.html#wp1038491
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Is Wonderful...Proofs are here)
    Edited by: Jay SenSharma on Dec 16, 2009 3:24 PM

  • Deploying a single jsp file in weblogic 9.2

    Hi All,
    I have installed weblogic server 9.2 on production environment . I have deployed a web application in exploded way, where i will be updated the JSP files frequently.
    Whenever a JSP file is updated , the changed are not taking place.
    Please suggest me , after changing a jsp file do i need to update the deployemnt or there is any to deploy a single JSP file using wenlogic.deployer utility.
    Please suggest where to find documents for the same.
    Please guide me on this issue.
    Regards,
    Krikar

    Hi Kirkar,
    As you have mentioned that your WLS92 Server is running on Production mode. In production mode we dont change our JSPs frequently. The JSPs are Automatically updated within 1-Second in Development environment (PRODUCTION_MODE=false if this is mentioned in your serverSatrtScript).
    In Production Environment if you want that your JSPs whould be updated then Please specify the *<page-check-seconds> Tag in "weblogic.xml" file*.
    NOTE: The value <page-check-seconds>1</page-check-seconds> means check the pages every second. This is the default value in a development environment.
    For more informations...Please refer to http://download.oracle.com/docs/cd/E11035_01/wls100/webapp/weblogic_xml.html#wp1038491
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Is Wonderful...Proofs are here)

  • Step by Step Doc to Develop the JSP by using Jdev

    I am a newbie, i am looking for a setp by step doc. to tell how to start and compile the JSP by using JDev.
    chan.

    Hi Chan,
    You can check the 'Deploying Servlets and JSP' viewlet present at
    http://otn.oracle.com/products/jdev/viewlets/viewlet.html
    This viewlet explains how to start writing JSP and how to compile it using JDEV.
    You can even have a look at 'Working with JSP Tag Libraries' viewlet which helps to know how to use JDEV for JSPs. All the viewlets present in the page are very informative.
    Regards,
    Anupama

  • Using JSP to stream XML to a Oracle Report .jsp file

    I created some Oracle Reports for a pdf output. Using these reports can I stream a URL XML file to it from a JSP XML read from a database? I would like to use JSP's to read the datbase and then stream the XML to the JSP report (Oracle Report Server). Is this possible?
    Any help would be great.
    Thanks in advance.

    I was able to hard code a URL running XSQL which created XML and it worked great. Then I created a Oracle Report and saved it as a JSP file. With this JSP file can you feed it XML from another JSP process that reads the database? I looked at using something like inputstream coding in this JSP report file. I am new to JSP's and Java so any examples would be great.
    What I am tring to do is change the JSP file with diffent values each time I run the report and I do not want to read from the database at report generation time. I would like to input the data from a JSP streamed process that would stream the XML to the report JSP with out hard coding the URL in the report data source. Is this possible?
    Thanks for your help in advance.

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • Error deploying oracle report JSPs in Jdeveloper.

    Hi,
    I am trying to deploy and run a report created using oracle Report tool(comes with oracle 10g developer suite). I did the below steps.
    1. I created a web layout report in oracle reports tool.
    2. Open Jdeveloper (which comes in developer suite).
    3. Create a new project in Jdeveloper. selected to create new "report component" from new. Copied my oracle report to this jsp page.(Report run time was automatically added to the libraries of the project created)
    4. Run using embedded oc4j and report was successfully run.
    5. Created a deployment profile for WAR. Created a war successfully. Then created an EAR.
    6. Right click deployment profile and configured standalone oc4j connected(connection1). Tested the connection. The test connection was success.
    7. Then right clicked the deployement profile and clicked deploy to connection1.
    8. The EAR file was deployed but in the standalone OC4J, it is showing few errors.
    07/05/02 17:04:47 Error: oracle.reports.jsp.ReportTagExtraInfo
    07/05/02 17:04:47 Errors parsing jar:file:/D:/OC4J/j2ee/home/applications/webapp1/webapp1/WEB-INF/lib/reports_tld.jar!/META-INF/taglib.tld
    07/05/02 17:06:11 Error: oracle.reports.jsp.ReportTagExtraInfo
    07/05/02 17:06:11 Error: loading Tld's into cachedConfigTable: null
    Can anyone tell me how to correct this error?
    -regards,
    K
    6.

    I can successfully deploy the EAR after including the Report Runtime in the dependencies of the deployment profile in Jdeveloper. But I am getting the below error.
    Reports Error Page
    Wed May 02 18:35:53 GMT+05:30 2007
    java.lang.NullPointerException
    java.lang.NullPointerException
         at oracle.reports.rwclient.RWClient.getTrace(RWClient.java:1321)
         at oracle.reports.jsp.JspTagUtil.getRWClient(JspTagUtil.java:59)
         at oracle.reports.jsp.RwTag.setPageContext(RwTag.java:54)
         at oracle.reports.jsp.ReportTag.setPageContext(ReportTag.java:101)
         at oracle.jsp.runtime.OracleJspRuntime.getTagHandler(OracleJspRuntime.java:1298)
         at MyReport.jspService(_MyReport.java:46)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Any help?
    -K

  • Deployed Application Missing JSP files

    I have deployed an web appliclation Using JDeveloper 10.1.3.3 to a remote Oracle AS When I look at the Deployed Application on the Server I only see the Servlet, the JSP files are missing. I looked at the .ear and .war files and the have all the components in them but the JSPs seem to be missiong from the server. I did not get any error messages from the deployment log
    ---- Deployment started. ---- Mar 13, 2012 2:19:32 PM
    Target platform is Oracle Application Server 10g 10.1.2 (Windows) (bantest).
    Wrote WAR file to C:\jdev\jdev\mywork\NJTransit\NJTransit\deploy\njtransit.war
    Wrote EAR file to C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear
    Invoking DCM servlet client...
    C:\jdev\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev\jdev\lib\oc4j_remote_deploy.jar http://207.200.160.20:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit UNDEFINEDCommand = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 13 seconds
    ---- Deployment finished. ---- Mar 13, 2012 2:19:45 PM
    The only odd thing I can see is that UNDEFINED statment in the log.
    I followed the recipe for Deployment from the tutorial so I don't understand why the JSPs are missing.

    I have two version's of JDeveloper running on my machine when you pointed out to me that I was using 10.1.3.0 I downloaded 10.1.3.5 and used it instead. However we still have a problem. One our test and production machine we are running Oracle AS 10.1.2 with Java SDK 1.4. Now the documantation says that this supports JSP runtime 2.0 and Servlet Runtime 2.4. My problem is I still have to get this working for Oracle AS 10.1.2 with Java SDK 1.4. Here's what happens when I deployed to that environment.
    500 Internal Server Error
    java.lang.NullPointerException
    at njtranenrll.jspService(_njtranenrll.java:45)
    [SRC:/njtranenrll.jsp:15]
    at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    12/03/19 23:10:27 Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) initialized
    12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit STARTS [ 2012-03-20T09:17:21.865EDT ]
    12/03/20 09:17:21 Notification ==> Do not undeploy previous deployment
    12/03/20 09:17:21 Notification ==> Copy the archive to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
    12/03/20 09:17:21 Copy file C:\WINDOWS\TEMP\dir51939.tmp\NJTransit.ear to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
    12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear begins...
    12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear... done.
    12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear ends...
    12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear begins...
    12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit\njtransit.war... done.
    12/03/20 09:17:21 Copying default deployment descriptor from archive at D:\oracle\FRHome_1\j2ee\home\applications\NJTransit/META-INF/orion-application.xml
    to deployment directory D:\oracle\FRHome_1\j2ee\home\application-deployments\NJTransit...
    12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear ends...
    12/03/20 09:17:21 Notification ==> Initialize njtransit begins...
    12/03/20 09:17:21 Notification ==> Initialize njtransit ends...
    12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit COMPLETES [ 2012-03-20T09:17:21.990EDT ]
    12/03/20 09:25:31 Error: null
    12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/fn.tld
    12/03/20 09:25:31 Error: null
    12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*permittedTaglibs.tld*
    12/03/20 09:25:31 Error: null
    12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*scriptfree.tld*
    12/03/20 09:25:37 Error: null
    12/03/20 09:25:37 Error: null
    12/03/20 09:25:37 Error: null
    12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
    12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
    12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
    notice the error in parsing the jar file this jar file is standard.jar do I need this jar or can I leave it out?

  • Problem with Deploying a Report (JSP) on AS

    I have created my report using Report Builder on the PC(Oracle 10G). After jsp file was created, I tried to put it on the Oracle AS (on Unix) for everyone to see it. And I don't know where to put it exactly.
    I know the HTTP Server is running fine. But somehow my directory structure for the web server looks like this
    ORACLE_HOME/Apache/Apache/htdocs
    Meaning that if I put a regular HTML in htdocs above, I could see it in a browser.
    According to docs, my report should go under /reports/jsp and that should be under the web server home directory and it's not
    But there are no /reports subdirectory under htdocs. There is a /reports subdirectory under ORACLE_HOME...
    What else needs to be running?
    Is there something wrong. How do you fix that?
    Any good examples would be appreciated.
    How can I redfine my web server home directory?
    Thanks a bunch
    Mike

    Mike,
    You can start by running the test report that is installed with iAS. Just run the following URL first :
    http://machine.domain:PORT
    where PORT is your mid tier Apache's LISTEN port. Then follow the links :
    Demonstrations --> Business Intelligence and Forms --> Reports Services --> Test a JSP Web Report ...
    if you will run the test.jsp here, you would get the URL :
    http://server.domain:PORT/reports/examples/Tools/test.jsp?....
    this "reports/examples/Tools" is relative you your $ORACLE_HOME/j2ee/OC4J_BI_Forms/applications
    directory. If you will place your jsp under this directory, then you can call it with similar URLs. For more information about this topic please see the "Publishing Reports to the Web" document chapter "13 Running Report Requests", you can find this document in the following URLs :
    http://download.oracle.com/docs/pdf/B13673_01.pdf
    http://download.oracle.com/docs/html/B13673_01/toc.htm

  • How do I save a Report to file using Report Generation vi's?(not HTML)

    Hi,
    Sorry about re-stating the problem.   I am using the Report Generation vi's to create a report. There is an option to save HTML reports to file, however I must use Standard Report because I need to print in Landscape mode. HTML reports will not print in Landscape. One of the requirements is to save the report to file on the hard disk. I have tried to use the standard Open File and Write File vi's. A file is created, but the report is not saved into the file. How do I connect a report so that it will be saved in the file? I already tried simply wiring the report refnum into the data input of the Write File vi.
    I have attached an example of my code.
    I am using V7.1 Full Version.  I have V8 available if that is any help.
    Any ideas?
    Thanks,
    Chris
    Attachments:
    ReportExample.vi ‏52 KB

    I did find this KB: How to Save Standard Reports?
    Attached is an example of how to do this.  You will have to relink the subVI's or else you will have a broken arrow. One is in LV7 and the other is in LV8
    Message Edited by Sam R on 12-15-2005 02:25 PM
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    Standard_to_HTML_LV70.zip ‏23 KB
    Standard_to_HTML_LV80.zip ‏29 KB

  • Passing parameters to included JSP files using JSF

    I have included JSP, which I use in many other JSP files. I want to display message in this included JSP which depends on the information in JSP files which include this JSP. How can I do this without using scriptlets?
    Message was edited by:
    cheltsov

    I have one included page in one jsp page(mother page). I have included it by jsp:include tag. The included page consists of two inputText. I need to pass the parameters of the mother page together with the parameters in the included page in the backingBean of the mother page. Hope this one is clearer.
    The code snippet in the mother page looks like this
    <jsp:include page="/pages/ps/sample_rep2.jsp"/>.
    In the sample_rep2.jsp, I have two inputText. How can I pass this in the backingBean of the motherpage.
    The sample_rep2.jsp is the included page here. The sample_rep2.jsp looks like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <af:inputText label="User ID" id="userid" value="CDOUGLAS"/>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <af:inputText label="User ID" id="userid" />
    <af:inputText label="Age" id="age"/>
    </af:panelBox>

  • How to dynamically include jsp files using jsf el in include tag ?

    Hi,
    I'm trying to get the jsp file name from my backing bean to use it in an include tag but I can't make it work
    When using this piece of code I can get the generated path
             <h:outputText value="/_partial/#{myBean.jspName}.jsp"/>whereas in this code the jsf el is not replaced by this value.
            <%@ include file="/_partial/#{myBean.jspName}.jsp" %> Have you any idea of how to solve this ? I'm currently developing for J2EE 1.4 platform.     
    Thanks for your help,
    Regards.

    If you're using JSF 1.2 and JSTL 1.2 at a JSP 2.1 environment, then you can just use <jsp:include> with unified EL.
    If you're using JSF 1.1, then you may find this article useful [http://balusc.blogspot.com/2007/01/dynamic-jsf-subviews.html]

  • Help in executing jsp files using weblogic server 6.0.

              I have an operating system Windows2000, i have downloaded 30 day trial version of weblogic server 6.0.
              I have a file called hello.jsp.
              Where do i have to save hello.jsp file in weblogic server 6.0.
              How do i execute hello.jsp through browser using weblogic server6.0.
              As there is no properties file in weblogic server6.0.
              TO run it i started default server and when i started default console it got opened in the browser as http://127.0.0.1:7001/console/index.jsp
              Where do i have to save it and how do i open it in the browser.
              Any help will be greatly appreciated.
              Thanks,
              

              I started the Start default Server and opened the http://localhost:7001/ in the bowser and by default
              this loaded the index.html file
              and when i tried to change index.html to hello.jsp i got the same error message as before
              Error 404--Not Found
              From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              10.4.5 404 Not Found
              The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
              If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
              "mils" <[email protected]> wrote:
              >
              >There are quite a few reasons it couldn't be working, and things you can try...
              >
              >Ensure there are no errors on startup of the server in the console, especially that there is not an error about another web listener running on the same port.
              >
              >Try just http://localhost:7001 by default this should load the index.html file that comes with the WebLogic installation.
              >
              >If you are running on a corporate LAN, your browser settings may not be set correctly to find "localhost", ensure that your browser is not using a proxy server for local addresses, or put localhost:7001 in the list of exceptions for which the browser should not look at the proxy server.
              >
              >Hope this helps!
              >
              >"Red" <[email protected]> wrote:
              >>
              >>I created hello.jsp file under E:\weblogic\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\hello.jsp
              >>and i started the Start Default Server and when i try to open
              >>http://localhost:7001/hello.jsp in the browser
              >>getting an error message as
              >>
              >>Error 404--Not Found
              >>From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              >>10.4.5 404 Not Found
              >>The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
              >>
              >>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
              >>
              >>Any help?
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>"Mils" <[email protected]> wrote:
              >>>
              >>>In WebLogic 6.0, to run simple JSP pages with the default installation, the JSP files should be put in....
              >>>
              >>>C:\bea\wlserver6.0\config\DefaultWebApp_myserver
              >>>
              >>>...assuming you installation was on the C: drive.
              >>>
              >>>To access a file bar.jsp in this directory, go to http://localhost:7001/bar.jsp
              >>>
              >>>"Red" <[email protected]> wrote:
              >>>>
              >>>>I have an operating system Windows2000, i have downloaded 30 day trial version of weblogic server 6.0.
              >>>>I have a file called hello.jsp.
              >>>>Where do i have to save hello.jsp file in weblogic server 6.0.
              >>>>How do i execute hello.jsp through browser using weblogic server6.0.
              >>>>As there is no properties file in weblogic server6.0.
              >>>>
              >>>>TO run it i started default server and when i started default console it got opened in the browser as http://127.0.0.1:7001/console/index.jsp
              >>>>
              >>>>Where do i have to save it and how do i open it in the browser.
              >>>>
              >>>>Any help will be greatly appreciated.
              >>>>Thanks,
              >>>>
              >>>>
              >>>>
              >>>>
              >>>
              >>
              >
              

  • How to run/build the JSP file using Eclipse

    Hello,
    I want to build a new project for running the jsp file in eclipse.
    Can you help me in doing that?
    with some structure format?
    where to create web.xml file
    how to configure that fiel with our eclipse java poject?
    like that...
    Thanks,
    Soorya

    On New Project creation, choose 'Dynamic Web Project'. Then the structure will be created for you.

  • Unable to open JSP files using Workshop JSP Editor 3.0

    Every time I try to open a JSP file in Workshop JSP Editor 3.0, I get the following error:
    Unable to create this part due to an internal error. Reason for the failure: Cannot open the specified document:
    null
    org.eclipse.ui.PartInitException: Cannot open the specified document:
    null
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.A(Unknown Source)
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.init(Unknown Source)
         at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
         at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
         at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
         at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
         at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
         at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
         at org.eclipse.wst.common.navigator.internal.actions.ResourceOpenListener.open(ResourceOpenListener.java:58)
         at org.eclipse.wst.common.navigator.internal.views.extensions.CommonOpenService.open(CommonOpenService.java:63)
         at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
         at org.eclipse.core.runtime.Platform.run(Platform.java:783)
         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
         at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
         at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
         at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
         at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
         at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
         at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
         at org.eclipse.core.launcher.Main.run(Main.java:973)
         at org.eclipse.core.launcher.Main.eclipse_main(Main.java:948)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    The jsp file is present in its directory, and the directory is not linked. Reinstalling BEA Workshop doesn't help. Any suggestions?

    Please post this question to the bea.workshop.developer.general newsgroup at http://newsgroups.bea.com/bea/forum.jspa?forumID=600000007
    Thanks
    Raj

Maybe you are looking for

  • Availability of Macbook Pro in applestores

    Hi all! I'm visiting the US from Greece, and I'm planning to get myself a Macbook pro. Does anybody know how can I check if the specific model of the pro I'm looking for is available at a specific Applestore? The one in Park City, Pennsylvania actual

  • How to delete backend system data from GRC,GRC 10 AC

    Hello experts, we have connected multiple ECC systems to GRC by creating connectors with respect to each system and currently we are using,now due to some reasons customer requested to delete complete data from one of the ECC system from GRC. we are

  • Is there a possibility to update my iPhone 4 to iPhone4s?

    Is there a possibility to update my iPhone 4 to iPhone 4s?

  • Can't adjust (lessen) the space above text in div sidebar...

    ... and it looks like even more space when I f-12 than it does in the dreamweaver workspace I have tried everything and nothing will lessen the space between the top of the text header and the top of the sidebar here is the link, and I am referring t

  • Tagging and Bookmarking PDF Files

    Firstly, sorry if this has been asked elsewhere. If it has, please point me in the direction of the previous topic. I have a few very large PDF documents which I intend to read frequently. Every time I open the documents, Adobe informs me that they a