Askus (asktom) application for html db studio

Hello,
according to Tom Kyte you (the oracle html db team) wrote the basic "AskUs" Application which is used by asktom.oracle.com.
Have you ever thought of providing the ask tom application/functionality as a sample application on html db studio?
I would appreciate this as i'm searching for an easy to manage framework for publishing answers to questions, providing technical news information and rss-integration. This would be a good point to start.
BR,
Martin

Scott,
Thanks a lot for adding this demo app to your already tight schedule.
This app would help us a lot. I'm planning to develop similar kind of application for our organization.
Regards
Richard.

Similar Messages

  • Mac - navigateToURL opens default application for .html files instead of browser

    On Mac I have Adobe AIR version <string>3.1.0.4880</string> and I have selected TextMate for .html file as default application. With this configuration when I call navigateToURL in my app to open browser, it opens TextMate instead of default browser.
    Following is the simple code to open URL:
    var urlRequest:URLRequest = new URLRequest(url);
    navigateToURL(urlRequest, "_blank");
    Is this known issue? Any workaround for this?
    Thanks,

    Since you've remapped what your default response to .html files are, you can't use navigateToURL() or openWithDefaultApplication().
    So it looks like you'll need to use the NativeProcess class:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativePro cess.html

  • Crash on search function for HTML Help file (.chm) when connected to a Visual C++ application

    Crash on search function for HTML Help file (.chm) when
    connected to a Visual C++ application
    I use the RH_ShowHelp API command to connect a HTML Help file
    (.chm file generated by RoboHelp Word X 5) to my Visual C++
    application. My application is able to call up this HTML help file
    in context-sensitive mode and everything is working great in the
    Contents and Index panels EXCEPT when I click on List Topics (after
    I enter a KEYWORD for search) in the Search panel.
    I got an error that said “Unhandled exception in
    xxxx.exe.(HHCTRL.OCX):0xC00000FD: Stack overflow”
    I am able to execute this .chm file by itself and the search
    function works well in this case. I am using HHActiveX.dll that is
    created on 2/23/04. Is this the correct version?? Any advice what
    to do here??

    Hi agschin and welcome to the RH forums. The hhactivex.dll
    file is not used by the search function so you can rule that our.
    Have you tried recompiling and seeing if the problem still happens?
    You can also start the Bug Hunter feature in RH - View > Output
    View and then select the Bug Hunter button - and see if that throws
    up any clues.

  • Announcing Oracle HTML DB Studio

    The Oracle HTML DB Team is pleased to announce Oracle HTML DB Studio. HTML DB Studio is a place where you can download pre-built HTML DB applications and templates. You can also share your own HTML DB creations with other members of the OTN community in the Studio.
    Please visit HTML DB Studio at: http://htmldb.oracle.com/pls/otn/f?p=htmldb_studio
    Thanks,
    - Scott -

    Hi,
    I tried installing this application through import but got the following error, any idea what I'm doing wrong, the scripts for the table creation and data worked fine??
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02291: integrity constraint (FLOWS_010404.WWV_FLOWS_FK) violated - parent key not found
    1848::begin
    wwv_flow_api.create_flow(
    p_id =>137,
    p_display_id=>137,
    p_owner => 'HTMLDB_CRM',
    p_name => 'Customer Tracker',
    p_alias => '137',
    p_page_view_logging => 'YES',
    p_default_page_template=> 251676733304177416 + wwv_flow_api.g_id_offset,
    p_printer_friendly_template=> 251675133115177416 + wwv_flow_a

  • Themes on HTML DB Studio

    This is really a question for the guys who look after the HTML DB Studio.
    When are we likely to see any themes made available for download. I appreciate that it takes a long time to develop and test a theme and am very curios to see the work of people more graphically creative than myself.
    Regards
    Duncan

    Hi,
    I tried installing this application through import but got the following error, any idea what I'm doing wrong, the scripts for the table creation and data worked fine??
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02291: integrity constraint (FLOWS_010404.WWV_FLOWS_FK) violated - parent key not found
    1848::begin
    wwv_flow_api.create_flow(
    p_id =>137,
    p_display_id=>137,
    p_owner => 'HTMLDB_CRM',
    p_name => 'Customer Tracker',
    p_alias => '137',
    p_page_view_logging => 'YES',
    p_default_page_template=> 251676733304177416 + wwv_flow_api.g_id_offset,
    p_printer_friendly_template=> 251675133115177416 + wwv_flow_a

  • What is the difference between HTML DB and HTML DB Studio?

    What is the difference between HTML DB and HTML DB Studio?

    Doug,
    Oracle HTML DB is a feature of the Oracle 10g Database which allows you to quickly & securely create web applications based on your data in Oracle.
    Please see our homepage on OTN for more details: http://otn.oracle.com/htmldb
    Oracle HTML DB Studio is a site where you can download HTML DB applications, utilities & tip and tricks for use with HTML DB.
    Thanks,
    - Scott -

  • Oracle HTML DB Studio Updated

    All,
    We've updated the HTML DB Studio with a new look, and also added a couple 1.6-specific applications.
    http://htmldb.oracle.com/studio
    You'll notice that all content is flagged by version - either 1.5.x or 1.6. Keep in mind that 1.5.x applications should import into 1.6 environments, but not the other way around.
    We've also added a Search feature, which searches all content (applications, themes, utilities and tips & tricks) in the Studio.
    Look for a few more 1.6 applications over the next couple of days from the HTML DB team.
    Please feel free to post any feedback or comments here.
    Thanks,
    - Scott -

    Scott,
    Looks great!! I look forward to the upcoming sample applications from the HTML DB team.
    It would be nice if the use of XML and Java is used in one of the upcoming samples.
    Thanks.

  • Application for the post of an ORACLE DBA

    =================================================================
    ============
    ARUNKUMAR RAGHAVAN MSc,BEd,PGDMCH,(MBA)
    =================================================================
    ============
    CURRICULUM VITAE
    Covering letter
         From
    Arunkumar.R, email : [email protected],
    [email protected]
    No 16 /9 Nagendra nagar,
    Velachery main road, checkpost,
    Near jaya hospital,
    Chennai -600 042.
    Respected Sir / Madam,
    SUB : Application for the post of      
    ORACLE DBA / DBO - Reg
    I wish to submit the following few lines for your kind
    consideration.
    I feel more comfortable and satisfactory with this type of job
    as
    I am keen to serve as an employee of your esteemed organization,
    which has an intellectually stimulating and emotionally
    satisfying environment.
    I assure that, I will do my duty to the fullest satisfaction of
    my
    higher officials, colleagues and to the best of my knowledge and
    belief.
    I am attaching my CV, first 2 pages of my first book &#8211;&#8220;ORACLE
    ARCHITECTURE MADE EASY&#8221;, and a newsletter about Penta Media
    Graphics Ltd, my present employer.
    Expecting the favour of your earliest reply.
    Thanking you with respectful regard,
    Yours truly,
    (ARUNKUMAR.R)
    =================================================================
    ============
    CAREER OBJECTIVE
    1.     To be a dependable ORACLE DBA and to deploy an
    efficient DATA WAREHOUSE and DATA MART.
    2.     To write unique books on ORACLE DBA and DATA WAREHOUSING
    for enthusiastic learning
    Experience summary
    q     Five years and six months of overall experience in
    Software Industry.
    q     Over 24 months of work experience in the administering,
    and maintaining the Oracle Database of sizes 3 GB
    q     Training and authoring books, CBT&#8217;s,WBT&#8217;s for Oracle DBA
    and
    Data Warehousing .
    Technical skills
    Hardware               IBM PC, MAC
    Operating Systems          WINDOWS NT, 95/98/2K, MS-DOS,
    LINUX, MAC-OS
    RDBMS                    ORACLE 8I, DBASE, FoxPro,
    MSACCESS
    Internet Tools          HTML, IIS, FrontPage
    Responsibilities at PENTAMEDIA GRAPHICS LTD,
    (formerly known as PENTFOUR SOFTWARE EXPORTS LTD, SEI-CMM LEVEL
    4 COMPANY )
    1. Maintaining an "Oracle Pre-Production Database" of size 3 GB.
    2. In charge of the CBT's on Data Warehousing & ORACLE
    DBA.
    3. Installing and upgrading the Oracle server (Oracle 7.3,
    Oracle 8.0,
         ORACLE 8i,) and application tools.
    3.     Allocating system storage and planning future storage
    requirements
    for the database system.
    5. Creating Tablespaces for the different group of
    projects namely
         SOFTWARE, ENGINEERING, MANAGEMENT, and SCHOOL PROJECTS.
    6. Creating tables, views and modifying the database
    structure, as
         necessary, required by Project Leaders and Programmers.
    7. Enrolling users and maintaining system security and
    controlling and
         monitoring user access to the database.
    8. Backing up and restoring the database.
    Specific Achievements
    1. CBT's and WBT's authored (Reference:
    www.pentalearn.com )
    * Data Warehousing for beginners
    * Data Warehousing - Intermediate
    * Stepping into ORACLE DBA
    * ORACLE DBA - Security
    * ORACLE DBA - Backup & Recovery
    * Step by Step - ORACLE DBA
    * OCP GUIDE - Architecture & Administration
    Under Production
    * OCP GUIDE - Backup & Recovery
         2. Book's authored (Under compilation)
    * ORACLE ARCHITECTURE MADE EASY.
    * Learn ORACLE DBA in 23 days.
    4.     Knowledge of documentation and procedures for SEI CMM -
    ISO &#8211;
         QUALITY AUDITS.
    4. Academic Project - (Reference: [email protected])
    o Title           ORACLE QUESTION BANK
    o Outline           Training software for OCP
                   (Oracle Certified Professional)
    o Period           DEC 1998 - JAN 1999
    o Software           VB 5.0, M.S.ACCESS
         5. Awards :
    State first & district first in Vivekananda Academy
    of cultural
    Studies
    =================================================================
    ============
    Employment History
         1. Company Name           :     Pentamedia
    Graphics ltd
    Title          :     instructional designer
    Level           :     Senior Executive
    Specialization :     IT/Computer Systems/Software
    Function      :     Professional /
    Consultant / Specialist
    Industry :     Computer / Information
    Technology (Software)
    Date Joined :     12 oct 1999
    Duties           :     Responsible for CBT&#8217;s,
    WBT&#8217;s on DATA
                        WAREHOUSING & ORACLE DBA.
                        project guide for TEAM
    members.
                        Developed 5 training
    software.
                        Maintaining "ORACLE-
    PRODUCTION DATABASE"
                             of size 3GB.
    Reason for leaving:     working currently
    2. Company Name      :     S.A.International ltd
    Title           :     training officer
    Level           :     Senior Executive
    Specialization :     IT/Computer Systems/Software
    Function      :     Lecturer / Teacher /
    Trainer
    Industry :     Computer / Information
    Technology (Software)
    Date Joined :     08 Aug 1997
    Date Left      :     09 Sep 1999
    Duties :     At S.A.INTERNATIONAL LTD,(A joint
    venture company of ELCOT, GOVT OF TAMILNADU UNDERTAKING)
    Responsible for all training programmes.
                             Project guide
    for all college students.
                        Senior Faculty
    for "ORACLE DBA" classes.
    Accomplishment :     Wrote student guides on office
    2000                               and on ORACLE DBA
                        Developed 3 training
    software.
    Reason for
                   leaving      :     To get more
    experience on ORACLE DATABASE
                        MAINTENANCE
    3. Company Name      :     G.K.M.college of
    engineering & technology
    Title           :     lecturer
    Level           :     Junior Executive
    Specialization      :     Education
    Function      :     Lecturer / Teacher /
    Trainer
    Industry      :     Education
    Date Joined :     06 May 1996
    Date Left      :     09 Aug 1997
    Duties           :     Incharge of computer
    science department,
                        Conducting classes and
    all academic                                    
         activities.
    Accomplishment :     Wrote 2 student guides on office
    1997                                    and on
    ORACLE DBA.
    Reason for
                   leaving      :     To get more
    experience on ORACLE DBA
                        Activities
    4. Company Name      :     Infra computers pvt ltd
    Title           :     Asst.technical manager
    Level           :     Junior Executive
    Specialization :     Training & Development
    Function      :     Executive
    Industry      :     Computer / Information
    Technology
    Date Joined :     30 Apr 1995
    Date Left      :     06 Jun 1996
    Duties           :     Monitor the day to day
    operations of the
    SOFTWARE/HARDWARE SERVICE DEPARTMENT. Monitor the DEPARTMENT
    STOCK and cash flow position, Meeting executives for Business
    development activities
    Accomplishment :     Joined the Company since August 1994
    as Asst TECHNICAL MANAGER. Promoted to TECHNICAL MANAGER in july
    1996.
    Reason for
                   leaving      :     To study M.B.A
    (master business
                        Administration)
    ORACLE DBA SKILLS SELF EVALUATION FORM
    Oracle: SQL and PL/SQL Skills:          
                                       rate
    from
                                  0 = None
    through 5 = Guru
    Creating and maintaining database objects               3
    Store, retrieve, and manipulating data               3
    Create PL/SQL blocks of application code               1
    Familiarity with PL/SQL packages                    1
    Familiarity with PL/SQL tables and records          0
    Calling PL/SQL functions from within SQL statements     0
    Building reusable code                         
         0
    Crafting code that automatically adapts to changes     
         in data structures                         
         0
    Writing SQL inside PL/SQL programs               
         0
    Reading and writing operating system files          3
    Executing host commands and C programs               0
    Issuing database alerts                         
         1
    Analyzing memory utilization in your session          2
    Debugging and tracing program execution               1
    Manipulating raw data and large objects               1
    Building your own packages                    
         1
    Oracle Enterprise Manager Skills:               
                                       rate
    from
                                  0 = None
    through 5 = Guru
    Install Oracle Enterprise Manager                    5
    Administer and monitor Oracle database environments     5
    Oracle Enterprise Manager architecture               3
    Setup a console for your own environment               3
    Implement job and event based system management          3
    Understand the integration of shared administrator
         responsibilities                         
              3
         Tuning Pack                              
         1
    (which comprise Oracle Expert, Tablespace Manager
              and SQL Analyze)
    Diagnostic Pack                              
         0
    (which comprise Oracle Trace and Data Viewer,
         Performance Manager,
    Capacity Planner,and Top Sessions)
    Change Management Pack                         
         0
    (which comprise Database Alter, Capture, Diff,
         Propagate, Quick Change, and Plan Manager)
    Database Administration/ Backup and Recovery Skills:     
                                       rate
    from
                                  0 = None
    through 5 = Guru
    Familiarity with Oracle7 database environments          5
    Familiarity with Oracle8 database environments          5
    Set up, maintain, and troubleshoot database          4
    Plan and implement database backup and recovery
         strategies                              
              4
    Understanding of backup, restore and recovery
         operations                              
              4
    Oracle8 Recovery Manager                         4
    Network Administration Skills:                    
                                       rate from
                                  0 = None
    through 5 = Guru
    Familiarity with Oracle7 Server                    5
    Familiarity with Oracle8 Server                    5
    Familiarity with architecture of Net8               4
    Establishing connections between peers               5
    Client and a server node using various
         naming methods                              
         4
    Configuring middle tier systems                    0
    Familiarity with Names Server                    
         1
    Familiarity with Connection Manager               
         3
    Memory, I/O, physical structure and
    resource contention                         2
    Familiarity with dynamic performance views          4
    Familiarity with initialization parameters          5
    Familiarity with diagnostics and tuning guidelines     3
    Data Modeling and Relational Database Design Skills:     
                                       Arun's
    rate from
                                  0 = None
    through 5 = Guru
    Knowledge with entity-relationship models               2
    Knowledge of normalization and relational           
         database design                              
         1
    Defining business information requirements          3
    Creating entity-relationship models               
         3
    Transforming requirements into an initial
         database designs                         
              3
    Personal Strengths :
              INVOLVEMENT alone gives PERFORMANCE. With my
    spiritual base &
         MOTIVATION, I am confident that I will reach the
    pinnacle
    in the field of ORACLE DBA. I hope my right thinking &
    Hardworking nature will make me successful.
    Current Communication Address
              Address :     16/9, nagendra nagar, velachery
    main road,
                   near jaya hospital, chennai-42
                   chennai, 600042 India
    Tel [home]      :     91-44-2552406
    Tel [office]:     91-44-4839854
    Tel [mobile]:
         Email     :     [email protected],
    [email protected]
    Permanent Address
         Address      :     s/o N.Raghavan, laksminayackan
    patty(po)
                   thevaram(via), theni(dt), pin
    625530
                   laxminayakan patty,
                   625530 India
    Tel      :     91-4454-54739
    Email     :     [email protected], [email protected]
    Personal Particulars
    Date of Birth           :     05 Aug 1971
    Gender                :     Male
    Nationality           :     India
    Marital Status           :     married
         Permanent Residence of     :      India
              Passport Number          :     T465022
              Valid Upto                    Jan 2005
    EDUCATIONAL QUALIFICATION
    COURSE      UNIVERSITY/BOARD           Yr.of PASSING
         CLASS & %
    S.S.L.C      TAMILNADU SECONDARY           MAR 1986
         FIRST 85.40
    H.S.C      TAMILNADU HIGER SECONDARY     APR 1988
         FIRST 68.90
    B.Sc           MADURAI KAMARAJ UNIVERSITY      APR 1991
         FIRST 68.63
    (PHYSICS)      VIVEKANANDA COLLEGE
    M.Sc           MADURAI KAMARAJ UNIVERSITY     APR 1994
         FIRST 70.40
    (PHYSICS)
    BEd           MADURAI KAMARAJ UNIVERSITY      NOV 1995
         SECOND 52.20
    TECHNICAL QUALIFICATION
    COURSE           UNIVERSITY/INSTITUTION           Yr.of
    PASSING %
    PGDMCH#           St.JOSEPH'S COLLEGE           JULY
    1995 59.70
                   BHARATHIDASAN UNIVERSITY
    DPCS*           @ DOE & TC.T.S- NCVT TRADE      SEP 1996
    79.47
                   (AICTE^ APPROVED)
    # POST GRADUATE DIPLOMA IN MICROPROCESSOR AND COMPUTER
    HARDWARE
    * DATA PREPARATION AND COMPUTER HARDWARE
    @ DIRECTORATE OF EMPLOYMENT & TRAINING CRAFTSMEN TRAINING
    SCHEME
    ^ ALL INDIA COUNCIL OF TECHNICAL EDUCATION
    PROFESSIONAL
    TRAINING UNDERGONE
    Completed 'ORACLE DBA' Course at RADIANT SOFTWARE PVT LTD,
    WEST MABALAM,
    CHENNAI -33.
    Language Proficiency :
    Languages -          Proficiency (1=worst - 10=best)
                        Spoken               
         Written
    English          5                    6
    Tamil               9               
         9
    Supplementary
    If and when employed by the company
    Willing to Travel               :          yes
    Willing to be Relocated          :          yes
    Possess Own Transport     :          T465022 Valid
    Upto                    Jan 2005
    Expected Monthly Salary          :     
         Negotiable
    Availability               :     
         Immediately
    =================================================================
    ============

    Sorry, but according to Apple, iTunes Store: All Sales Are Final
    You can avoid accidental purchases.
    From the iTunes menu bar click iTunes / Preferences then select the Parental tab.
    Select:  iTunes Store
    Click OK.

  • Error in registering a provider for External Application for Web Clipping

    Getting Error: The provider URL specified may be wrong or the provider is not running. (WWC-43176)
    when trying to register a provider for an external application for Web Clipping

    Hi Vineet,
    The admins applied a patch to my version of the OracleAS 10g Version 9.0.4. and now I able to register a provider with the same URL but different Provider Name. I added My Yahoo Web Clipping from the Portlet Staging Area. That works fine but when I click on the check mail link in the Web Clipping Studio it gives me the following error. I have tried several times and I get the same error....
    An exception has occured : WCS-514 -- Get status code 403 to URL http://us.rd.yahoo.com/my/prop/mail/*http://mail.yahoo.com/ by method get
    Please click "Cancel" or "Back" in the above panel (if present) to retry. Otherwise, please try to click "Back" (from the browser) to go back to the Oracle Portal page to restart.

  • How to enable a partner application for Single Sign-On?

    Can someone please advise me on how to enable my existing J2EE web application for the Oracle Single Sign-On?
    My requirement is i want to provide the single sign-on authentication service to my J2EE web application. For this, I would like to make my application as a partner application similar like the OracleAS Portal.
    I am using Oracle 10g ( OralceAS, Oracle Infra, OID ...)
    I found the following service/APIs which Oracle provides. I am not sure which one is suitable for me.
    1. mod_osso ( Static)
    --- In this case, I have to make a entry in mod_osso.config file to protect the URL. should I have to register the URL again through single sign on admin page ("Administer Partner Application") after make a entry in config file?
    2. mod_osso ( Dynamic directive)
    -- in this case, I have to modify the code by providing the directives like 401, 499.. etc. So i don't prefer this as i don't want to touch my app.
    --If I go with this option, should i have to register the URL with Single sign on server through SSO admin page ( as mentioned in the above step#1) ?
    3. SSO SDK
    - Since it was deprecated and need java coding, i am prefer this option.
    -- however, if i go with this option, i will develop code by using SDK. in this case i need to register the URL in SSO server through admin page.. am i right?
    Note:- OSSO server integrated with Active Directory for the authentication.
    Thanks,
    -Senthil

    sharon38_74 wrote:
    they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
    My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?Your application need to act like a proxy. You can invoke a HTTP request programmatically using java.net.URLConnection. You can set request headers using URLConnection#setRequestProperty(). Also see the API docs: [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html]. You only need to know the header field name where to set the Base64-encoded value in. You need to Base64-encode the value yourself.

  • The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

  • Oracle Fusion Order Demo Application For JDeveloper error

    HI,
    i try to run the (Oracle Fusion Order Demo Application For JDeveloper) Fusion Order Demo (FOD) is an end-to-end application sample :
    when i try to : Right click build.xml and choose Run Ant Target > buildAll . error coming
    Buildfile: C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\build.xml
    init:
    [javac] Compiling 1 source file to C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\classes
    setProperties:
    createDatabase:
    refreshSchema:
    BUILD FAILED
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
    C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:28: C:\Oracle\Middleware\jdeveloper\wlserver_10.3\server\lib not found.
    Total time: 6 seconds
    how i can run the build.xml

    Hi,
    not quite sure the question is clear. The add cart command is a link defined in the JSPX file
    <af:commandLink partialSubmit="true"
    actionListener="#{shoppingCartBean.addItemToCart}"
    id="cl3">
    that points to
    public void addItemToCart(ActionEvent evt) {
    Map attributes = evt.getComponent().getAttributes();
    invokeUpdateOp(new Integer(attributes.get( PRODUCT_ID_COL )+ ""));
    in StoreFrontModule\StorefrontUI\src\oracle\fodemo\storefront\cart\view\managed\ShoppingCartBean.java . This is where you follow up then.
    +"how i can make Repetition for the items in home.jspx"+
    I can only assume you mean how to create the catalog items. Here I suggest you look at the demo source as this is what the demo is for. If you are new to ADF, I recommend that you first run a tutorial from here
    If you are on 11g R1: http://www.oracle.com/technetwork/developer-tools/jdev/overview/index-100269.html
    If you are on 11g R2: http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm
    No demo can replace proper learning, to be honest
    Frank

  • Can you set a second "Open with:" application for a file?

    Hi all,
    I was wondering if something like this exists for OS X Lion or greater: you can set a default application to open a type of file, say Safari for all .html files, but can you set a second default application for a file?
    I usually open files using command + o or command + down arrow from the Finder and I've often thought how good it would be to hit an alternate keyboard shortcut to open the selected file in a secondary default application.
    For example, if I'm making a web page and have the .html selected in the finder I can hit command + o (or command + down arrow) to open it in Safari and if the file isn't open in my editor and is selected in the Finder I can hit, say command + option + o (or command + option + down arrow) to open the .html file in my editor.
    Does anyone know if this can be achieved in OS X Lion or greater?
    Any advice is greatly appreciated.
    Thanks.

    Hi all,
    If anyone's interested in a partial solution, I've rigged up the following.
    I ended up using an Automator action coupled with Spark to capture a keyboard key combination. Spark: http://www.shadowlab.org/Software/spark
    I've used Spark before with good results, and although it's from 2008 it still works on Lion.
    I created an Automator action that does two things:
    gets the selected Finder items
    opens finder items in the text editor I'm using.
    I then saved the workflow as an application so that Spark could run it.
    I've set up a keyboard shortcut that Spark picks up and calls my Automator workflow. It all seems to work nicely.
    So, I've created a specific "open selected file with <text editor>" keyboard shortcut that should do for the time being.

  • How to set default value for html:file in struts

    hi
                   i am working on an application using struts situation is i am using the
    <html:file property="" /> to allow the user to upload file. but i need that a default file should be set so that even if the user donot click browse ie                the user wish to upload that default file the default file get uploaded on page submition.     Is it possible to set any default value for html:file ...if yes plz provide any suggestion or links how to achieve this.     thanks in advance

    www.google.com?q=STRUTS+DOCUMENTATION

  • WebDynpro proxy page with Webdynpro iView and SAP Gui for html iView

    Hello,
    I have a requirement to have a page that has at the top of it a webdynpro for java iView screen with several links that when pressed pop-up various data pulled from the back-end. This part is fine and presents no problem. Beneath this the requirement calls for a SAP Gui for HTML iView to be displayed. Which is no problem either. The problem occurs when one of the links in the java webdynpro application at the top of the screen is pressed it causes the SAP Gui for HTML portion to refresh and come back to the beginning. So for example you first navigate to this screen and you go into the sap gui for html portion and drill into 2 or 3 screens in the sap gui for html transaction. If you then press one of the webdynpro links the sap gui for html (which is a separate iView) refreshes and you are taken back to the initial screen. This only occurs when using a web dynpro proxy page. If I use a standard page the SAP Gi for html does not refresh. Unfortunately there are other things not mentioned here that require us to use the webdynpro proxy page.
    Any help is greatly appreciated,
    Bert

    Use System admin -> System Config and find your system in the PCD (under portal content). Right click and open -> permissions. Find a user or group or role and give it the end user permission. I'd suggest the group Everyone.
    Cheers

Maybe you are looking for