Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to change URL by JSP?

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy How to change URL by JSP?

    Hello, I have a problem and I find it everywhere and I could not find out the solution...
    Here is my problem...

    I have a JSP web site and there are few registered members. They all have own profile and their profile URL is going to showing as

    mydomain.com/profile.jsp?ProID=4
    mydomain.com/profile.jsp?ProID=13
    mydomain.com/profile.jsp?ProID=21

    But, I want to give them a chance to change their profile ID as

    mydomain.com/sanath
    mydomain.com/murali
    mydomain.com/mahela

    Of course as facebook's profiles...

    a db table has the list of usernames with ProID...

    How to do this pleas... please give me a solution...


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: How to change URL by JSP?

    Which part of this are you having trouble with? I suggest you start with a google search of "jsp redirect" and go from there.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. How do you change the case of a letter?
    By JavaStudent1988 in forum Java Theory & Questions
    Replies: 4
    Last Post: November 5th, 2011, 10:11 AM
  2. How to change an Imagepath
    By pottsiex5 in forum AWT / Java Swing
    Replies: 3
    Last Post: October 9th, 2011, 05:25 PM
  3. Making change
    By Jerick in forum Algorithms & Recursion
    Replies: 3
    Last Post: October 7th, 2011, 06:49 PM
  4. [SOLVED] Can't get boolean to change!!
    By Day2Day in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 2nd, 2010, 07:20 PM
  5. Change to JOptionPane
    By Liuric in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 1st, 2010, 12:07 AM

Tags for this Thread