Virtual pages / redirect

how can use different page addresses in a single page. i wan to to use single jsp file with 2 links;
http://aa.com/faces/Login.jsp and
http://aa.com/faces/News.jsp
will be handled by the page MainPage.jsp. i will use a fragment to show 2 different page dynamically that rendered by MainPage.jsp
i tried this;
<servlet>
<servlet-name>All</servlet-name>
<jsp-file>/MainPage.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>All</servlet-name>
<url-pattern>/portal/*</url-pattern>
</servlet-mapping>
and this;
<servlet>
<servlet-name>All</servlet-name>
<jsp-file>/faces/MainPage.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>All</servlet-name>
<url-pattern>/portal/*</url-pattern>
</servlet-mapping>
but it doesnt work.

I don't know much about how to fix this, but try other browsers. You can also try clearing the cache in ~/.cache/chromium. That worked for me when I had a problem.

Similar Messages

  • Virtual page redirection issue - VWLC

    Hello All,
    I am using ISE for external web authentication. Once client enter the UN and PWD in the ISE guest portal, the client must redirect to 1.1.1.1 that is the local web page. But i get a blank page..? And also if i use local web page for the redirection also it is not working ..?
    Any idea..
    KVS

    Symptoms or Issue
    The URL redirection page in the client machine's browser does  not correctly guide the end user to the appropriate URL.
    Conditions:
    This issue is most applicable to 802.1X authentication sessions  that require URL redirection and Guest Centralized Web Authentication  (CWA) login sessions.
    Possible Causes:
    There are multiple causes for this issue. See the Resolutions descriptions that follow for explanation.
    Please check the below link for URL Redirection Resolutions:
    http://www.cisco.com/en/US/docs/security/ise/1.1/user_guide/ise_troubleshooting.pdf

  • Wireless web page redirect not woking

    Hi all
    wireless web page redirect not woking 
    software version : 4.2.207.0
    one of the ssid on the controller has web authentication and the authentication page not showing once connected .
    some clients  ( like  laptop) authentication page shows but when we press submit button nothing happen .
    Please help

    Hi
    Tnx again , i beleive i have narrow down the problem , After physically removed the controller from the switch problem experencing only with mobile devices .In your previous reply you mentioned abt DNS .  I  did not understand the role of DNS in it. sorry for that . Once user connected SSID and browse anything , this will redirect to the virtual ip http://1.1.1.1/login.html?........ .we have not registered this virtual ip in the DNS server .
    Please help

  • Web page redirecting to another page

    Hi,
    I have an issue of web pages redirecting to a specific web page (bad content).
    This issue occurred in safari first and then when i started using google chrome and firefox the same issue arrised.
    When i google something and open it in a new tab it opens into the respective web page but then after all the contents are loaded it redirects into one specific website.
    I cleared all the history and tried blocking that specific page using terminal (used step to step guide through wikihow) and even cleared the DNS by using this command "sudo dscacheutil -flushcache" but nothing works.
    I am using Mac Book Pro Retina and OS Y.
    Please be kind enough to help as soon as possible. Its urgent i am unable to search for anything using google. But it doesn't happen when i open Facebook , youtube or my mail.

    This can happen if adware is installed without your knowledge.
    1. Use  free  AdwareMedic to remove adware
        http://www.adwaremedic.com/index.php
       Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
       Once done, quit AdwareMedic.
                 or
       Remove the adware manually by following the “HowTo” from Apple.
       http://support.apple.com/en-us/HT203987
    2. Safari > Preferences > Extensions
        Turn those off and relaunch Safari.
        Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.

  • Can Page Redirect affect caching of .SWZ files?

    Can Page Redirect affect caching of .SWZ files?
    I have two servers:
    Server 1: works perfect it creates cache on client machine (.swz and .heu files) and uses the cache (I can see the change in the .heu files)
    Server 2: is not able to create cache but is able to read the .heu files (I can see the change in the .heu files) from the client machine.
    What could be the issue that server 2 is not able to write .swz files on the client. I have the .swz MIME types on both the servers.
    thanks

    Do you maybe need a crossdomain.xml file on server 2?<br /><br />Matt<br /><br /><br />On 11/6/08 5:48 PM, "alex_stewart" <[email protected]> wrote:<br /><br />A new discussion was started by alex_stewart in<br /><br />Developers --<br />  Can Page Redirect affect caching of .SWZ files?<br /><br />Can Page Redirect affect caching of .SWZ files?<br />I have two servers:<br />Server 1: works perfect it creates cache on client machine (.swz and .heu files) and uses the cache (I can see the change in the .heu files)<br /><br />Server 2: is not able to create cache but is able to read the .heu files (I can see the change in the .heu files) from the client machine.<br /><br />What could be the issue that server 2 is not able to write .swz files on the client. I have the .swz MIME types on both the servers.<br /><br />thanks<br /><br />________________________________<br />View/reply at Can Page Redirect affect caching of .SWZ files? <a href=http://www.adobeforums.com/webx?13@@.59b6f554><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b6f554!folder=.3c060fa3>  form to cancel your email subscription.

  • Web Page Redirection Messages

    I am urgently trying to send out my newsletter and am receiving "Web Page Redirection Messages" when clicking on any external links from the email. This is my 23rd monthly newsletter and it has never happened before.
    The major problem is I have businesses who are paying for advertising in my newsletter and they will not accept having a message display first before accessing their site.
    Can anyone tell me please WHY this has suddenly occurred. And also what can be done to fix it?
    http://www.shirewomen.com.au/Redirect.aspx?destination=http%3a%2f%2fwww.fitintolifept.com. au%2f

    Hi there:
    http://helpx.adobe.com/business-catalyst/partner/enable-links-external-domain-names.html

  • Crosstab virtual page headers

    I have a crosstab report that spans 3 pages for each row (page 1-1, 1-2, 1-3 etc.).  I have a page header that I would like to print on these 'virtual pages', but I have not been able to figure out how to get it to print on these pages.  It prints on page 2-1, 3-1, etc.
    My crosstab is located in the Report footer.
    Any suggestions?

    To be more precise, I am setting up a book of 250 pages or so. I would like the top headers to carry the book title on the even page and chapter titles on the odd pages. The chapter titles will chnage with each section. I have set up the master pages and the book title on the even page; this carries through the whole book. I am unclear how to change the odd page header with each section. the first section (title pages, contents etc) will have a blank heder.

  • IOS Content Filtering Using TrendMicro: Can I customize the block-page redirect-url?

    I have IOS content filtering using the Trend Micro subscription service working on a 2911 running 15.1.(3)T3 with the security license option and a 30 day demo Trend subscription.
    Once I figured out that the content filtering for Trend appears to be completely broken in 15.2 (even using docs for 15.2) I went back to 15.1 and it works great.
    Everything seems great so far except I would like to have a more 'fancy' or custom blocked page where a user can have a couple links to either go to the trend micro reporting page http://global.sitesafety.trendmicro.com/result.php or some other page, and maybe some branding so they know the page is coming from our network and is not some fake security thing or phishing attempt or whatever.
    I know I can use the 'parameter-map type urlfpolicy trend ' section to do a tiny bit of customization of the text that appears on the default blocked page display and there is an option for it to go to a simple redirect instead ('block-page redirect-url') but I wonder if anyone has any ideas on how to do more with either the built in page or the redirect-url to keep the information of what page the user was trying to access and why it was blocked (category etc.) while adding more features.
    Thanks!
    Oh, one last thing, this doesn't support any kind of 'user override' or anything like that does it? So that a network can have a filter applied but an admin could override the filtering to allow temporary access to something?

    Hmm... no thoughts over the weekend. Anyone?

  • Virtual Page Numbers

    Does anyone know how to strip out the virtual page numbers from a PDF?
    In other words if I have a 5 page document where the first page starts on virtual page 11, I would like the PDf to now say it is Page 1 of the document (regardless of what the folio number still reads).

    Advanced> document processing> number pages> all> start:1 Acrobat 8

  • Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    I did think about that and if I have to I will do that, however there are about 50 songs. I have closed and reopened iTunes several times and I am sure that I have the latest version. It fails right away but I can click on the cloud download icon and download the song that it failed on ... therefore it is not that song "or any one song" causing the issue. Any ideas?

  • Display alert hit okay page redirects

    I am having an issue here....When my page is updated I want
    to display an alert that says updated. You must hit okay and then
    the page redirects. The problem I am having with the below code is
    that when you hit save it displays the pop up for about two seconds
    I never click okay and the page redirects. I want the page to stop
    I must click okay for the redirct to occur. Any help would be great
    Alert.show('Updated', 'Alert Box', mx.controls.Alert.OK);
    var u:URLRequest = new URLRequest('
    http://' +
    model.serverName+'/admin.cfm');

    move your URLRequest code to the clickListner function of the
    Alert as described in this example in FB help:
    <?xml version="1.0"?>
    <!-- controls\alert\AlertEvent.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.CloseEvent;
    private function alertListener(eventObj:CloseEvent):void {
    // Check to see if the OK button was pressed.
    if (eventObj.detail==Alert.OK) {
    myText.text = myInput.text;
    ]]>
    </mx:Script>
    <mx:TextInput id="myInput"
    width="150"
    text="" />
    <mx:Button id="myButton"
    label="Copy Text"
    click='Alert.show("Copy Text?", "Alert",
    Alert.OK | Alert.CANCEL, this,
    alertListener, null, Alert.OK);'/>
    <mx:TextInput id="myText"/>
    </mx:Application>

  • Page Redirects

    We recently changed our website from WordPress to Adobe Muse which changed page headings. For SEO optimization I need to set up page redirects and I've found a widget that will do that for me. The issue I'm finding is that all the muse pages end in .html which prevents me from using the muse platform to set up the redirects. Is there a way to remove the .html form pages?

    Hi,
    check this discussion
    Re: How do I remove .html from the url

  • Problem with history when ther is page redirection after 'go back' button is clicked.

    Recently I was developing some application which requires request redirection from server when the browser's 'go back' button is clicked. At that time while I was testing implemented behaviour i noticed that when i go one page back forward button is disabled and when I want to go back again I am returned one the same page over and over again. It seems that there is a problem with history and how firefox handles a page redirection.
    In other browsers everything goes as it should and there isn't any such problem with history.
    I hope that this problem will be solved in the next version.

    Hi,
    I found this Terminal command here on the discussion board posted bu Sinzu.
    defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2BackspaceKeyNavigationEnable d -bool YES
    Dimaxum
    Sorry, everyting is BOLD tekst.

  • Virtual host redirection

    Hi All,
    We have a web site based on oracle portal and two virtual hosts have been defined in httpd.conf file as follows:
    <VirtualHost *:7779>
    ServerName www.mycompany.com
    Port 80
    ServerAdmin [email protected]
    RewriteEngine On
    RewriteOptions inherit
    OssoConfigFile /opt/oracle/product/portal_int/Apache/Apache/conf/osso/osso_www.conf
    OssoIpCheck off
    </VirtualHost>
    <VirtualHost *:7779>
    ServerName abc.mycompany.com
    Port 443
    AddCertHeader HTTPS
    ServerAdmin [email protected]
    SimulateHttps On
    RewriteEngine On
    RewriteOptions inherit
    RewriteRule ^/$ /portal/page/portal/MyHome [PT]
    OssoConfigFile /opt/oracle/product/portal_int/Apache/Apache/conf/osso/osso_abc.conf
    OssoIpCheck on
    </VirtualHost>
    Now when a request for abc.mycompany.com/PublicPages is made the request gets redirected to www.mycompany.com/PublicPages while the request for abc.mycompany.com/PrivatePages (requiring authentication) is served by abc.mycompany.com/PrivatePages itself.
    I want to know:
    1> How can I configure this type of behaviour for name based virtual hosts so that request for abc.mycompany.com/PublicPages is served by abc.mycompany.com/PublicPages itself and doesn't get redirected to www.mycompany.com/PublicPages.
    2> Where can I find the URL mappings for pages in the Oracle portal.
    3> How can I control the redirection of requests in general, on the basis of name based virtual hosts.
    Regards,
    Noaman

    Hi,
    Thank you for posting in Windows Server Forum.
    From the listed error it seems that there is RD Virtualization Host process get failed and user authentication redirection can’t occur successfully.  Because it seems that there might be some configuration issue during your RDVH configuration. So if possible
    please check the whole configuration again and see whether it can resolve your issue.  You can refer beneath article for rechecking.
    Lab Ops 6 – Setup VDI in Windows Server 2012R2
    http://blogs.technet.com/b/andrew/archive/2013/10/14/lab-ops-6-setup-vdi-in-windows-server-2012r2.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • DW CS5, Sending contact form results to email with page redirection using php script

    I am currently building a site from scratch with Dreamweaver, with the intent of replacing my current website layout that was designed using Intuit's website builder. My dreamweaver site is not online, but i have setup a local test server on my computer, using XAMPP, and i have an apache server with a MySQL database and a mercury mailserver running. I mention that in case it makes a difference in your answers. If necessary, I can include those settings, but that may be asking too much.
    I have an html contact form for users to schedule service appointments. I need the resulting actioned php file to do the following after submit is clicked: verify certain fields have been entered; prevent spammers or verify human visitors; send the form results to a (hidden from public view of any kind) email address; redirect user to a confirmation page, or an error page.
    I found the following code but being less than a newbie im not sure what needs to be changed, or if its even the right script i should be using:
    5 <?php
    6 $email = $_POST['email'];
    7 $mailto = '[email protected]';
    8 $mailsubj = 'You Have a Service Request';
    9 $url = '/MyLandingPage.html';
    10 $req = '0';
    11 $mailbody = "Results from form:\r\n";
    12 $space = ' ';
    13 $line = '
    14 ';
    15 foreach ($_POST as $key => $value)
    16 {
    17 if ($req == '1')
    18 {
    19 if ($value == '')
    20 {echo "$key is empty";die;}
    21 }
    22 $j = strlen($key);
    23 if ($j >= 20)
    24 {echo "Name of form element $key cannot be longer than 20 characters";die;}
    25 $j = 20 - $j;
    26 for ($i = 1; $i <= $j; $i++)
    27 {$space .= ' ';}
    28 $value = str_replace('\r\n', "$line", $value);
    29 $conc = "{$key}:$space{$value}$line";
    30 $text .= $conc;
    31 $space = ' ';
    32 }
    33 mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    34 echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    35 ?>
    Can anyone please illuminate me on what I need?
    Thank You in advance

    Take a read here, this might enlighten you a little.
    http://www.paulgdesigns.com/learncontactform.php
    You are doing this with your local testing server, is it set up to email?
    Gary

Maybe you are looking for