Hide URL

I'm developing a site using servlets and jsp pages. In the servlets I have
RequestDispatcher dispatcher = request.getRequestDispatcher(url);
dispatcher.forward(request, response);
where url is the url of the jsp page I want to load.
The thing is that in the browser it appears the name of the servlet. Besides if I have a link that refers to a servlet and I have to send some parameters the url shows all the parameters. That's because I'm using the doGet method, but I cannot use the doPost method because I don't want to put a button.
Is there any way to hide the url and to show something static?
Thanks

[{{{{{{{{I'm developing a site using servlets and jsp pages. In the servlets I have
RequestDispatcher dispatcher = request.getRequestDispatcher(url);
dispatcher.forward(request, response);
where url is the url of the jsp page I want to load.
The thing is that in the browser it appears the name of the servlet. Besides if I have a link that refers to a servlet and I have to send some parameters the url shows all the parameters. That's because I'm using the doGet method, but I cannot use the doPost method because I don't want to put a button.
Is there any way to hide the url and to show something static?}}}}}]
Hello friends!!
I am also in the same trouble, as mentioned above.In the reply it has been mentioned that response() method can be used ,but it does have some restriction ,like attribute values get lost.So do you have any othe dolution for the static URL.
Thanks in Advance

Similar Messages

  • Hide URL in PDF output in hyperlink , Maintain History within reports

    hi
    i have some issues to discuss for report output in pdf format.
    we are using java application to call reports via AS 10g, my issue are
    1) Hide URL in PDF output for hyperlink created.(Using username/password in Key is not enough)
    2) Maintain history as i call second report from my parent report then i want to go back to parent report.(Note here go.history or history.go(-1) work in HTML output format but not in PDF)
    3)To Call Child PDF report in new window(here again working fine target="_blank" for HTML output but not for PDF)
    regards
    abid

    Hi Ram,
    Not sure if this is possible.
    However, one workaround might be the following:
    1. Write a javascript that submits the URL using, say a POST method, and does not show the parameters in the URL. You will have to write this javascript code in the "Before Report" Report Escape. For a generic example on how to use javascript in a report, see Metalink Note 125652.1. This note shows javascript to disable the right-click of the mouse on the report output.
    2. Use the Hyperlink peroperty of the report to call this javascript function, eg,
    javascript:myfunction('http://machine:port/reports/rwservlet?report=...+server=...+empno=&empno')
    I am not a javascript expert, so I cannot give you an example of the function, but I hope someone in your team can find out.
    Navneet.

  • Report 11g -  Hide URL

    Hi,
    I am calling the report from the oracle forms by using web.show_document working it is fine . Here here problem is url is showing all the parameter and if some one copy and paste and it is working which i don't want(it has security issue ) . I need to Hide URL or when i click the button from the form it should me to save or open PDF.
    I would appropriate iif some one give me a good solution or suggestion .
    Thanks
    Mani

    did you try my suggestion. There is also a url to show the result with RUN_REPORT_OBJECT and that url can also be copied to another browser to show the result (if you want that)

  • Hide URL using srw.run_report

    I called a report from a form 10g using RUN_REPORT_OBJECT which hides url.
    Now i called a report with in report using srw.run_report which shows hole url in the browser.
    I want to hide url.

    Can I use this build it to run itself? I mean in your case run report A?
    our report is launched from servelet. because of some security issues, I would like to use this built in to change it to command line after user enter all the parameters through the parameter form.
    thanks.

  • How do i hide urls in the address bar

    hi can u tell me how to hide urls in the address bar or to encrypt it
    thanks

    Ok how do you do that without using a popupWhat popup?didn't you see watercolours post about popups? i think you need to reread the thread ....

  • How to hide url of third party external/partner application

    I have a third party external oracle application arcims by the esri corporation that I have on a test portal.
    It has it's own password authentication. In order to have sso work i have to turn off its password request.
    The problem is that the URL address shows in the portal. Anyone could simply type in the URL and access the application directly and bypass the portal login. Can One hide or wrap the URL in portal? If so HOW is that done?

    Since you'va already made Java non-portable by using Runtime, you're probably bbest off using the OS's capabilities to find the program's path.
    If the 3rd party program was always contained in Java's classpath list, you could use Class.getResource().

  • How to Hide URL  of reports when run Report 10g.

    Hi ,
    When end user runs a report through a form then report output is displayed and following type of URL is also generated on address bar of browser: http://server:7778/reports/rwservlet/getjobid22243?server=rep_servername_appsrv
    Can we hide this URL so that the user cant change the JOB_ID and get access to other previous reports.
    Thanks & Regards,
    NL

    Put the following In the format trigger of the repeating frame:
    return :cs_cnt > 0;
    Here cs_cnt is the summary column counting details per master.

  • How to cload (hide) URL in DW CS3

    Hi,
    I'm making a members only section in my website for paying
    customers only. I'm making my pages in .aspx format so that
    visitors have to login. However on some of these aspx pages there
    are PDF files which containing hi-rez copies of the pages. On these
    PDF pages the URL is not .aspx and meaning that people who are not
    members can access the PDFs if they know or learn the URL to the
    PDFs. Is there any way to cloak or hide the URL of certain pages in
    DW CS3 so that visitors can't see what page they are going to in
    the URL bar? (I think that cloaking, generally in DW, refers to
    something to do with synchronization local and remote sites). I am
    using the word 'cloaking' to mean 'to hide' the URL so visitors
    won't know the URL of the page they are visiting.
    Any assistance with this would be greatly appreciated.
    Jane

    No, DW has no such 'feature'. You would need to use server
    side scripting to stream the content to the browser.

  • How lock or hide URL LOCATION in a external windows WDA

    Hello guys...
    I am traying to hide or block the URL which i am using in a external window. I have coded this:
       call method lo_window_manager->create_external_window
    exporting
       url            = lv_url
       modal          = abap_true
       has_menubar    = abap_false
       is_resizable   = abap_true
       has_scrollbars = abap_true
       has_statusbar  = abap_false
       has_toolbar    = abap_false
       has_location   = abap_false
    receiving
       window         = lo_window2.
    *lo_window2->open( ).
    But, firstly the MODAL parameter doesn't work with external windows (It's Obsolete) So I can't use it, because I have to forbid the navigation between windows. I tried to close the main windows before open URL but it doesn't work either.(Appear a waring that you window wants to be closed) so then I used that:
      lo_windows->fire_exit_url_plg(
        url = lv_url                              " string
      lo_windows =   wd_this->get_windows_ctr( ).
        lo_windows->fire_exit_close_plg(
          close_window = 'X'                     " wdy_boolean
    That is Ok BUT I can't BLOCK the URL or even HIDE it. SOMEBODY give the light.!!!!! pleaseee..

    You are complexing with 2 problem with 2 options.
    1. Blocking url on the external window
    2. Closing the previous window.
    1. parameter model is indeed obsolete, so only has location parameter  would help you to block the URL and it will not work for the requirement 2.
    2. When you use exit plug and navigate to new URL, your window would close but new window would not open with address bar blocked.
    No solution is fitting for your both requirements.
    Probably you have seen this example application WDR_TEST_EXIT_WITH_CLOSE
    See if it fits in your case.

  • How to HIDE URL in oracle 9i and form 6i

    hello and hi all,
    me using oracle database 9i and form 6i with application server 9i
    when me run my form at web me see
    http://hrtest/dev60cgi/ifcgi60.exe?form=login_form.fmx&width=1000&height=700&userid=*user/password@sid*
    me want to hide that url
    any body can help me
    Mahr haider iqbal

    open the frmweb.cfg file
    copy the existing configuration and paste it with new name
    there is a sepwindow seeting is there copy that setting in your configuration.
    now run the application with the url and config setting.
    it will come in seperate window without url... here is the example..
    [myconfig]
    userid=
    host=
    port=
    #other seetings
    #sep window setting
    separateFrame=True
    lookandfeel=Generic
    -----------------------------------------------------

  • Urgent-.how to hide url in browser

    Hi. Avi and .All..
    here iam having some prob with URL's in browser.
    infact iam working with 9ias rel2 and iam keeping my jsp's in defaultwebapp and i have deployed my jars in /applications of oc4j_home.
    when iam login to my application initially my login page is http://localhost:7777/login.htm
    after succuess full login it is taking me to http://localhost:7777/j2ee/myapplication/test/test/loginconfirm.jsp
    what i need is i want to hide the total url and i want to display just http://localhost:7777/loginconfirm.jsp
    finally i dont want to show my url in browser to end user.how to do this?pl get back tome,as iam in very much need of this..
    thx..

    Hi..Malik..
    thank u very much for ur response.my jsps and htmls location is at \j2ee\home\defautlwebapp..
    in this \defaultwebapp i have> login.htm and login.htm will call myapplication\application1\logins\loginconfirm.jsp.(myapplication folder is under dfaultwebapp)
    what i need is i dont want to show the user "myapplication\application1\logins\loginconfirm.jsp" just i want to show loginconfirm.jsp to the end user.how to do this?pl respond on this...
    thx..

  • How to hide URL

    Hi ,
    I'm running Reports 10g from Forms 10g Application , the type of my reports is JSP , lately one of the staff started changing the "getjobid" parameter that is shown in the URL that he has access to , when he changes the number of the jobid another report is shown to him which he isn't supposed to be seeing ...
    What is the best way to avoid this ? Is there any way to hide the URL or clear the old jobs ids or anything to do?
    Thanks....

    Hi,
    This is observed incase when reportServer is not SSO enabled..If SSO is enabled then jobs can be viewed by respective SSO users. This needs Infrastructure.
    Refer this note on metalink, This talks about how to restrict the showjobs URL under standalone install.
    Note.437246.1 Which Possibilities are Available to Prevent Users from Accessing showjobs Page and getjobid in URL?:
    Thanks,

  • Is it possible to hide url in web browser when a web report is generated ?

    HI EVERYONE,
    I have to generate web report from my form , when it is generated i need to hide the url in web browser. otherwise the report can be accessed by copying the url.
    Thanks,
    RINCY
    Edited by: Rincy on Aug 28, 2008 10:19 AM

    How do you call your report? If you use run_report_object you won't see an URL. However, with a jobid you can still get the report output. Keep the cache small, or add parameter [ EXPIRATION|http://www.oracle.com/webapps/online-help/reports/10.1.2/state?navSetId=_&navId=3&vtTopicFile=htmlhelp_rwbuild_hs/rwrefex/cmdline/common/cla_expiration.htm&vtTopicId=] to avoid problems.
    Also check out [this whitepaper|http://www.oracle.com/technology/products/forms/pdf/10g/frmwebshowdoc_rep.pdf]
    Or Metalink note 437246.1 Which Possibilities are Available to Prevent Users from Accessing showjobs Page and getjobid in URL?

  • Cloak (hide) URL links in PDF

    Is there a way to cloak or hide the URL links within my PDF's? Or to prevent the MouseOver from displaying the URL link?
    Basically, I have a URL link within a sample version of a PDF that takes a potential customer to a payment page to buy the full version of the PDF. I would rather the customer not see the URL itself to avoid confusion. For example, the customer is on the resellers site XYZ but the URL takes the customer through my site ABC (to capture the affiliate data) and then to the credit card payment page.

    You can have a look at the reference files, but the basic command you need
    to use is this (of course, you can replace the address to the one you want
    to open):
    app.launchURL("http://www.adobe.com/");
    However, for this to work the user must have JS enabled and they will be
    asked by Acrobat if to allow this website to open.

  • Hide url in jsp

    in my project(JSP) ,i want to hide the url(after Login url should not be visible) ,
    please give the code for it

    OP, if your JSPs allow direct access to a database, throw them away NOW!
    JSPs should be used for display purposes only. To modify the contents of the database, a JSP form can be displayed that should POST to a servlet that validates the input. This servlet should be protected to allow access only to authorized users.
    Note that there is no real way to hide the URL or details of what gets posted to the server. You may be able to "hide" some information from direct view by using framesets, using HTTP POST instead of GET, but for anyone with a bit of sense it will be trivially easy to inspect the HTML pages and find out what happens.

Maybe you are looking for

  • Interface with multiple hard drives

    I am looking to buy a Mac Pro later this year, although want to learn about everything now, so I am well educated when I buy it ^^ I was reading around http://macperformanceguide.com/Mac-LightingFast.html and it brought up a question. Right now I hav

  • Where's the error

    hey all, plz if any one can tell me where is the error in this method, its giving me arrayOutOfBounds error:           for(int i=0; i<arr.length; i++)                if(arr[i+1] == arr)                result += arr[i]+arr[i+1];                if(resu

  • Where did the "sleep" button go?

    I turned my iPod the other day and noticed that the menu had changed and I can no longer send my iPod to sleep when I am done listening to music. The option has vanished. I tried updating the software, resetting the iPod, with no better luck. Any tho

  • Last posting date in Bex

    Hi all, Below is my requirement, there is a posting date in the cube, and while running in Bex we have to apply a logic to set the version (like actual,plan), 1. If key date (user variable ) <= latest posting date available for actual then set versio

  • 5508 DHCP questions, 2 seperate DHCP's/subnet's possible?

    I have my 5508 setup so that the management/APmanagement port is connected to a switch on vlanXX unsing port 1 active and 2 as failover. Then i have a guest interface setup using port 3 and 4 for failover connected to a different switch with its own