Use UIX and JSP together

I have some existing jsp application . I want to integrate it with UIX application that is generated from JHeadStart . jsp application is just 10% of whole project.
I am not sure this is a good way or not . May be We should use JHeadstart to generate JSP more than UIX . but I think it 's more powerful if I use JHeadstart to generate UIX application .
What do you recommend for this ?
and if we have to use both together . How dose JSP application pass parameter to UIX application ? and How dose UIX pass parameter to JSP ?. and How UIX use the parameter that 's sent form JSP ?
thanks in advance

If JSP is only 10% you might want tpo consider migrating these pages to UIX.
If this is not an option, you should be able to use both UIX and JSP pages. However, make sure you create separate struts-config.xml files for the JSP-based subsystem and the UIX-based subsystem. This requires two se[parate ViewController projects, that act as one web application. The same setup that has been aplied to Th JHeadstart demo application in Jhs 10.1.2.1. Check out this article from Duncan Mills as well:
http://www.oracle.com/technology/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html
One addition to this articel: the source path property of the ViewController projects shopuld be the same as well.
As far as communication between the pages is concerned: this is no different then between UIX pages. You can pass request parameters around, and since the pages are running in the same web app, they share the same HttpSession.
Steven Davelaar,
JHeadstart Team.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Can we use frames and jsps together..

    Is it good to use frames with jsps.performence wise..bcos when iam calling jsps in frames it taking more time..to laod..
    regards,

    Remember, 2 frames == 2 HTTP requests. 3 frames == 3 requests, etc.
    It will take longer of course. To think otherwise is crazy. However there are times when the benefits are there. I've used them, expecially if it's a situation where taking a little longer on the initial load makes all other accesses faster. This is particularly the case when I've got a fancy UI that uses lots of graphics. I don't need to load the graphics more than once so I put them in separate frames and only have one frame (which is mostly text) change content.

  • When to use servlets and jsp in an application like  shoping cart?

    Hi All
    I m going to design and implement a web application using servelts and jsp. I am still at its requirements analyze stage.
    The application is almost likely a shopping cart. So if any of you have the deep knowledge about this domain with servlets and jsp please help me for a good design. What I realy need to know is that
    1. what are the core requirements for a shoping cart ?
    2. use cases ?
    3. best way to follow mvc with servlets and jsp for it?
    you can answer to this at the abstract level. no need to go in detail.
    if you have any documents like design and use cases mail me to [email protected]
    your cooperation is highly appreciated in this regards.

    Look into this kid
    http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.htm

  • Hibernate problem..... using projection and conjunction together..

    hi all ,
    can we use projection and conjunction together??
    i want to execute a query like this..
    select column_1 , column_2 from table_name where column_1 like '%a' ;

    hi ian
    you could also try verifying if the jar libraries containing your Document and Paragraph classes are defined in your class path OR if you are using an IDE, did you include that under your LIbraries?
    The previous suggestion below also is a stop-gap to the library inclusion problem.
    Hope that helps

  • Use bottom and protect together

    Hi all,
    May I know the that possible to use BOTTOM and PROTECT together with few lines of text inbetween?
    Eg:
    BOTTOM
    PROTECT
    texttexttext
    texttexttext
    texttexttext
    ENDPROTECT
    ENDBOTTOM
    or
    PROTECT
    BOTTOM
    texttexttext
    texttexttext
    texttexttext
    ENDBOTTOM
    ENDPROTECT
    Above code dont work for me. Please advice thank!!!

    Hi Kek,
    Refer this link,
    [Bottom..Endbottom|http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db4a9494511d182b70000e829fbfe/content.htm]
    Regards,
    Sravanthi

  • Using Concat and Distinct together

    hi
    I am using the query below and I am getting 'missing expression' error. How do use Distinct and concat together?
    SELECT 'SELECT ' || DISTINCT COLUMN || ' FROM DUAL UNION ALL '
    FROM TABLE;

    Hi,
    SeshuGiri wrote:
    hi
    I am using the query below and I am getting 'missing expression' error. How do use Distinct and concat together?
    SELECT 'SELECT ' || DISTINCT COLUMN || ' FROM DUAL UNION ALL '
    FROM TABLE;Whenever you have a problem, please post CREATE TABLE and INSERT statments for a little sample data, and the results you want from that data.
    The example you posted has so many mistakes, it's hard to know what you're trying to do.
    COLUMN, DISTINCT and TABLE are all Oracle keywords, and shouldn't be used for actual columnor table names, and using them for aliases is just asking for trouble.
    When using SELECT DISTINCT, the keyword DISTINCT must come immediately after SELECT.
    If you want to assign an alias to a column, it must be at the very end of the expression that defines the column. You can't assign an alias to part of an expression. If you want to do that, use a sub-query.
    Here's a query that uses both SELECT DISTINCT and ||:
    SELECT DISTINCT
            job || deptno    AS jd
    FROM    scott.emp;Edited by: Frank Kulash on May 13, 2011 2:52 PM

  • Using Airport And Ethernet Together

    Having read Christopher Breen's solution to using Airport and Ethernet together,
    http://www.macworld.com/weblogs/mac911/2006/10/airportswitch/index.php
    I am still wondering if this can apply to my situation. I have an Airport Exteme BS distributing the wireless signal on it's own node. Nothing is physically connected to the BS except an ethernet cable running to a hub which is connected to the cable modem. While my ISP service isn't supplying service faster than Airport will manage, no problem...but, I would like to have the advantage ethernet networking between my machines for all the advantages that ethernet speed can bring to that situation.
    My connection to the internet is from WAN from the cable modem. I have an ethernet connection from the BS that I can run a cable back to say, an iBook. Will this work? I want wireless internet, but ethernet for machine to machine networking.
    JAL
    iBook G3/500 G4/Dual 450 Mac OS X (10.4)
    iBook G3/500 G4/Dual 450 Mac OS X (10.4)

    Helpful response, but I am uncertain this is what I am after. First, the hub is at the other end of the house, inconvenient to run a cable to it in this way. Presently, "Distribute IP Addresses" is turned off. This is way it had to be set since the AEBS is on a separate node. I just wonder why I can't run a cable from the AEBS LAN port back to the iBook. Looking for best possible speed when networking from my studio G4 while keeping the wireless internet setting.
    Any reason making the config the way I am imagining will not work?

  • I want to use ps and illustrator together, but I just bought the photoshop membership, could I upgrade my membership?

    I want to use ps and illustrator together, but I just bought the photoshop membership, could I upgrade my membership?

    You may upgrade to the entire plan, or just add an individual program subscription
    Upgrade single to all Cloud http://forums.adobe.com/thread/1235382
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
    -http://www.adobe.com/products/catalog/mobile._sl_id-contentfilter_sl_catalog_sl_mobiledevi ces.html

  • Download local file using Servlet and JSP

    Hello,
    I will like to use a browser to download file on local system using serlvet and Jsp technology. Does anyone have any idea how to do it?
    Any comment will be appreciate.
    Thanks

    Well you can just put the file in a folder that is accessible to the web server. Then have a link point to that file. That will cause the web browser to download the file.
    hattan

  • URGENT.........File Upload using Servlets and jsp

    I am a new servlet programmer.......
    iam using tomcat server......
    can any one pls help in writing code for file upload using servlets and jsp without using multipart class or any other class like that....
    Please URGENT..

    Slow down! "Urgent" is from your perspective alone. I, myself, am not troubled or worried in the least.
    hi ugniss
    thanks for ur reply....sorry i was not
    y i was not asked not to use multipart class or any
    other class like that...is there any other
    possibility to do file uploading from jsp to
    servlet...
    Just as an aside, a JSP is a Servlet. But even if I move beyond that, the question does not make sense. If you want a "JSP to upload to a Servlet", then simply do so in memory. You are still (likely) within the same scope of a given request. However, if instead you are referring to a JSP that is displayed on a browser, then really you are talking about HTML, which is what the browser will receive. And since you are now talking about a browser, your only real, viable option is a multi-part file upload. So, it is either server or it is browser. And either way, the question leads to very established options, as outlined above.
    the main concept is.. in the browser the user selects
    a particular file and clicks the button upload..after
    clicking upload the jsp should sent the file to the
    servlet in streams...there the servlet gets in and
    saves in a server location........this is wat i hav
    to do...
    Okay. So, after reading my previous (redundant) paragraph, we have arrived at the crux of the issue. You have a JSP that will be output as HTML to a client (browser) which you want to upload content to your server (handled by a Servlet). So, you are now stuck again with multi-part. The requirement to not use multi-part is non-sensical. You can overcome it, say, if you write your own applet or standalone Swing client. However, if your users are invoking this functionality from a browser, you are limited by the options that W3C has provided you. Use multi-part.
    is there aby possibilty to do this.....can any one
    pls help....Take the advice to download and review Jakarta Commons FileUpload. Inform your management that their requirement makes no technical sense. Research on your own. There are dozens of examples (and tutorials) on file upload using multi-part. Embrace it. Live it. Love it.
    - Saish

  • File Upload using struts and jsp

    Hi,
    Anybody have sample coding for uploading files into the database using struts and jsp.
    Thanking you in advance for providing the sample coding.
    Veena

    Hi Veena,
    In Strutsconfig.xml you have to configure data sources like this
    **************strutsconfig.xml******
    <data-sources>
    <data-source
    type="org.apache.common.dbcp.BasicDataSource">
    <set-property property="driverClassName"
    vlaue="oracle.jdbc.driver.OracleDriver"/>
    <set-property property="url" vlaue="jdbcracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID =ORCL)))"/>
    <!-- <set-property property="url"
    vlaue="jdbcracle:thin:@127.0.0.1:1521:ORCL"/>-->
    <set-property property="username"
    vlaue="scott"/>
    <set-property property="password"
    vlaue="tiger"/>
    </data-source>
    </data-sources>
    Now here is how to get data source
    public class LookupAction extends Action
    public Double getQuote(String symbol,
    HttpServletRequest request)
    throws Exception
    Double price=null;
    Connection conn=null;
    Statement stmt=null;
    ResultSet rs=null;
    DataSource dataSource=null;
    try
    dataSource = getDataSource(request);
    conn= dataSource.getConnection();
    stmt= conn.createStatement();
    rs= stmt.executeQuery("select * from stocks where" + "symbol='" + symbol +"'");
    if (rs.next())
    =======================
    After you can use the coding what I posted earlier.
    For that you need to create a table with attachment as a CLOB col.
    then with prepared statement I am setting value .
    Plz try your self every thing ok you can get that.
    all the best
    bye
    sudheen

  • Using generics and J2SE together with JSF

    Hi
    Has anybody experience with using JSF together with J2SE 1.5? Especially generics? I would like to use generics and other improvements from J2SE in the model objects.
    Thnaks in advance ... Rick

    JSF 1.1 is specified for J2SE 5, and the new specification (JSF 1.2 and JSP 2.1) does not include generics.
    If you are talking in terms of ValueBindings or MethodBindings, there really isn't any point since the implementation could only make the cast for you; and it would still not be able to garuantee type safety (the only reason to use generics).
    That's not to say you couldn't use generics in your own development, but I don't think you will see generics incorporated into the specification any time soon.
    Jacob Hookom (JSR-252 EG)

  • Using javadoc and jsp

              I'm supposed to javadoc my application. Can this be done? Any advice or
              tips? References to documentation?
              Thanks
              

    I tried it out and it doesn't work. The jsp compiler inserts its own
              description before the class declaration. The rest of the information
              generated by javadoc is pretty much useless. Clearly javadoc and jsps were
              never meant to go together. Too bad.
              * This code was automatically generated at 11:01:15 AM on Dec 7, 2000
              * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
              * Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
              "Jacob Meushaw" <[email protected]> wrote in message
              news:3a2fa46c$[email protected]..
              > That is a great question that I have been thinking about myself. Would it
              be
              > possible to use the "keepgenerated" parameter with the JSPServlet to
              > generate the straight java code from the JSPs and then run javadoc on
              those?
              > Or does the JSPServlet strip out all the comments?
              >
              > Just an idea,
              > -jacob
              >
              > "Peter Bismuti" <[email protected]> wrote in message
              > news:3a2f02c7$[email protected]..
              > >
              > >
              > > I'm supposed to javadoc my application. Can this be done? Any advice
              or
              > > tips? References to documentation?
              > >
              > > Thanks
              > >
              > >
              >
              >
              

  • How to create an InputSelect using ADF and JSP

    I looking for some docs/instructions on creating "an InputSelect using ADF with JSP".
    Thanks,
    BG...

    Ok here are the Steps
    1) Open the JSP editor for the page in Question.
    2) In the Data Control palette select the item that you want to become the poplist and change the "Drop As" poplist to "Single Select List"
    3) Drag the field into the page. You'll get an empty poplist which implements the <html:select> and <html:optionsCollection> tags.
    4) With the JSP editor still open click on the "UI Model" sub-tab in the Structure pane
    5) Select the field you've just dragged in - then right click to get the context menu and choose "edit"
    6) Change the List Binding Mode poplist to "LOV Mode"
    You're then taken into a couple of screens where you can select the Source VO for the poplist, and the destination dataset, along with the thing you want for the Label and the Value.

  • Using Struts and JSTL together

    I have
    <html:form action="xy.do">
    <c:set var="name" value="shalik"/>
    <html:text property="name" value="<c:out value="${name}"/>"/>
    </html:form>
    How could I put data stored in ${name} to show in the text
    Also, is there a shorter way to access java variables using jstl core
    I would not want to do
    <input type="text" name="name" value="<c:out value="${name}"/>"/>
    which works, because I have to use struts

    No you can't include tags as attributes to other tags.
    Yes, you can definitely use the Struts and JSTL together.
    If you want to use EL expressions with the struts tags, it depends on your server.
    If you have a JSP2.0 container (eg Tomcat 5) its no problem at all. You can use the EL expressions directly with the standard struts tags.
    For a JSP1.2 container, there are specifically written struts-el tags. They let you use EL expressions instead of <%= %> expressions
    <c:set var="name" value="shalik"/>
    <html:text property="name" value="${name}"/>The struts-el tags only have a subset of the struts tags. It is intended for use with the JSTL. For instance the c:if tag easily replaces a lot of the logic conditional ones (equal, lessThan, etc etc)
    The tags are available as part of the standard struts download in the contrib directory.
    However for what you seem to be wanting to do, wouldn't it be more struts-like to have an action that specifically populates the action form, and just have
    <html:text property="name"/>
    The value would then be automagically populated from the form bean.
    Hope this helps,
    evnafets

