JSP Preview Mode in JDeveloper 10g

Is there a way to see a JSP page in preview mode within JDeveloper? Eclipse provides a plugin but I don't see that in JDeveloper, I can see the JSP page in design mode but not in preview mode. Isn't there a way Jdeveloper can preview the jsp page using some inbuild web server or using Jboss etc.

You can just press run and you'll see the page in a browser window :-)

Similar Messages

  • JDeveloper 10g (10.1.3) 10.1.3 Developer Preview: can't start embedded oc4j

    With Oracle JDeveloper 10g (10.1.3) Developer Preview, I tried to make a simple jsp page as in this tutorial:
    http://www.oracle.com/technology/obe/obe9051jdev/visual_jsp/intro_to_visual_jsp.htm
    I only added some text then right-clicked file, selected Run. It didn't work:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config>
    /usr/java/j2sdk1.4.2/bin/java -client -classpath /my/home/data/opt/jdeveloper/j2ee/home/oc4j.jar:/my/home/data/opt/jdeveloper/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/server.xml
    [waiting for the server to complete its initialization...]
    05/04/08 09:02:24 Node started with id=127765687050882
    05/04/08 09:02:27 Auto-unpacking /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/applications/dms0.war... done.
    05/04/08 09:02:27 Auto-unpacking /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/applications/admin_web.war... done.
    Apr 8, 2005 9:02:29 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    05/04/08 09:02:37 Copying default deployment descriptor from archive at /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/connectors/datasources/datasources/META-INF/oc4j-ra.xml to deployment directory /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/application-deployments/default/datasources...
    05/04/08 09:02:37 Copying default deployment descriptor from archive at /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/connectors/OracleASjms/OracleASjms/META-INF/oc4j-ra.xml to deployment directory /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/application-deployments/default/OracleASjms...
    05/04/08 09:02:42 Copying default deployment descriptor from archive at /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/applications/admin_ejb.jar/META-INF/orion-ejb-jar.xml to deployment directory /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/application-deployments/default/admin_ejb.jar...
    05/04/08 09:02:42 Auto-deploying - applications/admin_ejb.jar (orion-ejb-jar.xml had been updated since the previous deployment)...
    05/04/08 09:02:45 Auto-deploying - compiling and loading...
    05/04/08 09:02:45 done.
    05/04/08 09:02:46 Error initializing server: Error initializing ejb-module; Exception java.io.IOException: /my/home/data/opt/jdeveloper/jdev/bin/ojc: cannot execute
    05/04/08 09:02:47 Fatal error: server exiting
    Process exited with exit code 1.
    For a simple stand-alone java application, it worked.
    I have sun jdk 1.4.2 on Fedora Core 3.
    Don't know if there are similar bug reports, I searched this forum for "10.1.3" but the search page stays like that for ~2 minutes, then stops without showing anything.

    Hello Frank,
    Thank you for your suggestion. I tried that and I got the same error. Looked more careful at it:
    Exception java.io.IOException: /my/home/data/opt/jdeveloper/jdev/bin/ojc: cannot execute
    I tried to execute it manually:
    $ l /my/home/data/opt/jdeveloper/jdev/bin/ojc
    -rw-rw-r-- 1 marius marius 1.9k Dec 2 19:20 /my/home/data/opt/jdeveloper/jdev/bin/ojc
    $ /my/home/data/opt/jdeveloper/jdev/bin/ojc
    bash: /my/home/data/opt/jdeveloper/jdev/bin/ojc: Permission denied
    Did
    $ chmod a+x /my/home/data/opt/jdeveloper/jdev/bin/ojc
    which solved the execution. Now Hello word works.
    I got jdeveloper as a .zip archive, which doesn't keep unix permissions. The Linux distribution should be in .tgz archive, it would have avoided this problem.
    Thanks!

  • [PM] Looking for JDeveloper 10g preview users

    The JDeveloper Product Management team is looking for people who are currently using the preview version of Oracle JDeveloper 10g to develop their soon to be production applications.
    We want to get your feedback on a some questions.
    If you are using JDeveloper 10g Preview to develop what would become a production application please email us at:
    Jdeveloperbeta_us@ oracle.com , with the subject: Currently Using JDeveloper 10g.
    Thanks,
    Shay.
    Oracle Corporation.

    I am using JD 10g!
    I am following the steps to the tutorial: Developing J2EE application using EJB, Struts, JSP and ADF Databinding.
    JD10g does not bring up the New Gallery as the step labeled: Reverse engineer tables as CMP beans instructs.
    How can I can if my install in correct?
    How can I solve this issue?
    Thanks
    Patrick

  • JDeveloper 10g does not export .ear, it complains about a JSP

    There is a project on J2EE.
    JDeveloper 10g rejects to export .ear, .war и .jar (EJB jar), it complains about a JSP page, it writes the follwing:
    Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Error(4,14): Attribute 'xmlns:xsi' used but not declared.
    Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
    Error(6,12): Attribute 'version' used but not declared.
    Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Error(8,15): Element 'description' used but not declared.
    That is it complains about descriptors, but I the descriptors must be OK.
    How can I get it working to export .war and .ear successfully?
    May be I should switch off some checks?

    There is a project on J2EE.
    JDeveloper 10g rejects to export .ear, .war и .jar (EJB jar), it complains about a JSP page, it writes the follwing:
    Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Error(4,14): Attribute 'xmlns:xsi' used but not declared.
    Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
    Error(6,12): Attribute 'version' used but not declared.
    Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Error(8,15): Element 'description' used but not declared.
    That is it complains about descriptors, but I the descriptors must be OK.
    How can I get it working to export .war and .ear successfully?
    May be I should switch off some checks?

  • Help on Debug Mode in Oracle JDeveloper 10g/OC4J

    Hi All,
         Presently I am using Oracle JDeveloper 10g Early Access version
              ADF Business Components     10.1.3.34.12
              Java™ Platform          1.5.0_05
              Oracle IDE               10.1.3.34.12
              PMD               JDeveloper Extension 1.7
              and OC4J.
    I want to debug all the Java files between request submission and getting response from the server in j2ee application. This we can do in eclipse ide by putting break points where ever we require and running the server in debugging mode. But I don't know how this can be done in JDeveloper/OC4J. Please can any one of you guide me, if you are aware of it. Thanks in advance.
    -immu

    If you mean remote debugging the application on a stand alone OC4J then here is a basic how-to:
    http://blogs.oracle.com/shay/2005/10/24#a55
    This is also covered in the online help.

  • JDeveloper 10G Preview Feedback

    Hi, I've switiched over to 10G Preview. As a constant user of JDeveloper I thought I'd supply some requested feedback on some encountered bugs in this Preview release :
    [1] 'New View' Navigator restart : When I create a 'new view' of a project to open up in a new navigator, this navigator is displayed by is empty when JDeveloper 10G is restarted. It only displays a single non-expandable node of the .jpr file.
    [2] Sources tree in Projects always default back to 'File List' view on restart. Its irritating that it does not seem to restore to each sources tree view as set when the IDE was exited.
    [3] CVS Server in Connection Navigator. Created CVS connection which failed to connect to pserver (which it should of as all as was specified in WinCVS client which works fine.) Can delete CVS connection, but cannot create a new CVS connection (menu option disabled)
    Will send more as I encounter. Like the IDE though and look forward to the Prod release.
    Richard Bergquist

    Some more :
    [1] IDE Locks up when Root HTML input path is altered in Project settings while these source files are being editied.
    [2] The ability to trim down JDev's footprint via external tools is a great concept. But, why in 10G Preview is there nothing visible in the list. A bug ?
    RjB

  • How to develop and Run .jsp page from Jdeveloper 10g

    Dear All,
    I need to develop one small JSP page using Jdeveloper10g. pls share information How to develop and Run .jsp page from Jdeveloper 10g.
    Thanks in Advance,
    Hanimi.

    Hi Gyan,
    Any Idea how to get DB connection for JSP Pages.
    Our Java guys developed one JSP page for Login page.
    After Log in instead of standard responsibilites page we calling custom jsp page, For getting DB connection they defined one properties file and hard coded DB details on that file and calling, but client is not accepting hard coding.
    Pls give any idea for getting DB connection directly in JSP pages.
    Hanimi.

  • JDeveloper 10g 10.1.3 J2EE Edition Developer Preview download

    I was unable to download JDeveloper 10g 10.1.3 J2EE Edition Developer Preview. After passing syrvey, i'm gotting : "Sorry, this page was not found. (ErrorDocument 404)"

    I just tried to do this and got to the download page. Can you try again?

  • JDeveloper 10g: Preserving Translated JSP when making?

    Hello,
    Can anyone tell me how to get JDeveloper 10g to preserve JSP page translations (in the \classes\.jsps\ folder) when there is an error in the compile of the generated servlet?
    I am new to JSP development and I am getting an error when making a JSP page that says that the request and session variables are not available when using something like:
    <%! String var=(String) session.getAttribute("someAttribute"); %>
    I have not dissabled sessions using a page directive.
    I am hoping that I will gain a lot more insight by looking at the generated servlet code.
    Thank you,
    Rich

    Hi, the compilation of the JSPs before building the WAR file is a there to help you finding problems/errors before deployment. You should take them serious and resolve them before the deployment.
    What kind of errors do you get?
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • JDeveloper 10g: Preserving JSP Translations

    Hello,
    Can anyone tell me how to get JDeveloper 10g to preserve JSP page translations (in the \classes\.jsps folder)?
    I'm new to JSP development and I am getting an error when making a JSP page that says that the request and session variables are not available when using something like:
    <%! String var=(String) session.getAttribute("someAttribute"); %>
    I figure that looking at the translated page will tell me a lot about my errors.
    Thanks,
    Rich

    I managed to develop some functionality similar to what you both describe for a system that I have previously developed.
    auto refresh a jsp page after x seconds
    add a meta data refresh tag to the top of the jsp page that will automatically recall the servlet after x number of seconds. e.g.
    <meta http-equiv="refresh" content="2;url=http://servlet.do">
    display a processing page whilst a query is being executed
    from the submit button of a page, display a processing graphic on a page until the query has finished and then display the results page.
    As with most things in Java this can be done many ways; I implemented this a couple of ways;
    a) display the processing page when the submit button is pressed and then when the servlet has finished executing get it to post the results to another page
    b) use a java bean that the servlet updates when the query has been completed so that the processing page knows to forward on to the results page
    I hope this is of some use to you.
    Thanks
    David

  • JSP ADF Tree Binding in JDeveloper 10g

    I am attempting to create a JSP hierarchical tree structure in JDeveloper 10g. I can successfully create the tree structure for two levels only. I need to be able to create a tree 5 or more levels deep. I have created an ADF Master Detail structure using the sample OE schema for three levels and to the best of my knowledge, I have set up the rules correctly using the Tree Binding Editor accessed by a creating a new binding under Create Binding > Input > Tree for the UIModel of the test web application I created. However, in the JSP page, I can only access the first two levels. The code I'm using is as follows:
    <c:forEach var="masterRow" items="${bindings.CustomerOrdersTree.rootNodeBinding.children}">
    <c:out value="${masterRow.CustomerId}"/> -
    <c:out value="${masterRow.CustFirstName}"/>
    <c:out value="${masterRow.CustLastName}"/><br>
    <c:forEach var="ordersChildRow" items="${masterRow.children}">
    <c:out value="${ordersChildRow.OrderId}"/><br>
    <c:forEach var="Row2" items="${ordersChildRow.children}">
    </c:forEach>
    </c:forEach>
    </c:forEach>
    The first two levels display fine, but the third level is not displaying. What syntax should I be using to traverse further levels of the tree binding? Is it even possible? Thanks.
    Note: I didn't connect any event handlers for collapsing or expanding data. I'm just trying to display everything right now.

    I have the nodeExpanded attribute on the second level, set up exactly as the first level. I have a toggleSelection method on the second level (View Object) as well. I've stepped through this method and the arguments are passed correctly and the transient attribute is updated correctly. I'm calling this method through a second DataAction like treeHandler, and this works as far as calling the correct method with the correct argument values.
    The breakdown occurs back on the JSP. Even though the transient attibute gets populated accurately according to the toggleSelection method, when accessing that attribute on the JSP, it returns a null value. I can access all the other attributes from the same View Object, except for the transient attribute. I'm not sure what else to try.
    I'm starting to doubt this is even the best solution for a tree structure. With the way Oracle's example is set up, you would have to nest so many if-then structures in order to keep track of all the nodeExpanded attributes and which data to display or not, and I anticipate view state issues and caching problems.

  • Creating secure web apps in JDeveloper 10g preview

    Hi all,
    I am trying to set up a secure web application and test it within JDeveloper 10g preview. So far, I am able to set up the correct entries in web.xml and ???-oc4j-app.xml (actually had to add the role mapping manually in the last file). I am able to automotically bring up a login form, enter my username/password and get to the protected resources. What I am not able to do is the following:
    1. Display an error page when the login fails (I get a generic HTTP 403 page instead of the page I specified in web.xml).
    2. Enable SSL. I can set the write checkboxes, etc., but instead of displaying the login form, the browser asks me to open/save the file home.do (the protected resource). I think there is some setup that is messing, but what is it?
    Any help is appreciated. Thanks.
    Ara

    Sorry, I guess I shoud have made it clearer: I am using HTTP-FORM authentication and I have specified a login and error page there. Neither page is protected (i.e., their URI pattern is not specified in the servlet deployment descriptor).
    I get the login page fine. I am also able to log in,provided I submit the right username/password. The problem comes when I submit an incorrect name/password. In that case, I get a generic HTTP 403 page instead of the error page I specified.
    Hope this provides more clues.
    Ara

  • JDeveloper 10g Preview status

    Hi,
    I wonder how stable JDeveloper 10g is?
    Can it be used for professional project development?
    When is the first verion expected to be released?
    Thanks for your answer.
    /Magnus W.

    Personally, I don't use JDev 10g yet. I'll wait till the final version is out. In fact, I've only just upgraded from 9.0.3.1 to 9.0.3.3.
    Judging from all the posts on this forum (and as can be expected with 'preview' versions) there are still quite a lot of issues to iron out. So, I really wouldn't use the new JDeveloper for anything else than fiddling around.
    Someone on the JDev team mentioned that the final version is scheduled for the end of January 2004, if I'm not mistaken.

  • HELP! JDeveloper 10g: WrappedDocLiteralStub badly formed class

    hello,
    Using JDeveloper 10g preview, I created a wrapper/skeleton for a webservice.
    I noticed a dependency on:
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    SO, i loacted this class in jdev.jar and extracted the 2 classes that I needed.
    I then tried to load these 2 classes into oracle using the loadjava utility.
    When trying to do this, I get an ORA-29545: badly formed class error.
    does anybody have ANY idea's whats going on?
    pelase help, thanks!
    here is a dump of what happened:
    F:\test>loadjava -user xxx/xxx@testdb -resolve -verbose WrappedDocLiteralStub$SerialisationInfo.class WrappedDocLiteralStub.class
    arguments: '-user' 'xxx/xxx@testdb' '-resolve' '-verbose' 'WrappedDocLiteralStub$SerialisationInfo.class' 'WrappedDocLiteralStub.class'
    creating : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    loading : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    creating : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    loading : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    resolving: class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    errors : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    ORA-29534: referenced object XXX.oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub could not be resolved
    ORA-29545: badly formed class:
    errors : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    ORA-29545: badly formed class:
    The following operations failed
    class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo: resolution
    class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub: resolution
    exiting : Failures occurred during processing

    Hi,
    As a first step to solving this, can I ask:
    1. What version of the database are you using
    2. Have you loaded the Client SOAP stack (see http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.html )
    rgds
    Susan
    JDeveloper PM

  • Error after deploying a JSP Application developed with jdeveloper

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through the oracle http server included in
    Oracle Enterpride Edition 8.1.7
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Of course I know ,this file should be deployed as well. I have done this.
    Any ideas what's wrong ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    Yep, I had the same problem deploying from JDeveloper 9.3.1, followed:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
    and it works! thanks for the clue! (now I only have to find out what ADF is now!)
    Carlos.

Maybe you are looking for

  • How to add one edge in same page two times?

    Please help me for this i want to add same edge two time in page, one edge while onload and another also should load but it will show in popup. thanks in advance.

  • Question on having occurence in operation mapping

    Hi Experts, While configuring operation mapping, for both source and target operations, we can choose occurrence for them. i have a question that in which scenario we should choice other occurrence (not default 1) for operations. in message mapping s

  • Unable to port the application in a 80 series phone

    I have created a application using MIDP2.0 and built it using WTK2.2 and packaged it to create .jad and .jar files. Then I ported these two files to Nokia 9210i through Infrared. But it didn't work there. Please give me some solution to solve this pr

  • HT201210 how can I use this Ipod if I forgot My password?

    My son has an Ipod touch that he has forgotten the password on.  Can I restore or do something to it so that he can start using it again?

  • Acrobat Pro Deleting Borders and Lines

    I've been comining powerpoint slides which I converted into pdfs into one pdf document using acrobat pro on mac. However everytime I add my header and footer in acrobat prop it removes all the lines and borders within my document. How can I stop it f