Welcome Page and parameter

Hi,
I'm trying to use the following page as my default page:
http://myserver/home.jps?someparameter=somevalue.
I just modified the web.xml as described into documentation, but it works only if
I remove "someparameter=somevalue" ...
Thank you in advance...

Document index.html should be the first document the user seesWrite the following in your web.xml
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
In that document, you should have a series of hyperlinks for other Web pages in your site. When clicked, each hyperlink should invoke the servlet with a get request that contains a parameter.Read the servlet tutorials from http://curmudgeon99.googlepages.com/ or http://www.caucho.com/resin-3.0/servlet/tutorial/helloworld/index.xtp
For example, the hyper link http://<servletURL>/<servletname>?page=welcome, will cause the servlet to redirect the user to the page welcome.html.in the servlet write
String fwdPage = request.getParameter("page");
RequestDispatcher view = response.getRequestDispatcher(fwdPage + ".html");
view.forward(request, response);
The list of the parameter values and corresponding URL should be dynamically generated from servlet initialization parameters. The init() method of the servlet should read all the initialization parameters from the configuration file and create a HashMap of the parameter name/value pairs (i.e. each record in the HashMap contains a parameter value and a corresponding URL). You can use the ServletContext object to pass the HashMap from the init() method to the other methods in the servlet to process the user request.read : http://www.adp-gmbh.ch/java/web_application/web_xml.html
Cheers
Avi

