The redirect problem in wap

I have three pages:input.jsp save.go and list.jsp
--------input.jsp.
users input some thing in it,and there is a submit button on it. the button linked to "save.go"
--------save.go
save.go is a servlet in fact.it will save what the user submited and then redirect to "list.jsp".use:response.sendRedirect("list.jsp");
---------list.jsp
list users' inputs.
the problem is that in the web browser,I refresh "list.jsp", it won't resubmit user's input,but in the wap browser,it will resubmit user's input. I found that ,in the web browser ,the "list.jsp"'s address in the address bar is"........list.jsp",but in a wap browser or a cellphone, it will be ".......save.go",that's why in the wap browser it will resubmit .
anybody knows the real reason of this problem??? how does the wap gateway deal with the http302 response?thanks!

Hi Martin,
I think you should use
sys.owa_util.mime_header('text/html', FALSE);after the
htp.init;so that the browser knows it's HTML code.
BTW, the PL/SQL based NTML authentication approach isn't really secure because it's not verifying the user/pwd with an MS Active Directory server.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • Dynamic form "Cancel" redirect  problem in frames - bugfix?

    My question: Is there a "long run" down side to my implementing this modification to style.js?
    The below post by Ionut:MX Division Support Specialist worked for me as a solution to a current form "click cancel" redirect navigation problem:
    When a DWtoolbox dynamic form wizard form is placed on a page within frames, clinking on cancel does not return a user to the list that sent them to the form. The user is sent somewhere else.
    Begin Ionut post-------------
    If you don't need to add extra parameters to the "Edit" button, you can solve the redirect problem by editing the "/includes/skins/style.js" file and replace:
    nxt_list_edit_link_form(this, myinput.previousSibling.href);
    with:
    nxt_list_edit_link_form(this, a.href);
    End----------------------
    Thanks Ionut for the tip and anyone in support for letting me know if this is a safe mod for the long run,
    Steve M

    Hi Marny,
    Hello Steve. I am new to Adobe & very confused. You seem to grasp the program very nicely, please help Me?
    I´m not not Steve, however -- what problem do you have exactly, and is this problem related to the "Adobe Dreamweaver Developer Toolbox" extension or related to Dreamweaver ?
    If it´s related to ADDT, please describe your problem by starting a new thread -- if it´s related to Dreamweaver, please post your questions in the general Dreamweaver forums.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Redirect problem in IE 9

    Hi,
    i made a custom page sentry function to authorize via NTLM. It works fine with IE 8 and Firefox.
    With IE 9 (Windows 7) the redirect via <meta http-equiv="refresh" content="0; URL=' || vUrl || '" />'); doesn't work. The user sees the html code and has then manually press the refresh button for going on to the 1st page in the application.
    Here i have my Proof-of-Concept http://www.greenit.li/greenIT/Willkommen_files/Oracle_APEX_ProofOfConceptNTLMPLSQL.pdf
    Has somebody an idea how to solve this problem?
    Thanks in advance.
    Regards,
    Martin

    Hi Martin,
    I think you should use
    sys.owa_util.mime_header('text/html', FALSE);after the
    htp.init;so that the browser knows it's HTML code.
    BTW, the PL/SQL based NTML authentication approach isn't really secure because it's not verifying the user/pwd with an MS Active Directory server.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • When I add an opendocument login token, it wipes out my parameter/prompt response in the Redirect URL

    I am having this issue and I wonder if anyone has any pointers?
    When I send the URL with the single prompt response &lsSPrompt0=1234567 it works fine but I have to login to InfoView.
    So I created a login token .jsp and that took care of the login for InfoView, but it also killed my prompt value.
    The code that I got from another site that does the same thing I WANT to do seems to create a cookie to store the passed prompt value in, then it creates a login token, then it assembles it all in the redirect URL and sends it to the openDocument.jsp.
    The login token works like a champ, but the prompt value (initially passed in to the cookie as "Prompt0") ends up passing from the Redirect URL to the openDocument.jsp with a value of NULL (lsSPrompt0=NULL).
    In my lack of knowledge, I am thinking maybe it has something to do either with how the cookie is being created, how it is being passed, or how/if it is getting stored at the target.  The cookie/token.jsp and the openDocument.jsp are in different folders on the same domain.
    So, I pass this URL:
    http://server:8080/InfoViewApp/token.jsp?&lsSPrompt0=1234567
    The token.jsp that it hits looks like this:
    So, the redirect winds up hitting the target looking like this:
    http://server:8080/OpenDocument/opendoc/openDocument.jsp?token=logonToken&iDocID=45227708&sKind=FullClient&lsSPrompt0=NULL&NAII=N&buttonrefresh=hide&buttonexport=hide
    Obviously, my problem is this:  lsSPrompt0=NULL
    Any pointers or nuggets of wisdom are GREATLY appreciated?
    Also of note, I wasn't sure if I needed to publish this token.jsp as a Webapp to Tomcat.
    I just placed the .jsp file in the folderTomcat5.5/webapps/InfoViewApp (same location as the client who has it working).
    Do I need to publish it?  Is that part of the problem?
    I am a little out of my realm here but trying to learn!
    We are on BOXI R2, Tomcat 5.5, JAVA, and I am having the same behavior on my personal XI 3.0 server too
    Thanks in advance,
    Randy

    I believe it's storing the info in a cookie so that it can be used later.  You don't mention which version of BO you're using, but I've sometimes found that the logon tokens created in 4.x contain special characters and may need to be URL encoded.  Also, I've found that it helps to put the logon token at the end of the URL after any parameters instead of in the middle before the parameters.
    -Dell

  • Modifying the redirect page of an input behavior

    I created a user input behavior for a user registration page.
    I also added a check new username behavior. It all works well. The
    problem isn't really a big problem because it all still works. But,
    it would be nice if I could modify the code that Dreamweaver
    generates and NOT get the red exclamation error next to the
    behavior in the behaviors panel. That way I could still click on
    the behavior and be able to edit it with the dialog box instead of
    hand coding it.
    Here is the deal. In the input behavior, I specified the
    redirect page. The code written by Dreamweaver is:
    MM_editRedirectUrl = "login_confirmation_send.asp"
    Problem is, I want to pass a form value in the query string
    to that redirected page. So, I modified that code to say:
    MM_editRedirectUrl = "login_confirmation_send.asp?email="
    & Request.Form("email")
    When I do that, I get a big red exclaimation next to the
    check new user behavior which says the input behavior has been
    deleted. Eventhough, it still works fine.
    Is there a way to modify the code without getting the
    error?

    MM_editRedirectUrl = "login_confirmation_send.asp?email="
    MM_editRedirectUrl = MM_editRedirectUrl &
    Request.Form("email")
    That might do it. Does ASP have another concatenator besides
    ampersand(&) like the plus sign(+) that you could use? Also,
    I've totally forgotten if you need semicolons(;) at the end of
    lines of ASP code.

  • ISE - AV Link remediation redirect problem

    Dears,
    Am working on ISE 1.1, and am facing a problem after the posture assessment for a machine, if the machine doesn't have the correct antivirus, the NAC Agent suggest the following link remediation: http://kaspersky.test.com, when the user tries to click on the link, the link is redirecting him to the client provisioning page instead of the right page of the antivirus installer. Even if I try to put the IP address instead of the link http://10.10.10.10 the problem persist.
    Any ideas what could be the problem?
    Thank you in advance
    Regards
    zahi

    Hi,
    If this is for a wired interface then you need to check the redirect acl and make sure that the entry is not redirecting remediation traffic.
    thanks,
    Tarik Admani
    *Please rate helpful posts*

  • CSS Redirection problem

    Hello,
    I use a CSS 11500. I've problem of redirection HTTPS with Mozilla and Opera (it seems there are no problem with Internet Explorer).
    Mozilla use a URL http://www.example.com:443/blabla instead of https://www.example.com/blabla.
    Here my CSS configuration
    ssl-proxy-list SSL-PROXY
    ssl-server 20
    ssl-server 20 cipher rsa-with-rc4-128-md5 XXXXXXXXXXXXXX
    ssl-server 20 vip address X.X.X.X
    ssl-server 20 rsacert certXXXX
    ssl-server 20 rsakey keyXXXX
    ssl-server 21
    ssl-server 21 cipher rsa-with-rc4-128-md5 X.X.X.X 80
    ssl-server 21 rsacert certXXX
    ssl-server 21 rsakey keyXXX
    ssl-server 21 vip address X.X.X.X
    ssl-server 20 http-header prefix "SSL"
    ssl-server 20 urlrewrite 1 www.example.com sslport 443 clearport 80
    active
    Thank you in advance for your help
    Cedric

    Indeed, the problem isn't the web navigator after to deep with tcpdump.
    The problem is it misses the / at the end of the URL !
    https://xxx.example.com/blabla => the redirect doesn't work => http://www.example.com:443/blabla
    https://xxx.example.com/blabla/ => the redirect work !!
    Our customer don't wish modify their webserver apache. It's possible to find a solution with the CSS ? With a specifiq redirector rule ?
    Thank you in advance
    Best Regards
    Cédric

  • Webgate redirection problem

    i have installed a webgate on a reverse proxy for weblogic
    i am not able to login, the browsers says it has gone in the loop.
    how to resolve this issue?

    I don't know whether the issue is common but I applied a patch for the apache webgate which resolved my problem. Forgot the patch number but I googled abt the issue and found some links... I had a different use case though not sure if its valid in your case.
    One more thing to take care is the preferred host in the access gate information in Oracle Access Manager. The redirection usually takes place to the value specified there.

  • Need add-on after windows XP restore virus removal. have redirect problem

    Microsoft technical support removed virus from computer, but said I needed a firefox add-on to get rid of the redirect that happens every time I do a search from any search engine

    is it Mac OS X so much faster than Windows XP or Apple's Bootcamp slows down Windows and on a Windows computer Windows XP is fast
    I don't believe it's either. I think it's simply Windows XP having problems. Windows XP should go like any PC with similar hardware. All Boot Camp does is allow a GUID partitioned drive to have a NTFS/FAT32 partition on it such that it appears as a C drive to Windows. That all it does. Additionally, drivers are supplied for Apple specific hardware.
    I would check the state of your Windows XP installation.

  • Proxy redirect problem

    I'm having a redirect problem going through a weblogic proxy. An app I was using appears to be redirecting the browser always to localhost:7121 which won't work with access via the my domain.
    To explain fully I set up a test JSP page which outputs request.getRequestURL().toString() so I could trace what was happening. The weblogic configuration is explained below:
    I'm using Weblogic 8.1 sp5. I've setup a 4 instances: a proxy (port 7120), redirector (port 7121) and cluster (two instances running on 7131, 7132)
    If I navigate to:
    http://localhost:7120/myapp/test.jsp my test page outputs: request.getRequestURL().toString() : http://localhost:7121/myapp/test.jsp
    and again to:
    http://localhost:7131/myapp/test.jsp my test page outputs: request.getRequestURL().toString() : http://localhost:7121/myapp/test.jsp
    or
    http://localhost:7132/myapp/test.jsp my test page outputs: request.getRequestURL().toString() : http://localhost:7121/myapp/test.jsp
    The output is always the same ... it always says the requestURL is from localhost:7121 the redirector?
    Can anyone help explain why I always get the same output? It is completely baffling me.
    Thanks,
    Matt
    Edited by: user5673380 on Oct 15, 2008 3:52 PM

    The problem was caused by incorrect configuration of FrontEndHttpPort and FrontEndListener and FrontEndHost in the cluster configuration. These values were incorrectly during config wizard install.

  • Reverse Proxy Redirection Problem

    Hi all
    recently I installed sun one app server 8.1 sp2 as back end server and sun one web server 6.1 sp5 as the front end.
    I also installed the reverse proxy plugin (provided by sun) correctly. the infrastructure is something like this:
    web = http://aaa.com/mypath
    app = http://bbb.com/mypath
    client => web => app server
    so when client type http://aaa.com/mypath, it will eventually executed http://bbb.com/mypath, but in the client browser still maintain http://aaa.com/mypath
    so far so good.
    but when the client executed http://aaa.com/mypath/myredirect.html (where myredirect.html is javascript redirection to certain html in my app server), the web server will execute http://bbb.com/mypath/myredirect.html, which eventually the html will be redirected to http://bbb.com/mypath/myfinalresult.html.
    the problem is now on the client browser the url becomes http://bbb.com/mypath/myfinalresult.html. all i want is the url to be pointing to web server, that is http://aaa.com/mypath/myfinalresult.html
    how to solve this problem? is it possible to do reverse mapping with passthrough library? any help is greatly appreciated! Thx !!
    Cheers,
    kami

    Hi All,
    Good Morning. Please calrify the below issue about reverse proxy. ( The redirection is not happening from WebServer to AppServer)
    - I have installed the one WebServer with below configuration.
    - Installed Sun ONE Web Server 6.1SP6 with Sun ONE Web Server 6.1SP3 Reverse Proxy Plugin.
    - This is my obj.conf file:
    NameTrans fn="assign-name" from="/wps" name="passthrough1"
    <Object name="passthrough1">
    Service type="magnus-internal/passthrough"
    fn="service-passthrough"
    servers="http://<AppServer>:9081/wps/"
    </Object>
    - This is magnus.conf file:
    Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
    Init fn="load-modules" shlib="/opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"
    Init fn="load-modules" shlib="/opt/SUNWwbsvr/plugins/passthrough/libpassthrough.so"
    When I am trying to access the WebServer URL http://<WebServer>:<port>/wps/ is not redirting to AppServer URL i.e (http://<AppServer>:9081/wps/).
    - Please find the log file as below :-
    [26/Nov/2006:10:52:11] warning ( 5727): for host 172.16.5.63 trying to GET /wps/, send-file reports: HTTP4142: can't find /opt/SUNWwbsvr/docs/wps/ (File not found)
    - I am confusing it searching the "wps" directory under the doc root directory.
    Kindly help to suggest me to resolve the issue.
    Thanks a lot in advance.
    Best Regards
    Elayaraja.K

  • Change the redirect URL sent to reverse proxy

    Hi all,
    My system is composed of a reverse proxy(Apache 2.046) and a backend webserver (Oracle HTTP Server).
    To connect to a web application on the back end web server, the Internet user connect to reverse proxy via HTTPS and the reverse proxy forward the request to backend webserver via HTTP.
    Example :
    Internet user type :
    https://myreverseproxy/myWebApp
    The reverse proxy translate this to :
    http://mybackendserver/myWebApp
    The problem is myWebApp do a redirect like this:
    http://myreverseproxy/myWebApp/login.jsp
    How can I config the reverse proxy to change the redirect URL to :
    https://myreverseproxy/myWebApp/login.jsp
    Thank you in advance

    Hi Ove
        That is working fine.. Only thing i did is mapping node to /author . But is it possible to hit the author instance only wen i type http://localhost:4502/author . Ie: if I type http://localhost:4502 it should not resolve to my login page
    Thanks
    veena

  • ACE: SSL termination, Probe and Redirect problem

    Hello,
    I have problem with three things: -1) SSL offload, -2) probe, and -3) server redirect.
    1) I made SSL offload like shows attached file with "show run". But during going to the VIP address by the browser: https://192.168.254.143 I get window with Java error: java.lang.NullPointerException - I have to click OK on this window and then can work fine. Without SSL offload I don't have this error message in window.
    When I have SSL offload I have following configuration:
    ssl-proxy service SSL
    key klucz.pem
    cert certyfikat.pem
    serverfarm host SFARM
    rserver S1 8080
    rserver S2 8080
    policy-map multi-match SLB-POLICY
    class SLB
    ssl-proxy server SSL
    Without SSL offloading I have only this:
    serverfarm host SFARM
    rserver S1 (without 8080!)
    rserver S2
    2) Right now I have two real servers and I send traffic to them by port TCP 8080. So I made probe to check TCP 8080 port availability.:
    probe tcp TCP_8080
    port 8080
    interval 15
    passdetect interval 60
    serverfarm host SFARM
    rserver S1 8080
    probe TCP_8080
    inservice
    rserver S2 8080
    probe TCP_8080
    inservice
    I want also check port TCP 6400 availability, and I only one from port 8080 or 6400 don't work - make real server unavailable. So must work TCP port 8080 ang 6400 togethet to treat real server as operational.
    So I want to make something like this:
    probe tcp TEST
    port 8080 and 6400 !?! - ofcourse It is impossible but I want to make config with this functionality.
    How to do this?
    3) I hant to make that when I write in browser https://bo.kw.coig.biz/ = https://192.168.254.143 I want to be redirected to one of real server on address: https://bo.kw.coig.biz/businessobjects/enterprise115/desktoplaunch/InfoView/logon/logon.do
    I made something like this:
    rserver redirect S3
    webhost-redirection https://%h/businessobjects/enterprise115/desktoplaunch/InfoView/logon/logon.do 302
    inservice
    serverfarm redirect REDIRECT
    rserver S3
    inservice
    policy-map type loadbalance first-match POLICY-TYPE
    class class-default
    serverfarm REDIRECT
    But this configuration dosn't work. I have in browser window with error messeging.
    How to do this?

    1/ this is a java problem.
    Java is telling you that it attempted to use a null pointer. You need to check with the people who created the java program
    2/ you can configure multiple tcp probe, one for each port you need to monitor and assign all the probes to the serverfarm.
    BTW, you can assign the problem to the entire serverfarm so you don't need to specify it for each rserver.
    3/ the problem with your redirect is that you applied to class-default.
    So even a request to ...../logon will be redirected to ...../logon.
    Therefore you just created a nice loop.
    You need to create a class-map to only match the url "/" so the redirect is only applied then.
    Gilles.

  • IPad Safari redirect problem

    I've had my iPad for 3 days now and about an hour ago it started redirecting to www.theregister.com no matter where I am on the internet.  I could be on news.bbc.co.uk, click on a news item and suddenly I'll be redirected to www.theregister.com.  I could be on google.co.uk, do a search for 'iPad' and suddendly be redirected to www.theregister.com and so on.
    I've not downloaded any new apps today and I've switched my iPad on and off, but no luck.
    Has anyone had the same problem?  How did you fix it?

    Did you try clearing cache? If not, try it.
    If that fails, try a reset. Settings, General reset.

  • URL redirect problem

    Hello,
    I am trying to redirect to a URL (preferably in a new browser window), but cant get the URL to be constructed correctly. When I try to use a button and put something like this in to the URL Target field:-
    http://emasanwkdfllh0.emea.com:7055/tou/swf/TouClient.html?view=&p4_tou_vil_id.%3A&p4_tou_vil_name.
    As suggested in an answer to a similar question in another thread, the URL that gets generated actually contains the strings "&p4_tou_vil_id." and "&p4_tou_vil_name.", rather than the contents of those two page items. I have verified that the items contain the appropriate values using the session button on the developers toolbar, but when I hover over the button, the URL displayed has the above strings, and when I click on the button the app that gets launched fails because it doesn't understand the values passed to it - it is expecting, for example "55" and "COPD", but receives "&p4_tou_vil_id." and "& p4_tou_vil_name."!!
    I have tried using ":p4_tou_vil_id" and even "#p4_tou_vil_id#", but these also end up directly in the URL.
    I also tried using an HTML region, putting the following (without the "_" in "h_ref") in the region source as follows:-
    <a_href="http://emasanwkdfllh0.emea.pfizer.com:7055/tou/swf/TouClient.html?view=&p4_tou_vil_id.%3A&p4_tou_vil_name.">TOU Plot</a>
    This suffers from the same problem as above.
    What schoolboy error am I making here?
    Thanks,
    Sid.

    Thanks Chris, that worked great for the HTML region.
    For the button though?
    I figured out I needed to amend the button template, which now looks like this:-
    <table cellpadding="0" cellspacing="0" border="0" summary="" class="t16Button">
    <tr>
    <td><img src="#IMAGE_PREFIX#themes/theme_16/t16Button1Left.gif" width="3" height="18" alt="" /></td>
    <td class="M" valign="middle"><a_href="#LINK#" target="_blank">#LABEL#</a></td>
    <td><img src="#IMAGE_PREFIX#themes/theme_16/t16Button1Right.gif" width="3" height="18" alt="" /></td>
    </tr>
    </table>
    And the button now opens a new tab - but the tab is blank, and the URL field is empty. Where did the URL go?
    Thanks again,
    Sid.