Maybe you are looking for

  • Exporting HD footage from Final Cur Pro 7

    Hi everyone. Sorry to ask such a basic question but im just getting back into this and theres been some changes since I last used FCP. I am working on a music video clip. The footage was shot in 1080p and the files were m2ts. I used clipwrap to conve

  • Copy playlist to iPod nano in the NEW version of iTunes

    I have watched the video and still cannot understand how to drag and drop a playlist into my connected iPod icon in the top right part of the window. If I try I get a RED circle which means NO GO. What am I missing?

  • Outlook / Oracle Global Address List

    Just a couple of quick questions regarding manipulating the Global Address List. Firstly, is it possible to hide an entry that exists in the Oracle Directory Service from the GAL (for example, removing the orcladmin user from the address book).? Also

  • Query for RFQ and ME59N

    Hi Gurus, I have two basic queries. 1. Can info record get updated automatically when I save RFQ via ME47? IF yes, where is the info update button at item level? 2. If I have 4 line items (example) in PR and all are for different vendors and Plant...

  • Reg:sequence

    Hi All, I am using Oracle 10.2. I had a query as: SELECT schma1.ASN_IR_ID_SQ.NEXTVAL *               INTO seq_11 FROM DUAL;* when i run this query i am getting error as : ora-     02289: sequence does not exist Thanks