Similar Messages

  • I have the lengthy code for a PayPal button. I tried to past it in an iWeb welcom page and all I get is the code. No button. Can you help me?

    I have the lengthy code for a PayPal button. I tried to past it in an iWeb welcome page and all I get is the code. No button. Can you help me?

    OT

  • After Downloading v8 I keep getting checking compatibilty dialogue box popping up, then Firfox opens two tabs, Meet Mozilla welcome page and my home page. How can I stop this?

    After Downloading v8 I keep getting checking compatibilty dialogue box popping up when I launch Firefox. Then Firfox opens two tabs, Meet Mozilla welcome page and my home page. How can I stop this?

    That is a legitimate Mozilla newsletter. As it says in the email:
    You're receiving this email because you subscribed to receive email newsletters and information from Mozilla. If you do not wish to receive these newsletters, please click the Unsubscribe link below.
    Unsubscribe https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/
    Modify your preferences https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/ "

  • TS1389 Hi Since the last Apple update, every timr i open itunes I get the Welcome page and have to agree to share my libaray. before the update I only had to do this once. Now its every time. Any solutions?

    HI Since the last Apple itune WIndows update every time i open itunes I get the Welcome page and have to agree to share my library. Before the update i had only done this once. Now its every timre i open itunes

    Copied from your previous post.
    You are right the Iphone is locked into the carrier softbank from Japan and its not the 3g model its the one before it, I am not sure what model.
    If your iPhone is not the 3G model - it is the one before that, this means your iPhone is the first generation iPhone or the original iPhone, which WAS NOT sold officially by Apple in Japan. The first generation iPhone was sold officially by Apple in the U.S. as carrier locked with AT&T, in the UK as carrier locked with O2, in Germany as carrier locked with T-Mobile, and in France as carrier locked with Orange and as officially unlocked by Orange. The ONLY country where the first generation was sold as officially unlocked was in France, which is required by French law.
    The original iPhone - the one before the 3G was not sold by Apple in Japan directly or through Softbank.
    Did you purchase your iPhone from Softbank or from an Apple store in Japan ? If so, this would also mean your iPhone is carrier locked with Softbank since the iPhone is sold in Japan officially as carrier locked with Softbank only, and this would be the 3G or 3GS, not the original iPhone. This would also mean you are roaming internationally with Softbank with your iPhone in China. If you are using a SIM card from a carrier in China with your iPhone, your iPhone has been hacked to be unlocked unless you purchased your iPhone from an unofficial source in Japan which was sold originally as new officially in France as officially unlocked by the carrier Orange in France.
    Is your iPhone is carrier locked with Softbank in Japan, are you paying Softbank international roaming fees while using your iPhone in China?

  • How to restore Deleted TOPLEVELSITE welcome pages and Administrator Start

    Oops, I deleted the TOPLEVELSITE welcome pages tabs after a new portal installation and upgrade to 10.1.4. What are the methods to restore these pages?
    I backed up all the portal databases right after the upgrade but I hope there is another method...
    Thanks!

    I restored the databases and got the welcome page back. I didn't have much to lose, hopefully I will learn to be more graceful

  • Every time I start the internet two tabs open, the firefox welcome page and my normal search page. How can I get rid of the firefox tab as I don't want this everytime I open the internet

    How can I turn off the Firefox tab before it opens. At the moment everytime I start the Internet two tabs open. I want to turn off the firefox tab before it opens.

    Hi davesummers,
    You should look at [https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox this article about that specific issue] and the article [http://kb.mozillazine.org/Preferences_not_saved Preferences not saved]. These should give you all the information you need!
    If that doesn't work:
    # Type about:config in the address bar
    # Click ''I'll be careful, I promise'' if prompted
    # In the Filter input field type ''startup''
    # Double click on startup.homepage_override_url
    # Delete the text string and click ''OK''
    # Close Firefox and reopen the window to verify that it has worked.
    Hopefully this helps!

  • Can't get back to root welcome page while logged in as administrator

    Greetings all,
    Something weird has occurred with our iTunes U channel. If I log in as primary administrator, I have access to the tools for creating dependent welcome pages. If I create a new dependent welcome page, and then click on the new welcome page to navigate to it and edit it, I get told "This page has no content. Click to edit".
    Once I'm at this point (whether I edit the new page or not), I can no longer return to the root welcome page as an administrator. The "Back" button is greyed out. I can get back to the root welcome page as a non-admin user, for instance by clicking the name of my institution in the top right hand menu bar. This gives me an outdated root welcome page without any of the standard administrative links in the top right-hand corner, and there is no "Click to Edit" link.
    In order to get back to the root page as an admin, I have to go back to the Admin login page in my browser, and go through the whole process of logging in again.
    Has anyone had any experience with something similar happening to them? If so, how did you resolve the problem?
    TKA for any assistance,
    Erik Norvelle

    After you resetted your router you should try adjusting the wireless settings on your router...
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1
    Leave username blank & in password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    -Here select manual configuratioon...Wireless Network mode should be mixed...
    -Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Radio Band to Wide-40MHz and change the Wide channel to 9 and Standard Channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on save settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WPA, For Encryption, select AES...For Passphrase input your desired WPA Key. For example , MySecretKey , This will serve as your network key whenever you connect to your wireless network. Do NOT give this key to anyone.
    NOTE : Passphrase should be more that 8 characters...
    Click on Advanced Wireless Settings
    Change the Beacon Interval to 75 >>Change the Fragmentation...
    Threshold to 2304 Change the RTS Threshold to 2307 >>Click on "Save Settings"...
    Now see if you can locate your Wireless Network and attempt to connect...See if you get the desired speed...If not you should un-install and re-install the wireless adapter...

  • Acrobat 9 Pro ver. 9.4.2 Portfolio Welcome Page, Headers, Footers

    Acrobat 9.4.2 Portfolio Welcome Page, Headers, Footers
    I recently upgraded to Acrobat 9.4.2 and now cannot save welcome page, headers, footers in portfolios I create. Portfolios created in previous verisions of 9.X.X. properly display welcome page, headers, footers in 9.4.2. Anyone with ideas? Is there some setting I am missing?

    Josh, thanks for responding. Following summarizes my workflow:
    - Files selected via Windows Explorer, "Combine supported files in Acrobat" option.
    -  Select PDF portfolio, Combine.
    -  After portfolio is saved, Acrobat opens in the Home Page view displaying thumbnails of the converted files and Edit Portfolio already selected.
    -  Select Welcome Page, Image and Text insert same.
    -  Select Header, Logo and Structured Text, insert same.
    -  When finished, select Done.
    -  Select Save Portfolio icon.
    -  Deselect Edit Portfolio.
    -  Close Acrobat.
    -  Open portfolio, either double-clicking portfolio file name or starting Acrobat and selecting Open, file name.
    - Acrobat opens portfolio in Home view. The Welcome Page icon is grayed out.
    The above is my normal workflow; however, I observed that if after creating the portfolio's Welcome Page and Header and when exiting the program, if I receive the message "Do you want to save changes to the por tfolio before closing?", the Welcome Page and Headers are in fact saved. This is a very workable solution to the problem for me. There seems to be something going with saving via the icon. If for reason I do not receive the above message and the program exits, the Welcome Page and Headers are not saved.
    My operating system is WIndows XP Pro, SP3. BTW, 9.4.2 works fine on my Windows 7 machine and another XP machine with 9.0. Thanks in advance for your offer to help, but the workaround described above works and lowers my frustrationlevel considerably.
    Royal

  • AAM SSL not working for welcome page

    Hi all,
    I have enabled SSL for my sharepoint server recently. After follow the procedure to insert cert in IIS, add binding and add AAM mapping, there is an issue when accessing the site URL with https, the server will return a http welcome page. If I browse with
    https welcome page and browse arround, it won't redirect back to http.
    For example:
    https://portal.abc.com  -->  http://portal.abc.com/SitePages/index.aspx
    https://portal.abc.com/community/asia  -->  http://portal.abc.com/community/asia/SitePages/Index.aspx
    https://portal.abc.com/SitePages/index.aspx --> https://portal.abc.com/SitePages/index.aspx
    https://portal.abc.com/community/asia/SitePages/Index.aspx  -->  https://portal.abc.com/community/asia/SitePages/Index.aspx
    How can I force it keep using https during the redirection?
    Warm Regards,
    Wayne

    This is by design behavior.  AAMs are a nice feature, but realistically, the idea is to push users towards one URL.  If you have
    http://domain.com,
    http://www.domain.com, http://domain.org, etc, you would use AAMs to allow SharePoint to respond to requests on any of those domain names, but SharePoint will always use the Public URL for the zone in redirects.  i.e.
    any email alerts that go out, welcome page redirects, rediects from system pages, etc.  So, if you have a scenario like this where maybe HTTP is only available internally, and HTTPS is required externally. either create a different zone by extending
    the web application or change the Public URL to be the HTTPS which is available internal and external, with an internal mapping for the HTTP.  This will push users to move towards only using SSL, but allows for HTTP to be recognized.
    I will say, it is unusual that you would allow HTTP once you've got SSL set up though.  I would just change the public URL and stop accepting HTTP altogether. 
    Christopher Webb | Microsoft Certified Master: SharePoint 2010 | Microsoft Certified Solutions Master: SharePoint Charter | Microsoft Certified Trainer| http://christophermichaelwebb.com

  • Count the number of visitor, display on welcome page, limit only 1 for next

    Hi everyone:
    1.
    This is my first problem
    I m currently develop a web server, using tomcat, as a web container.
    i have use strut by refer to Jakarta Struts for Dummies.
    I have done a user registration, login verify from database MySQL.
    My project is about telerobot, which will allow only 1 user to access the robot-control page.
    My webpage now allow all the registered user to access to robot-control page. I wanted the page will stop all the user at welcome page, and display the client queuing, and will only allow the client access to control page when his/her turn. Accessing period is limited to 15 minutes, let say.
    client =>
    ==>welcome page(display n queue and go to next page only when his/her turn)
    ==>robot-control page
    please help ..please guide me
    i) display the n client queued
    ii.)allow only when his/her turn
    2. My another problem is about the image. The webpage (jsp) may display the image for several time(properly), and then it may unable to retrieve the image.
    Here is the code:
    <%@ include file="taglibs.jsp" %>
    <jsp:useBean id="now" class="java.util.Date" />
    <table width="100%">
         <tr valign="top" align="center">
         <td>     
    <img  src="images/logo.gif" name="jazz" width="533" height="98" border="0               
    <img  src="images/cd.gif" name="jazz" width="140" height="140" border="0">
    </td>
    </tr>
    </table>the logo.gif can't display after several time access to. A "X" marked on the left up corner instead of the logo.gif images. Please help ..
    It will be okay if i replace it with other pictures ( new edited ) , but the old problem come on the next day (blank image). Please guide...
    Thanks in advance !!

    use a threaded application that is independent from your web app that will update your database every 15 minutes.. once a user has logged, the login time will be save on your db, thus it will be the reference time for your threaded application.. also put a tag on your db if the user has logged, the session has expired and if the user is his/her turn.. that is some idea that i can give you..

  • Navbar disappears from welcome page

    when I publish to an external server I lose the navbar with the links at the top of the page. So my multi page site become just a one page welcome page.
    I'm not a coder and am something of a complete idiot, but if you go to eddysbistro.com you will see the problem: just a welcome page and no navbar links at the top of the page (just a big dot or bullet where it ought to be, although this bullet may be do to iWeb mysteriously adding a list. Anyway, it works fine on my local hard drive, but not when I ftp it to an external server.
    Any simple way to get my navbar/links back?

    Perhaps that is related to the js rollovers not working?
    Yes, it is related. Your hosting company (somehow) messed up the grant poopa file:
    http://www.eddysbistro.com/Scripts/iWebSite.js
    Script directory is a valid directory, because you can get to this file:
    http://www.eddysbistro.com/Scripts/iWebImage.js
    but if you try to get to iWebSite.js, you get redirect to:
    http://typhon.tybit.com/?name=eddysbistro.com
    You need to talk to your hosting company.

  • I can not access the welcome page

    After i installed oracle application server soa suite 10.1.3.1.0 ( soa_windows_x86_101310_disk1) successfully . I want to access the welcome page of oracle application server control
    by going all programs -->oracle(instance name)--> oracle application server control
    It said Page can not be displayed
    then i went to c:\productz10.1.3.1\OracleAS-1\install\readme.txt to check hostname and port number which is correct (http://localhost:8888/)
    i typed in the browser manually ,but it still showed the page cannot be displayed.
    after that, i was using command prompt to check status of the process
    c:\productz10.1.3.1\OracleAS_1\opmn\bin>opmnctl status
    it showed only OC4JGroup:default group -->process status: alive
    but i could not see the http server process
    and still was trying to start the oracle http server and it seemed useless i did not how can i access the welcome page and access to the application server control
    I need help
    thank you very much

    Which install type did you choose? If you chose Custom, you may not have installed OHS at all...

  • Welcome page text

    Hi,
    I am currently ammending the welcome page and I have changed the logo but I cannot seem to find where the welcome text is refrenced.
    i.e Word("Welcome_Page_text2")
    Can someone help me find these so I can chnage the welcome page text.
    Many thanks

    Hi there,
    The reference is in an XML file in the Language folder, although I can't quite remember which one it is for the welcome text. Try OrgChart.XML or use windows to search through the contents of the files for the reference you're looking for.
    All the best,
    Luke

  • 'Welcome page' icons

    I'm thinking I'm understanding the distinction between the "welcome page' and the 'course' templates. Whenever I create a new page using the template 'Welcome page', the icon is a smaller version of my main Welcome page banner. I dont' see anywhere to edit or upload another icon for these new pages. Due to the structure of our iTunesU site, we need all three levels, so we need the main Welcome page, a second level of 'welcome' pages, then the course pages. I can edit the icons for the course pages just fine.
    I alos tried creating a new template based on the 'Welcome page' template, but that did not have the ability to add in a new icon either.
    Is this a bug? or is this by design?
    Thanks all
    Dual 2GHz G5   Mac OS X (10.4.6)  

    Nope, it did not affect the Welcome Page at all. It looks like each new page created from the 'welcome page' template has it's own independant icon. I suppose it originally had the Welcome banner attached to it becuase I created the new 'welcome' pages from the main 'Welcome Page' template
    <whew> confusing...
    Perhaps it would be nice if the template wasn't called 'welcome page' as to avoid the confusion. In any case, you should be able to create a new template by copying the welcome page and giving it a new name (and presumably, a new default icon).
    Eric
    Interesting ... does that then remove the ability to
    have a banner on the welcome page? The idea is to
    have a banner on the welcome page, but to have its
    icon be the 300 x 300. I'll have to play with it.

  • How can I clear the recent document list on the welcome page?

    Have some confidential docs that I don't want to appear when the program is launched. How can I clear the recent document list on the welcome page and the "open recent" list?  thx

    It's not an option in the prefs. It's a hidden file that makes up part of the preference set (as far as I know, most, or all of the seetings you can adjust inside ID's prefences dialog are actually saved in the other half of the set, InDesign Defaults). For more information, see Replace Your Preferences

Maybe you are looking for

  • Barcodes not diaplyed in PDF output

    Hi , I am not able to display bar codes in PDF output but its working fine in all other output's. can any one guide me where exactly I need to save xdo.cfg file and what should be the exact content. I got code128.ttf and saved it in windows/font and

  • Javascript suddenly stopped functioning in Firefox?

    I'm working with a site that stopped working in Firefox randomly. This piece of code is populating into the html each time I try to update, and I'm trying to understand it. I haven't made any changes to the javascript used in the site but whatever th

  • How to merge XML-Data of two variables of different namespace?

    Hi all, I am facing a problem manipulating XML data in a BPEL process. As I didn't get any response on my question in the BPEL forum, I decided to post it again in this forum. I am not very familiar with using XML up to this moment, so please don't b

  • HT2731 do not know the answers to my security questions

    do not know the answers to my security questions, do not remember ever setting them up

  • I-pod classic 120gb

    Can anyone help ppppppppppplease? How do I find a song that I don`t know the title/artist? I`ve tried entering chorus/words in search but still cannot find and how do I get the lyrics to download to i-pod???. Thanks, green_lady5.