How to load a default page in web based application ?

Hi
I am new to j2ee , I have an application in which , when i start the application , login.html should be open by default .
One way i found is that put the page name in <welcome-file> tag inside web.xml.
My question is that there any other way like calling the dafault servlet or something else by which we can load the default page ?
Any kind of help would be great.
thanks in advance.

Hi Rastogha,
that sounds (to me) like the right way to do this. I suppose another way would be to have index.html redirect using a meta tag, but that's a little messy IMHO.
sjl

Similar Messages

  • How to Load a html page into Flex the application?

    I want to load separate html page in to my flex application.
    for example
    think I am in my shopping cart and I wanna buy something and pay for that.Then I am try to pay they will load a separate html page into my shoipping cart.
    How can I do that inside flex application?
    Any ideas are appreciated..
    thnx

    Hi snkd,
    You need to make use of iframe to load html content in Flex application.
    Check out the link below...there is also source code included..
    http://www.deitte.com/archives/2006/08/finally_updated.htm
    Thanks,
    Bhasker

  • How to set a default page setup in P6?

    Hi,
    Anyone know how to set a default page setup in P6?
    Thanks,
    Manuel

    Hi Manuel,
    For printing, the settings are stored within the layout. If you have one layout containing the settings you use, you can then use this layout as your template and do a 'Save As' every time you make your changes.
    Hope that helps
    David

  • How to increase Firefox default page zoom setting?

    Changed my computer's default DNS server from Comcast to OpenDNS.
    A side effect, webpages appear in Firefox as if I had reduced them via the Ctrl minus keys. To get back to a comfortable appearance I now have to hit Ctrl plus keys.
    Anybody know how to set Firefox default page zoom to a larger setting? Thank You.

    Try in [http://kb.mozillazine.org/About:config about:config]
    and change [http://kb.mozillazine.org/Zoom.maxPercent zoom.maxPercent]
    type in the address bar '''about:config'''
    then press the button '''i'll be careful i promise'''
    then type in the bar '''zoom.maxPercent'''
    then '''right-click''' on it, select''' modify''', type a value greater than the current(i can't tell specific because i don't known how zoom you want), click '''OK,'''
    exit firefox and restart-it.
    see also: [http://kb.mozillazine.org/Zoom.minPercent Zoom.minPercent]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • How to integrate web based application to windows based application

    Hi,
    Experts,
    we developed web based application in this when we raising
    invoice document after adding this we need to updated Amount
    in integratee SAP B1 then that Amount we need Update The
    Amount  in OACT Table  how we can Update in Amount Field
    in OACT Particular Account Code. plz Guide  me. and how to
    integrate web absed application to windowbased application
    plz help me.
    Regds,
    Samapth.

    Dear sampathdevunuri kumar,
    You may develop the addon based on SDK DIServer for required function.
    The DI Server is an extension of the DI API and supports all its objects. It is intended for high-volume data integration, where numerous client connections must be managed simultaneously and optimized for speed. It is also suitable where Web-services architecture is preferred.
    Please refer to SDK help and SDK DIServer sample for more information.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • How to diable the default option of report-based total (when applicable)

    Hi,
    Anybody know how to diable the default option of report-based total (when applicable)?
    By default this aggregation rule option is checked.
    There should be some configuration tag in instanceconfig.xml or somewhere else, such as <ReportAggregateEnabled>true</ReportAggregateEnabled>?
    Regards,
    Tina

    you can change this from admin tool,
    open admin tool,
    business model and mapping
    find your column in the model
    double click your column, click on aggregation, >> default rule >> none.
    but if you do this, you cant make any sum operation.

  • What is Digital Signature, How to use it in web based applications?

    I am new to digital signatures. Any body can help me how to create a digital signature and how to use it in web based applications. Do we need certificates to use digital signatures?

    <link_farm_and_everything_else_removed_by_moderator>
    Edited by: Julius Bussche on Sep 3, 2008 8:59 AM

  • How to make my tab page shows all my applications?

    How to make my tab page shows all my applications?Please help me as fast as possible. Thx .
    Note: Please write as detail as possible because I am new to vb.Thx again.

    Hi,
     For a lack of info about what Applications you are talking about we can only guess at what you want to do. In my experience, this is the kind of question that ends up being a mile long with 15 different examples because nobody knows exactly what you
    are trying to do.
     With that said, maybe you can put a ListView in your TabPage and use the code i showed in the link below. If not then please explain exactly what you want to do.  8)
    How to make a screen that displays 'all apps'?
    If you say it can`t be done then i`ll try it

  • Is it possible to load an html page inside a JavaFX application?

    Hi
    Is it possible to load an html page inside a JavaFX application?
    Thank you!
    Alexandra.

    Actually it is very simple to load an HTML page inside a JavaFX application.
    var html:JTextPane = new JTextPane();
    html.setPage("http://www.berkshirehathaway.com/message.html");
    Stage
        scene: Scene
            content:
                ScrollView
                    node:SwingComponent.wrap(html)
    }A JavaFX application "tainted" by Swing is still a JavaFX application, isn't it?
    Loading an HTML page into a native JavaFX control would be a different story. It is hard.
    I don't think it is a top priority for JavaFX team to develop a control to render HTML. Using a Swing component, which supports HTML well, does not make a JavaFX application inferior. But, if JavaFX team could make a fully functional embedded browser control supporting HTML, JavaScript, etc., I would applaud that effort wholeheartedly.
    Right now, JTextPane inside a JavaFX application will crash the system, display gibberish, hang for ever or go haywire inexplicably, if JavaScript is used in the HTML page.

  • Authentication between Single Sign-On and Web based applications

    Hi everyone,
    I need to create a way in Portal 10g (10.1.2.0.2) that allow me to do the following:
    Once the user is logged on Portal (against Single Sign-On - SSO) he doesn't need to retype his username/password when he access a web based application throught the portal, in my case, an ASP application (not .NET, just ASP).
    I made a test creating a External Application in SSO and after publishing this portlet (external application) inside portal.
    It worked, BUT I was prompted to inform username/password to log on the aplication.
    So, the user end up entering his password twice.
    Does anybody know a way to acomplish this task?
    The documentation I'm researching is:
    Oracle Application Server Single Sign-On
    Administrator's Guide
    10g Release 2 (10.1.2)
    B14078-02
    Oracle Application Server Single Sign-On
    Security Guide
    10g Release 2 (10.1.2)
    B13999-03
    Thank you very much,
    Diogo Santos.

    have figured out how to secure any HTML, ASP, PHP, CFM, etc. web page again Portal / OID using the PDK toolkit.
    Using AJAX (Asynchronous JavaScript and XML) and one Oracle Stored Procedure just adding a simple Javascript call to any HTML, ASP, PHP, etc. web page can secure it via Oracle SSO (OID). Access to any secured web page will require that it to be linked from an authenticated Portal session or a page opened in an authenticated Portal session.
    This process can be easily modified to add in group security etc. This is just my starting point.
    1) Create a stored procedure
    # Make sure it has access to portal.wwctx_api.is_logged_on
    CREATE OR REPLACE PROCEDURE login_ajax_check (
    display_error IN number default NULL) AS
    BEGIN NULL;
    If portal.wwctx_api.is_logged_on = false then
    htp.prn('DENY');
    ELSE
    htp.prn('ALLOW');
    END IF;
    Exception when others then htp.p('DENY');
    END;
    2) Use this Javascript in any page you wish to secure.
    <-- Begin Paste Here -->
    <script>
    var allowgo=2
    function ajaxCallRemotePage(url)
    if (window.XMLHttpRequest)
    // Non-IE browsers
    req = new XMLHttpRequest();
    req.onreadystatechange = processStateChange;
    req.open("GET", url, false);
    req.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    req.send(null);
    else if (window.ActiveXObject)
    // IE
    req = new ActiveXObject("Msxml2.XMLHTTP");
    req.onreadystatechange = processStateChange;
    req.open("GET", url, false);
    req.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    req.send();
    else
    return; // Navigateur non compatible
    // process the return of the "ajaxCallRemotePage"
    function CheckPortal()
    ajaxCallRemotePage('[Your page calling the procedure from above]');
    function processStateChange()
    if (req.readyState == 4)
    if (req.status == 200)
    if (req.responseText.substring(0,4) == 'ALLO')
    allowgo = 0;
    else
    allowgo = 1;
    function doPage()
    if (allowgo==1)
    window.location='[Your login or error page]';
    CheckPortal();
    doPage();
    </script>
    <-- End Paste Here -->
    That's it!!! Super easy. It works great too.
    Larry Schenavar
    [email protected]

  • Web Based Application Single Sign on With Enterprise Portal

    Good day Developers,
    My question is really a two part question so forgive me in advance for asking in one post as I think they are relative to each other. My project is currently exlporing the creation of functionality that will allow the following:
    1. We want to allow a secure Web Based application possessing the abilitiy to auithenticate the user into Enterprise Portal and by passing the login screen to get to a landing page/iview in our Enterprise Portal instannce.
    2. We want the abilitity to perform a check of the user and create the user in the enterprise portal on the fly if they do not already exist.
    So far in my research I've come across tools and white papers mentioning the use rof oAuth and OpenID. Is that the right way to tackle these two items. Thanks for your help in advance.
    JD

    Hi
    1. You can do SSO between you application and portal using Verisign or third party authentication tool. I am not pretty sure how landing page and all will work as you mentioned.
    As portal is web based, you can deply your application in portal server. So that you will not need any other authentication tool.Also you can save effort , cost.
    2. By deploying application in portal also you do not have to concentrate on User management, which is itself a huge effort you have to put. Else you can go for third party tools like Identity management or ADS.
    -Yogesh

  • Registering the Web based application as a Partner Application

    Good day
    I went through the suggested documentation of registering a
    web based application as a partner application of the SSO Login Server.
    I installed the SSOSDK.JAR and went through the demo application (JSP Demo)
    which consists of the following programs :
    papp.jsp
    ssoinclude.jsp
    ssoEnablerJspBean
    SSOEnablerBean
    SSOSignon
    As per the technical documentation,I register this demo application as a
    partner application.
    1 - The source code of the papp.jsp checks for the existence of the user
    through method of ssoEnablerJspBean [getSSOUserInfo(request, response)] which
    calls method of SSOEnablerBean [getSSOUserInfo (request, response) and this
    method calls getUserInfo(p_request) of SSOEnablerBean (the same program) to
    check the existence of the application cookie.
    2 - If it doesn't exit , it redirect it to the SSO Login page for user
    authentication.Once the user is authenticated, a SSO login cookie is created on
    the client's browser and redirects back to the SSOSignOn.
    3 - The SSOSignOn program creates the application cookie and redirects back to
    the entry point of the demo application which is papp.jsp.
    My Questions are as follows :
    1 - Instead of creating a session object within my web based application to hold some
    information used between the different pages, can I define them in the
    application cookie? kindly advise? Is there any limitation for the length of
    the application cookie? If yes, what will be the risk?
    2 - The SSOSignOn program is calling a method in the SSOEnablerBean
    [setPartnerAppCookie(response, request). Within this method , it is retrieving
    the parameters values of the request object as :
    request.getParameterValues("urlc")[0];
    What is the role of this [urlc]? Is it hard coded? Can I change it?
    3 - In order to ensure that I am still dealing with the same user, shall I put
    the above security check procedure on each page of my weeb based application? Kindly advise?
    Thanks in advance for your prompt feedback
    regards

    Dear Paul
    I think there is a misunderstanding regarding the last correspondence.
    I am talking about the customized home page of the PORTAL and not the home page of my web based application (JSP) .So in this case, Am I able to use the customized home page which contains a login portlet instead of the default Login page of the SSO Login Server.Kindly advise!!!
    On the other hand, I am facing a problem during the surfing of the web based application.
    The web based application consists mainly of two packages :
    Package I : Bank.counter which contains a set of jsp pages.
    JSP_HOME_COUNTER (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER_DETAIL
    Package II : Bank.portfolio which contains a set of jsp pages.
    JSP_HOME_PORTFOLIO (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_PORTFOLIO
    JSP_MAIN_FRAME_PORTFOLIO
    Please note that the SSO classes are residing under the first package.
    As agreed on in the third question, I am including in each page of my web based application, a security check procedure as follows :
    <%@ include file="ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Please note that all the jsp page of the portfolio package are pointing to the SSO classes as follows :
    <%@ include file="../counter/ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Once I invoke the JSP_HOME_COUNTER , it will render the JSP_LEFT_FRAME_COUNTER page and
    JSP_MAIN_FRAME_COUNTER page which invokes the SSO Login page. Once the user has been authenticate, the result of the JSP_MAIN_FRAME_COUNTER is rendered successfully. The result contains an hyperlink to the
    JSP_MAIN_FRAME_COUNTER_DETAIL page. As the user has been authenticated , this page is rendering automatically the result without displaying the SSO Login page. (Perfect as of now!!).
    Once I invoke the JSP_HOME_PORTFOLIO from the JSP_HOME_COUNTER, it runs the security procedure without any rendering of the SSO Login page (fine!!) but redirects me back to JSP_HOME_COUNTER instead of rendering the result of the JSP_HOME_PORTFOLIO.
    please note that the m_requestUrl variable in the SSOEnablerJSPBean class has been assigned the folowing value : JSP_HOME_COUNTER
    Kindly advise .

  • Conversion of forms5.0 to web based application

    dear folks,
    i have an existing application which runs on forms 5.0. i want to
    convert it to a web based application. i do not want to rewrite
    the scripts.if some of you could tell me the details about how to
    go about it.
    null

    I am not sure if there is any tool to do that.
    You can delete WebSphere specific xml files from ear/jar and open it in Weblogic's builder tool. Weblogic Builder is a GUI tool. Helps you assign values for deployment parameters, Transaction attributes, JNDI names and so on. Then you can generate deployment descriptors. Subsequently you can modify the descriptors as and when you want.

  • Developing Web based applications using developer 6.0

    How best i can use developer 6.0 as a web based application. I
    have oracle web application server 4.0. Is it possible to
    develop forms in 6.0 and use through the web application server.
    null

    T.Pavan Kumar (guest) wrote:
    : How best i can use developer 6.0 as a web based application. I
    : have oracle web application server 4.0. Is it possible to
    : develop forms in 6.0 and use through the web application
    server.
    Yes, it's possible and it runs.
    You will need:
    - Application Server 4.0.7 or above (with 4.0.7 without patch,
    do not install it on Win NT with SP4, it doesn't run
    - Developer Server (may be it is not on your distribution CD for
    Developer, but you can download or order it from OTN)
    - JInitiator (the Oracle Java PlugIn, also available from otn)
    for your end user's browser
    Tip:
    look very carefully at the documentation AND readmes. Also, if
    you do this job for the first time, be prepared for some days of
    work before your first form runs as a java applet...
    peter
    null

  • Client/Server to Web-Based application Conversion

    Hi! Everyone,
    I have couple of questions for you guys.
    Our Client had recently upgraded Forms 4.5 to 6i to move from Client/Server based application to Web based application.
    They are using Forms Server 6i Patch Set 1, OAS 4.0.8.1, Windows NT Service Pack 5 and Oracle 7.3. They are facing the following error every now and then, when they run the forms,
    "FRM-92100: Your connection to the server was interrupted. This may be the result of a network error or a failure on the server.You will need to re-establish your session."
    Please let me know what might be causing the above error. The only problem i can think about might be Oracle 7.3. If i am right only Oracle 8 and above supports Forms 6i.
    Can anyone let me know some tips and/or techniques to upgrade Forms 4.5 to 6i. If there are any important settings/steps which we might have over looked during the upgrade, please list them.
    Any kind of help is greatly appreciated.
    Thanks,
    Jeevan Kallem
    [email protected]

    Most of the code is use with no changes at all.
    See otn.oracle.com/formsupgrade
    Regards
    Grant Ronald

Maybe you are looking for

  • How do i use airport extreme to extend the range of my imac

    I have an 2012 Imac and I would like to plug the Internet to my imac and use the the imac wireless and use my airport express to extend the range of the imac wireless signal.  I am having an awfully hard time figuring this out - can anyone pass along

  • HP LJ Pro 400 MFP M425dn and RDP (Win XP SP3)

    Hello! Please help to solve a problem with the printer on RDP. The HP LaserJet Pro 400 MFP M425dn printer is installed on Windows Server 2008 R2 (we will call its Server 1) and to it the general access is open. Windows 7 workstations are connected on

  • I can't see my bookmarks/history/etc.

    I changed my options to not show the google searchbar, the buttons that say "File, history, etc."(the things you usualy find on the very top of the window under the window title) How do I undo this?

  • Enable Inputfield in the table column even though the column is empty

    Dear Experts How to enable or disable a table column(it is an inputfield) dynamically. I done this and strugling to proceed from this point DATA lr_container TYPE REF TO cl_wd_uielement_container.   DATA lr_table     TYPE REF TO cl_wd_table.   DATA l

  • LSMW  - Maintain Fixed Values, Translations, User-Defined Routines

    Hi all, I know a little about LSMW.I can perform all the steps and I have uploaded from flatfile to standard tables for transaction XK01. I just want to know what we can perform in sixth step.If I want to write a user defined routine how can I do tha