Results 1 to 5 of 5

Thread: URL Hiding

  1. #1
    Join Date
    Jan 2008
    Posts
    24
    Rep Power
    0

    Question URL Hiding

    I am doing a project in java...
    I am using Servlets, JSP and JDBC....
    I have many JSP files in my code...
    What I want is to hide the URL...

    Eg) Instead of localhost:8080/myproject/myjsp.jsp?a=xyz

    I want it as something.com

    If it is possible, please help me...

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Its fairly easy to have your jsp pages map to something cleaner.
    But no matter what, if you have fee.jsp, fie.jsp, foe.jsp and fum.jsp
    you have to have four URLs.

    They can be something like:

    http://something.com/fee
    or
    http://something.com/fum

    This is controlled by the setup of apache, tomcat, or whatever you are using as a front end.

    And it assumes that you own the domain http://something.com
    and have properly set it all up.

  3. #3
    Join Date
    Jan 2008
    Posts
    24
    Rep Power
    0

    Default

    Thanks for ur interest Mr.Fishtoprecords.
    But is there any way so that the user gets only a particular name throughout the site...
    Whatever the page he visits in my site, he should get the same url.

  4. #4
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    You have have any example sites that do what you claim to want to do?

    Urls are not secrets.

  5. #5
    Join Date
    Jan 2008
    Posts
    24
    Rep Power
    0

    Default

    I came across couple of such sites, but don't remember one, will let u know once I get it...

Similar Threads

  1. Hiding parameters from URL
    By Saurabh321 in forum New To Java
    Replies: 0
    Last Post: 02-05-2008, 01:43 PM
  2. hiding inherited methods
    By java_fun2007 in forum New To Java
    Replies: 1
    Last Post: 01-05-2008, 03:16 PM
  3. Hiding the frameís title bar
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-21-2007, 09:41 AM
  4. Top menu fields hiding
    By youayshu in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-13-2007, 08:10 AM
  5. Hiding a method or function using PHP file
    By Raj Singh in forum Eclipse
    Replies: 1
    Last Post: 08-09-2007, 08:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •