Defining a file as starting point for web app.

Does anyone know how I can define a certain servlet as the starting point of my web application?
My guess is that I have to put something in the <context> element in server.xml. So far it looks like:
<Context debug="0" docBase="/somedir" path="/somedir" />
The file I want to start with is in the "somedir" directory.
Thanks.

Already found it.
Added <welcome-file-list> element to web.xml

Similar Messages

  • Starting point for oracle apps

    Dear All,
    I am new to oracle apps..Could any one please guide me about the starting point to study oracle e busines suite. Could you please provide me some books or links to get itstarted.
    my mail id is [email protected]
    Thanks & Regards
    Anuj

    Hi,
    For documentation , according to EBS version:
    http://www.oracle.com/technology/documentation/applications.html
    You can post your problems in:
    General EBS Discussion
    Have a good start and welcome to the EBS community....!
    Greetings,
    Sim

  • Change File Name In The "File Download" Dialog Box For Web Reports

    Hi All ,
    I followed the below note to change the "File Download" name.
    How To Change The File Name In The "File Download" Dialog Box For Web Reports? Doc ID: Note:418366.1
    However its not working. Has anyone tried this and works fine ?
    Basically I wanted to change the name "rwservlet" when a report is run in an
    excel format.
    Rajesh Alex
    Rajesh Alex

    Hello,
    Have you checked if a HTTP header "Content-disposition" is returned ?
    You can use ieHTTPHEaders for IE
    http://www.blunck.se/iehttpheaders/iehttpheaders.html
    and
    Live HTTP Headers for FireFox
    https://addons.mozilla.org/en-US/firefox/addon/3829
    Regards

  • Starting Point for GSS

    We are going to deploy GSS in a DC-DR scenario. Primary role for this GSS would be for failover when DC becomes unavailable. As of now, we are not planning to make these GSSes as an authorative servers for Domain names.
    My question is How GSS should be configured. I've gone through pdfs explainng how GSS works and KAP-AL with other GSS, ACE etc. However, I am not able to completely understand about its IP addressing, physical connectivity (most likely, this would be outside firewall) and more details about GSS-ACE deployment. We are going to have ACE appliances in Primary DC as well. There will be no ACE appliance in DR.
    Any guidance about starting point for GSS deployment would be helpful. I was also looking for questions to be asked for client requirement gathering.
    THanks in advance. Happy 2012 !

    just google :)

  • Looking for a good starting point for the HR module

    Hello,
    Can someone please send links to help/blogs which will be a good starting point for the HR module?
    Thanks,
    Roy

    Regarding Payroll configuration
    https://forums.sdn.sap.com/click.jspa?searchID=8283334&messageID=4763364
    follow wht our gurus has said

  • Default starting point for a search? Stopping a Finder Search?

    "Command F" brings up a search window, defaulted to "This Mac". All too often, I forget to switch the search to my intended target before entering the search criteria. I've got several TB of storage on line, so a "This Mac" Search can take a l-o-n-g time. I can't find a way to stop this search once it's started. Is there a way to set a preference for Find to default to the selected item (disk, folder, or whatever) rather than the whole computer? Am I missing a "cancel" button somewhere?
    Peri

    Backspacing or deleting the search criteria does not work. Once the beach-ball cursor starts spinning, nothing I do has any effect until the search is complete - which may be several minutes.
    On 10.4, there was is an "x" at the lower righthand corner of the search window (next to the search indicator), which would cancel the search. There is no "x" on 10.5.
    Saving a search might be an answer if I repeated the same search frequently, but I don't. Also, I'd have to remember to use the sidebar. If I could remember that, I'd probably could also remember to change the starting point for the search.

  • Custom starting point for song?

    I'm wondering if it's possible to set a custom starting point for a song, similar to the way that the end point can be set:
    I find that I have to start my song about two measures in (I tend to need more time than the Count In setting allows), but when I go to share the song, I don't want those first two measures.  Short of highlighting all tracks and dragging them left when I'm done, is there another way to set a custom start?
    Thanks!
    Andrew

    theolog wrote:
     when I go to share the song, I don't want those first two measures
    http://www.bulletsandbones.com/GB/GBFAQ.html#exportexactlength
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Good starting point for simulations

    Hi,
    I am looking for a good starting point for system simulations in Labview.
    books and bookmarks are welcome. These simulations will include linear
    differential equations.
    Your help is greatly appreciated.
    Greetings from Germany.
    Henrik
    ---------------------------- Corinna & Henrik Volkers
    [email protected]
    | | |
    __|._.__|._.__|._.____________________ beeeeeeeeeeeeee...
    | | |

    [posted and mailed]
    [email protected] (Henrik Volkers) wrote in
    >Hi,
    >I am looking for a good starting point for system simulations in Labview.
    >books and bookmarks are welcome. These simulations will include linear
    >differential equations.
    >Your help is greatly appreciated.
    >Greetings from Germany.
    >Henrik
    >
    There is a chapter in "LabVIEW Power Programming" by Gary W. Johnson,
    McGraw Hill.
    There is the simulation toolkit from NI; www.ni.com
    Alexander C. Le Dain, PhD
    ICON Technologies Pty Ltd
    http://www.icon-tech.com.au
    * The LabVIEW FAQ http://www.icon-tech.com.au/thelabviewfaq.html *

  • Problems with "save for web" app low quality messed up images

    Please help I have never had a problem with the "save for web" application before (over three years) I am currently running A.I. cs3 on windows vista. in the past whenever I save anything this way the images were always clean. as of yesterday everything I try to save through the save for web app the images are very low quality all the vector has jagged edges, it is very low rez looking and the file sizes are very small, half the size they normaly would be. What did I do to change the settings or better yet how can I get it back to the way it was.

    Thank you for your help I moved the folder but it still did not fix this problem. it is also not just the jpg option under the save for web app but all the setting ie. gif, png, ect. ect. Also the the files sizes are much less, example I exported a design as a jpg with the quality setting about 6 the file size was 374kb when I exported the same design through the save for web app the file size was only 45 kb on the quilty setting of 100. further more in the preview screen of "save for web" the original images as well as the optimized both look messed up. The "save for web" app has always worked for me in the past never a problem and I use this app alot so it is very important.

  • Invalid element 'welcome-file-list' in content of 'web-app',

    HI, folks.
    I recently used struts to develop a simple web applicaiton, and whenever I tried to use tag libs
    such as /WEB-INF/struts-html.tld
    /WEB-INF/struts-html.tld and
    tried to compile it, it gives out compile error such as:
    Error(52,21): Invalid element 'welcome-file-list' in content of 'web-app', expected elements '[taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'.
    if I remove the above tag libs, the jsp file compiles
    without any problem.
    Are you guys familiar with these problems?
    please let me know if I'm doing anything foolish.
    Thanks!

    Unless some other elements tag are not close correctly this error does not make sense. Can you cut and paste your web.xml?
    It should look something like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <welcome-file-list>
      <welcome-file>/untitled1.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
      <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
      <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    </web-app>Charles.

  • Custom module templates for Web Apps

    Just wanting to see if there's anyone out there who knows if the custom module templates from the September release are available for Web Apps?  I can't seem to get them to work.
    When placing {module_webapps,8168,a template=”/custom/wap-contract.tpl”} I get a "No Items Found" response. I would appreciate help as this would be very useful in building Web Apps and I can't find documentation on it
    Thanks

    They do work with Web Apps, I've been able to use it successfully. Here is the only documentation I can find on it so far:
    http://helpx.adobe.com/business-catalyst/partner/using-custom-templates-modules.html
    Curious though, when  you get "No items found" that means there are no web app items to show. So we don't really know if your custom template worked or not. If you can get some items to show up and they use the default layout, then we know something is wrong.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • JavaHelp for web app?

    Hello,
    I'm trying to include JavaHelp for our web application.
    Has anyone used this tool or any other tool with javascript for displaying help for web apps?
    I tried to follow the browser demo that is in applet and comes with javahelp zip. It worked fine for me, but when tried to follow the same setting for the web application, I am getting this error.
    java.lang.NoClassDefFoundError: Could not initialize class com.inmedius.mentor.support.amecr.JavaHelpApplet
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I know it cannot find the class, but I'm not sure how to configure it.
    I have the following call to applet:
    <Applet WIDTH = 26 HEIGHT = 26  codebase="http://tetra:80/AMECR" code = "com.inmedius.mentor.support.amecr.JavaHelpApplet.class" archive="AMECR.war">
         <PARAM NAME = HELPSETURL VALUE ="AMECR/GAPIHelp.hs">
         <PARAM NAME = HELPSETNAME VALUE ="GAPIHelp">
    </Applet>Also, since applet approach is not that much favored, do you know if any other way to include this tool within web applications or any other tool that would do the same thing?
    Any input is greatly appreciated.
    Thanks,

    Yes, as long as you conform to what the HelpSet specifies you can use Servlets / JSPs.

  • Adding suffix to jpg file name? Save for web?

    Hi,
    I'm very new to Applescript but, with the help of a few others (thanks H), I've managed to successfully write a script to produce various versions of a selected set of photos. However what I would also like to be able to do is to add a suffix of the letter "w" to all the photos which end up in my Webpics folder and the letter "t" to those which end up in the Webthumbs folder. i.e. abc.jpb becomes abcw.jpg and then abcwt.jpg.
    I'm sure this isn't hard but I've had a good look through various forums and tried loads of different things and still seem to be failing. If anyone can help I'd be hugely grateful. My script is below.
    Also, does anyone know if it is possible incorporate a script for Photoshop / ImageReady which does the "save for web" thing? i.e. so that the photos in the webpics/webthumbs folders have been saved for web. At the moment I use an ImageReady droplet which does the job but I'd love to be able to script it in.
    Many thanks, Eddy
    set original_folder to (choose folder with prompt "Choose Folder containing the files")
    tell application "Finder"
    if not (exists folder "Webpics" of original_folder) then make new folder at original_folder with properties {name:"Webpics"}
    if not (exists folder "Webthumbs" of original_folder) then make new folder at original_folder with properties {name:"Webthumbs"}
    set copies_folder to folder "Webpics" of original_folder
    set copies2_folder to folder "Webthumbs" of original_folder
    duplicate every file of original_folder to copies_folder
    set the_files to every file of copies_folder
    repeat with each_file in the_files
    set each_file to each_file as alias
    my dophotoshop_stuff_to(eachfile)
    end repeat
    duplicate every file of copies_folder to copies2_folder
    set webthumbs_folder to folder "Webthumbs" of original_folder
    set the_files to every file of webthumbs_folder
    repeat with each_file in the_files
    set each_file to each_file as alias
    my dophotoshop_stuff2_to(eachfile)
    end repeat
    end tell
    on dophotoshop_stuff_to(thisfile)
    tell application "Adobe Photoshop CS"
    open this_file
    do action "Masterpic to Webpic" from "Set 1.atn"
    close current document saving yes
    end tell
    end dophotoshop_stuffto
    on dophotoshop_stuff2_to(thisfile)
    tell application "Adobe Photoshop CS"
    open this_file
    do action "Webpic to Webthumb" from "Set 1.atn"
    close current document saving yes
    end tell
    end dophotoshop_stuff2to
      Mac OS X (10.4.4)  

    Ok, here is your script, not tested, but seems like it should work. The idea of shortening this script is that instead of duplicating files (simpler but longer, and you may face a timeout if there are a lot of files), you can pass the original file along to your script, that'll resize it and save the new version in folder 1, then resize it again and save the newer version in folder 2.
    Make a copy of the original files before you start testing
    Rookie Developer Hint : Slip in a display dialog followed by a return when testing to check the intermediate output.
    Return stops your script where you slip it.
    set original_folder to (choose folder with prompt "Choose Folder containing the files")
    tell application "Finder"
    if not (exists folder "Webpics" of original_folder) then make new folder at original_folder with properties {name:"Webpics"}
    if not (exists folder "Webthumbs" of original_folder) then make new folder at original_folder with properties {name:"Webthumbs"}
    set Webpics_folder to folder "Webpics" of original_folder
    set Webpics_path to ((original_folder as text) & "Webpics") as string
    set webthumbs_folder to folder "Webthumbs" of original_folder
    set webthumbs_path to ((original_folder as text) & "Webthumbs") as string
    set the_files to every file of original_folder
    repeat with each_file in the_files
    set file_name to (items 1 thru -5 of (name of each_file as text))
    set each_file to each_file as alias
    display dialog "Full path to the file: " & (each_file as text) & return & return & "Short name: " & file_name
    set each_file to each_file as alias
    set WebpicTarget to (Webpics_path & file_name & "W") as string
    my dophotoshop_stuff_to(eachfile, WebpicTarget)
    set webthumbsTarget to (webthumbs_path & file_name & "T") as string
    my dophotoshop_stuff2_to(eachfile, webthumbsTarget)
    end repeat
    end tell
    on dophotoshop_stuff_to(thisfile, saveTarget)
    tell application "Adobe Photoshop CS2"
    open this_file
    do action "Masterpic to Webpic" from "Set 1.atn"
    save this_file in saveTarget
    close current document --saving yes
    end tell
    end dophotoshop_stuffto
    on dophotoshop_stuff2_to(thisfile, saveTarget)
    tell application "Adobe Photoshop CS2"
    open this_file
    do action "Webpic to Webthumb" from "Set 1.atn"
    save this_file in saveTarget
    close current document --saving yes
    end tell
    end dophotoshop_stuff2to
    HTH
    J.

  • Help with starting point for "proof of concept" integration

    We are a third party application provider and are attempting to figure out how to do a "proof of concept" integration with SAP.  We are not looking for "certification".  Our product does not appear to fit any of the standard certifications for integration and our experience integrating with other systems indicates that no two integration will be identical.
    We are looking to do a simple integration scenario with an SAP system so we have some basic experience doing it, can say 'Yes" when asked if we have done it, and can create a video showing a transaction being done in SAP and our system also updating (and ideally the reverse).
    Our starting point with respect to SAP knowledge is "0".
    Our basic task list (we think) goes something like
    1.  Figure out the version and modules of SAP with which we should be integrating
    2.  Get access to an SAP system (do we rent, is there a developer/evaluation, ...)
    3.  Put some data in the test system (is there a "sample data" set?)
    4.  Figure out the SAP transactions that map to the business process in which we are interested (moving goods in and out of a distribution center/ware house - are there some "standard business process guides")
    5.  Integrate (we are a .NET web based application so we are guessing this means use the ".Net Connector")
    Could anyone point out any resources (white papers, links, people, places to find people,...) that might be a good starting point?
    Thanks,
    John

    Athol,
    We are looking to recieve notifications out of SAP as tractor trailers at a dock are filled as proof on concept.  The actual integration scenarios we do are more complex and do not match well with any of the pre-packaged certification scenarios.  The real world integration scenarios actual vary substantially from customer to customer in terms of the integration points between systems.
    As we have become more marginally knowledgable about SAP, I think we will end up receiving and sending "IDOC" messages from SAP but have no idea what those IDOC messages are or where to start looking for what a "standard" (if there is one) message SAP would generate in reaction to whatever the "trailer is loaded" transaction is.
    To figure out what the transaction is, I assume we need to identify what version of SAP we should be targeting for a simple integration.  Are there any could references on what the commonly integration methods are and to which versions they apply?
    Something like "hey, if you do an integration with a IDOCs in with SAP Netweaver 2004 then that would good proof you could integrate with 90% of the installed SAP base".  Of course, any links explaining what the versions of SAP are and where they are in there lifecycle and what people are actually using would be helpful.
    John

  • CS4: get file name after saving for web

    Hello,
    I am saving a file via "save for web" with a specific file name in a specific folder maybe with a specific resolution (width x height) entered directy within this dialog window.
    Is it possible to get this path and the optionally changed resolution via Adobe script (after saving the file; or starting the script just before "save for web")?
    Thanks a lot!
    Carlos

    I don't see anyway to get the user's options from the SaveForWeb dialog. The descriptors for both charIDToTypeID( "Expr" ) and charIDToTypeID( "Mn  " ) are empty.
    But you can use the DOM to sfw. Below is a function to save jpg using sfw.
    function SaveForWeb(saveFile,jpegQuality) {
    var sfwOptions = new ExportOptionsSaveForWeb();
       sfwOptions.format = SaveDocumentType.JPEG;
       sfwOptions.includeProfile = false;
       sfwOptions.interlaced = false;
       sfwOptions.optimized = true;
       sfwOptions.quality = jpegQuality; //0-100
    activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);
    Look up ExportOptionsSaveForWeb in the scripting guide for other formats.
    You would have to do the resize as an extra step when saving using the DOM.

Maybe you are looking for

  • How to know the select stmt used in creating a table?

    Hi, If we create a table by selecting some records form another table, can we see the select statement used to create that table. example: Create table emp2 as select * from emp where deptno=20; is there any data dictionary table which stores select

  • How to upload logic pro again

    Hi. I bought logic pro X a few months back. Had to erase my computer so trying to upload again. Have the receipt with the order ID but have no record in the app store of the purchase so I am a little lost? Help :-)

  • NIC issue

    Hi, I am trying to configure 2 ports from a 4 port Ethernet GigaSwift card to connect to different networks. The NIC's first port bge0 works fine and it holds the main ip of my server. i.e bge0: ip: 1.2.3.4 netmask:255.255.255.240 The second port bge

  • Newby: Copy Rule returns Error

    Hi, I am new to Oracle BPEL Process Manager. I successfully a hello world BPEL process and now I am trying to do something a bit more intereseting. I successfully invoked a partner link and it returned this: <getManagerResponse xmlns="http://service"

  • Photoshop elements 11 downloaded and created an attached folder containing 2 thumbnails. How do I change these settings?

    Since I've downloaded photoshop elements 11 every time I upload or download any photo onto my computer it attached a folder with two thumbnails. How do I change these settings?