How do I set the URL to be correct in the browser?

When I click on a link, like the following:
"http://127.0.0.1:8100/test/viewpage?cmd=viewpage&id=2808"
I then get that link appearing in the browser URL field.
However, when I go to the same page via a Servlet (and the action is activated via a Submit button) then the URL is showing something like:
"http://127.0.0.1:8100/test/viewpage"
although the page is displaying the correct/same data.
Is there a way to build the URL in the response so it is the same as going via the link above? (ie it has the rest of the parameters "?cmd=viewpage&id=2808" at the end).
The problem is that the URL ""http://127.0.0.1:8100/test/viewpage" is meaningless so for it to be useful it must have the parameters on the end.
Thanks in Advance,
The Whale

Thanks,
I did not realise it would be that simple.
So as long as I have the same INPUT fields within the form that equals the parameters I want on the URL then it works fine.
Thanks Again,
The Whale

Similar Messages

  • Directories on 2 machines. Connect to 1 using console program on the other : "Cannot connect to the Admin Server.The url is not correct or the server is not running." URL is ok, server  is running.

     

    Which version of iDS ?
    Could you show us the URL ?
    I think 4.x Admin Server has the IP address of the hosts that can connect in its configuration. If both servers have 2 different configuration Directory and 2 admin servers, that is eventually where to look for a solution.
    Regards,
    Ludovic.

  • How can I set up an older airport express using the newest airport utilities?

    How can I set up an older airport express using the newest airport utilities? Seems like there isn't an option to set this up.  Normally you could add/set up this in the airport setup assistant- but that doesn't exsist any longer.
    Thanks for any suggestions 

    How can I set up an older airport express using the newest airport utilities?
    Unfortunately you can't, since Apple dropped support of the older AirPorts with AirPort Utility 6.x.
    Using some workarounds....not supported by Apple.....you might be able to download and install an older version of AirPort Utility that would allow you to administer the older AirPort.
    See this thread for more details and instructions:
    https://discussions.apple.com/message/21397085#21397085

  • How do I set a custom time & date format in the top bar?

    Hello guys,
    Very embarassing question, because I've had Apple's for all of my life (starting with the original Apple Macintosh) but I still haven't figured out one thing
    How do I set a custom time & date format in the top bar?
    When I go to System Preferences > Language & Text > Formats I can set different formats. I have no idea where you will see these, but I know that it's not the top bar where the time and date is being displayed. Because no matter what I enter, the format in the top bar will stay the same. I can only choose things like 24-Hour clock or not, blinking dots and so on in the Time & Date settings from the System Preferences.
    Can anyone here point me in the right direction? I see you can even choose to display the week of the year - I'd love to do that!
    All help appreciated!
    Greetings

    Language & Text system preferences, Formats tab, customize dates.
    There are also many third party menu item utilities that can.  Search Macupdate.com for some.
    One search yielded iClock Pro.  Although I never used it I would think it allows customization.  The link I gave you is to the Macupdate download page for that app.  On that same page is a Similar Software section which has other apps that can do the same thing. 
    One listed is iStat Menus.  The primary use for iStat Menus is not for displaying date/time but it does do that.  And I know it can do what you want because I use iStat Menus to track temperature sensors n my machine and, like you, I want to customize the menu time/date.  So I use it instead of the apple clock.  It does have the customization features I think you are looking for.

  • How can I set a gap in a JTextField, before the active Textfield starts?

    Hi,
    how can I set a gap in a JTextField, before the active Textfield starts?
    I'll avoid, that the input text starts immediately after the border of the JTextField.
    Btw, how can I set the height of the JTextField in a BoxLayout?
    Thx.
    Hans

    Yes, that was also my thinking, but nothing happens.
    Maybe You have an idea :-)
    Thx, Hans
    Here a part of my code:
      private JPanel createEntry(String label, JTextField jtf, String initJtf, boolean editable) {
        jtf.setColumns(15);
        if (editable) {
          jtf.setEditable(true);
          jtf.setBackground(new Color(191, 191, 255));
        else {
          jtf.setEditable(false);
          jtf.setBackground(SystemColor.control);
        jtf.setText(initJtf);
        jtf.setForeground(Color.black);
        jtf.setBorder(BorderFactory.createLoweredBevelBorder());
        jtf.setMargin(new Insets(50, 20, 50, 40));   // <-  The PROBLEM
        JPanel panel = new JPanel();
        GridLayout gl = new GridLayout(1, 2);
        gl.setHgap(1);
        panel.setLayout(gl);
        panel.add(BxpCdmUtils.Utils.createLabel(label, Color.darkGray, Font.BOLD, 11));
        panel.add(jtf);
        JPanel superpanel = new JPanel();
        superpanel.setLayout(new BoxLayout(superpanel, BoxLayout.X_AXIS));
        superpanel.add(panel);
        superpanel.add(new JLabel(" "));
        return superpanel;
      }

  • How do you set a defalut theme(in this case, the theme is HiFi) so each time the computer starts, you do not to have to constantly change it??

    How do you set a default theme(in this case, the theme is HiFi) so each time the computer starts, you do not to have to constantly change it??

    for some reason the function never get's called. I have this
    MyComboBox.dropdown.addEventListener(ToolTipEvent.TOOL_TIP_SHOW,
    myListener);
    and ive tried this:
    MyComboBox.addEventListener(ToolTipEvent.TOOL_TIP_SHOW,
    myListener);
    private function myListener (e:ToolTipEvent) : void {
    trace("e: " + e.target);
    trace("e: " + e.toolTip);
    Any more ideas?

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

  • How do I get the URL to "My Photo Stream" (the base one, Not the one I created to share out)?

    How do I get the URL to "My Photo Stream" (the base one, Not the one I created to share out)?

    You can't get a url for my photo stream; only for publically shared streams.

  • How do I set up 2 different IPOD's on the same computer without having all the songs and games from the first one copy onto the second one?

    how do I set up 2 different IPOD's on the same computer without all the songs and games from 1 copying to the other?

    - Disable autosyncing: go to iTunes>Preferences>Devices and check the box that says "Prevent iPods ...syncing">
    - Connect the iPod and go to the music, apps and other panes for the iPod and check the boxes that say only sync the checked items.

  • How do I set up cloud on my mac when the cloud option is not listed in my system preferences?

    how do I set up cloud on my mac when the cloud option is not listed in my system preferences?

    Welcome to the Apple Community.
    If iCloud isn't in system preferences you will need to update your operating system.
    iCloud is part of iOS 10.7.2 or better.

  • HT201320 how do i set up read receipts for emails from the iphone?

    how do i set up read receipts for emails from the iphone?

    That is not a feature of the Mail app. Check with your email provider to see if it's a service they offer.

  • How do I set up an Auto Away Message in the Mail program?

    How do I set up an Auto Away Message in the Mail program?

    You need a mail rule that sends a response to anyone who sends you an email.
    Here's a link that shows how.
    http://www.macobserver.com/tmo/answers/how-to-create-out-of-office-auto-email-re plies-with-os-x-mail

  • I DON'T HAVE ICLOUD ON MY MAC. HOW DO I SET IT UP? WHEN I HIT THE APPLE ON THE TOP LEFT HAND CORNER & HIT SYSTEM PREFERENCES, NO ICLOUD ICON IS AVAILABLE.

    I DON'T HAVE ICLOUD ON MY MAC. HOW DO I SET IT UP? WHEN I HIT THE APPLE ON THE TOP LEFT HAND CORNER & HIT SYSTEM PREFERENCES, NO ICLOUD ICON IS AVAILABLE.

    Which version of MacOS X do you have on your Mac?
    See the System requirements for iCloud services:
    System requirements for iCloud - Apple Support

  • How does one set up two different iTunes accounts on the same computer so that they do not merge into one?

    How does one set up two different iTunes accounts on the same computer so that they do not merge into one?

    mparker402 wrote:
    So, when the other iTunes account needs to be used, I should log out of Windows and have the other user log in under a different Windows account, correct?  
    M Parker, 
    Yes, since you are trying to keep things separate, that is exactly what you would do.

  • How do you set up two different icloud accounts on the same itunes account?

    How do you set up two different icloud accounts on the same itunes account?

    Don't know what you mean.
    Please explain.

Maybe you are looking for

  • Safari quits unexpectedly when I open it

    I just got a new hard drive a few days ago and the compture guys worked on my macbook pro today because iphoto wasn't working, now that iphoto is finally working, everytime I try to open safari it would quit unexpectedly a few seconds after opening i

  • DVD Drive not recognized

    I have had some recent problems with my G4. The machine will not recognize my SuperDrive. There is a disc in there but I can't get any applications to recognize it and the eject button on the keyboard is not doing anything either. I can hear the disc

  • How do i resume a download without a resume button on the purchase section of the app store

    i downloaded a few apps. for some reason they all paused. and i cannot for the life of me figure out how to resume them. could someone possibly help me out

  • HELP...Finding Installed Ringtone Files

    Does anyone know how you find the factory installed ringtones files on a Nokia N95 and N97? I tried using explore your device on Ovi Suite, even with showing hidden files I can not find them. Any help would be greatly appreciated. Thanks in advance.

  • Tracking and logging of user accounts

    how to do tracking and logging of user accounts... monitoring of user accounts... please help