Maybe you are looking for

  • IPod Touch 2G No Longer Sees Photoshop Elements (PSE) Album Photos

    Hello Forum, All was working fine. I would create an album in PSE 7 on Win XP, my iPod Touch would see the album and all the photos in that album, successful sync, and copies of the photos would be stored on my iPod Touch. Then for data security and

  • In REUSE_ALV_GRID_DISPLAY, significance of I_BUFFER_ACTIVE !

    Hi All, We have a Report prog, which is shceduled as Batch Job. Now what happens is this batch  job gets cancelled due to lack of memory Below is the FM used in the prog.     CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'          EXPORTING               I_B

  • Website created in FrontPage does not display correctly in Safari

    Using StoreFront software (PC based only), we have created a website that performs beautifully in Explorer and Netscape on a PC. For some reason, not all pages open properly on a MAC. It is the left column that does not open properly on the dynamical

  • NoClassDefFoundError when I use "package" keyword

    Hi, When i put the class into a package, i got the following error message: "Exception in thread "main" java.lang.NoClassDefFoundError: Data (wrong name: suncertify/db/Data)" But when I delete the "package" keyword, it works fine. why is that? Thx. a

  • ABAP Query Execution via Custom Transaction Code - Not working

    We have created an ABAP Query in our DEV client and we then created a transaction code to run that query. We have done this because the customer does not want anyone to have access to SQ01, SQ02 in production. This works great in DEV but we can not g