Post to different URL or IP address

Hi All:
          I am using SimpleServlet from the servlets examples, I need to post the
          send output to different
          URL or IP address.
          Question how do I do this my new URL is http://www.xxx.com or
          10.10.xx.xxx
          This is the soure code
          public void doGet(HttpServletRequest req, HttpServletResponse res)
          throws IOException, ServletException
          try {
          res.setContentType("text/html");
          res.setHeader("Pragma", "no-cache");
          ServletPage sp = new ServletPage();
          sp = new ServletPage();
          FormElement fe = getForm(label, value, maxlens);
          sp.getBody()
          .addElement(fe.asCenteredElement())
          .addElement(MarkupElement.HorizontalLine);
          sp.output(res.getOutputStream());
          catch (Throwable th) {
          ByteArrayOutputStream buf = new ByteArrayOutputStream();
          try {
          PrintWriter ps = new PrintWriter(buf);
          th.printStackTrace(ps);
          ps.flush();
          catch (Exception e) {}
          Thank You
          David L. Wasler
          [email protected]
          

See:
* kb.mozillazine.org/Parental_controls

Similar Messages

  • Why two different URLS lead to same thread?

    My action engine nugget here
    http://forums.ni.com/ni/board/message?board.id=170&message.id=240328#M240328 
    showed up at the botom of the LV page as one ot the most Kudoed and when I hit that link it takes me to here
    http://forums.ni.com/ni/board/message?message.uid=503801#U503801 
    THey both seem to be the same thread but different URLs. Why?
    Just curious*,
    Ben
    * Don't expect me stop asking question now. It is way to late for that to help.
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Solved!
    Go to Solution.

    Ben wrote:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=240328#M240328 
    http://forums.ni.com/ni/board/message?message.uid=503801#U503801 
    THey both seem to be the same thread but different URLs. Why?
    I would think that the forum is just a huge database of posts with a front end that formats the pages dynamically.
    Apparently, a post can be addressed either from a global ID (URL#2) or from a board/boardID (URL#1). Same difference.
    LabVIEW Champion . Do more with less code and in less time .

  • Moving host header site collections to a different URL

    Background:
    We have a SharePoint 2010 farm with a single web app.  Within this web app, we have over 40 site collections.  Unfortunately when they were created, they were all put under their own explicit managed path.  So now we have over 40 managed paths
    and the recommended number of managed paths is 20.  We are planning to create wildcard managed paths and move site collections from
    https://servername/sitename to
    https://servername/U/sitename to reduce the number of managed paths. 
    The implications of this are clear for site collections that are not host header site collections.  Site collection admins will have to adjust any URLs that refer to items in the site collection.  It is less clear for host header site collections. 
    From the user's point of view, the host header URL itself will not change.
    1.  Will internal links in the host header site collections need to be adjusted like in regular site collections?
    2.  Will the e-mail address of e-mail enabled lists and libraries change?
    I would be grateful if anybody has an answer to this.
    Sheila

    If you moved http://sitename.webapplication.domain.com (ie. a host named site collection) to http://webapplication.domain.com/managedPath/sitename then it would obviously have a different URL.
    That is not what you were describing in your first post, the terminiology is a little specific and I think you're getting it a bit wrong. A web application (often) has a host header, that will not change moving a site from an explicit path to a wilcard path.
    A host named site collection is very different and more complicated
    If you are planing on converting
    http://webapplication.domain.com/site1
    http://webapplication.domain.com/site2
    http://webapplication.domain.com/site3
    to
    http://webapplication.domain.com/sites/site1
    http://webapplication.domain.com/sites/site2
    http://webapplication.domain.com/sites/site3
    Then you are not using Host Named (or host header) Site Collections, those are bog standard managed path site collection addresses.
    Now to answer your question: for users to access the sites after the move they must use the /sites/siteX version, if they use an old link then it will not work.
    There is a trick in SharePoint that will keep links that exist within the site collection consistent so that some URLs will be maintained. This is called a relative URL and means that URLs that are within the same Site Collection will automatically work
    with the new URLs.

  • How to post a link (URL) in "Apple Discussions"

    You can shorten your links (URLs) by using HTML coding.
    This is preferable when the URL is very long. Posting the entire URL can extend the width of a post beyond the range of many computer screens. This can make a post difficult to read, as it necessitates sideways scrolling.
    This is the format to use:
    <a href="Insert URL Here">Type Title Here</a>
    The quotation marks are necessary.
    This link Search Apple Support, would be formatted like this:
    <a href="http://search.info.apple.com/">Search Apple Support</a>
    The title can be anything you choose.
    To avoid typos, it is helpful to go to the web page you are linking to, and copy & paste the URL from the address bar of your browser.
    Some helpful Utilities:
    level4 "Panther only" at present
    Typeit4me
    And for more HTML tricks, check this out How Can I Format My Post by Joerg Weise
    Have Fun!
    ali b

    How to post a link (URL) in "Apple Discussions"
    You can shorten your links (URLs) by using HTML coding.
    This is preferable when the URL is very long. Posting the entire URL can extend the width of a post beyond the range of many computer screens. This can make a post difficult to read, as it necessitates sideways scrolling.
    This is the format to use:
    <a href="Insert URL Here">Type Title Here</a>
    The quotation marks are necessary.
    This link Search Apple Support, would be formatted like this:
    <a href="http://search.info.apple.com/">Search Apple Support</a>
    The title can be anything you choose.
    To avoid typos, it is helpful to go to the web page you are linking to, and copy & paste the URL from the address bar of your browser.
    Some helpful Utilities:
    level4 "Panther only" at present
    Typeit4me
    And for more HTML tricks, check this out How Can I Format My Post by Joerg Weise
    Have Fun!
    ali b

  • How do I unhide the URL window/field that allows me to directly enter a different URL without using the Search Window/field?

    I need to unhide the window or field that allows me to DIRECTLY enter a different URL. I do not want to use the search engine. I want to manually enter the URL of my choice and go DIRECTLY there.
    So, how do I unhide the URL window?

    It is still there at the left most part part of the address bar, but you have to press and hold the trackpad to use it.
    Click the Share (arrow out of the box) button  to add  bookmark.

  • Seeing full URL in the address window

    When using Weblogic, is there a way to not show the full URL of pages within an app?
    After logging into an application, I can copy the URL displayed, open a new IE session, paste the URL in the address box, and be taken directly into the application without having to log into it. This seems to not provide the greatest security for an on-line app.

    Eh? Why not? Both IE windows are part of the same process, on the same computer, being run by the same guy. Not really a problem re: security.
    Try emailing the URL to someone else on a different computer, and see if they can open it. If so, that's a problem.
    To increase the security a bit you can not allow session identifiers on the URL (cookies only) and then require HTTPS for all connections.
    There are other things you can do but let's start there...

  • ITunes U Sending Different URLs when Retrieving RSS Feed

    We have a .aspx page that generates RSS feeds for all of our classes on iTunes U, some of which are private and some public. For the private classes, we're checking the signature iTunes U sends along in the URL to make sure the request is coming from iTunes before giving back the RSS feed for the class (with the correct content type), otherwise we return a 403 status.
    The problem we're encountering is that iTunes is sending 3 different URLs when entering the RSS feed address in iTunes.
    For example, one of our rss feed URLs might be http://www.sitename.edu/rss.aspx?classid=10 .
    iTunes U is sending requests to
    http://www.sitename.edu:80/rss.aspx?classid=10,
    http://www.sitename.edu:80/rss.aspx?classid=10&time=foo&userID=foo&signature=foo ,
    and
    http://www.sitename.edu:80/rss.aspx?classid=10&time=foo&userID=foo&signature=foo &time=bar&userID=bar&signature=bar .
    The first and third URLs both fail our check. As of a couple of weeks ago iTunes U was pulling in our private feeds just fine, but this week when we put in a URL iTunes U fails to get the feed with an error ("iTunes U could not update the content because iTunes U could not reach the specified feed. Verify the feed specified in the feed URL field is available, and then try again."), presumably because of the 3 different URLs it's sending at the same time. (We haven't changed the way our feed works in that time.)
    We're using Type: Feed, Security: None, Signature: Append SHA-256 Signature, Check for changes: Daily, and I'm entering the URL into iTunes U as http://www.sitename.edu/rss.aspx?classid=10 .

    Any word on this? The only people that could really check on this are at Apple. From the documentation, it's pretty clear that the only URL iTunes U should be sending is the one with one time, userID, and signature, plus it was working until the multiple URLs started being sent.
    We really can't leave off the security check because of copyright issues (students in the class are legally allowed to view the materials but anyone outside is not).

  • 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 ....

  • No Password account/Different URL

    How do you in Oracle9iaswe create an account that does not need a password? How to I create a different URL address?
    I have an application that gives the road report and we want everyone to be able to access the information. I would also like to give it an address of something like http://go.domainname.com instead of http://domainname.com/ptg/rm.

    Perhaps you can implement the automatic logon. Check it out at:
    http://otn.oracle.com/sample_code/products/iaswe/content.html
    I have a question for you: do you have an answer on my question about implementing a log off procedure (placed on the 31st of January)?

  • I publish identical podcasts under different URLs.  How can I combine them into one?

    Over the years, my URL has changed a couple of times.  I didn't know (until recently) how to notify iTunes that the podcast location and URL had changed.  So, now after a number of years, I have three identical podcasts, each with different a different URL and a different list of subscribers.  I have them pointing to the same source file now, but I would love to combine the podcasts into one so that the subscribers from each are merged together and they don't show up as three possible subscriptions in iTunes.  Is this possible?

    You can't merge them: all you can do is to ask to have two of them deleted, and of course if you do that you will lose any ratings. However existing subscribers should all be using the same feed if the three Store pages are all using the same feed, and so removing two of them won't have any effect on subscribers.
    The method of getting a podcast removed is detailed here:
    http://www.apple.com/itunes/podcasts/specs.html#removing
    When you explain why you want each one of the two you choose removed, specifically say that the same feed is in use in three places, so you can't use the 'itunes:block' tag (because this would block all three).

  • How can I send to a different URL link than what the text states in Acrobat?

    Hi there
    I know how to create URL links in my document using Acrobat but
    How can I create a link that goes to a different URL desintation other than the one the text states?
    For example
    the text states
    www.aaaaa.com
    and I want it to state this,
    but I want the link to direct to
    www.aaaaa.com/abcdefghijkl
    I dont want to have to create a link object, I want it to stay as text?
    Is this even possible?
    Any advise?
    Thanks

    try67 wrote:
    Actually, it is possible to specify your own tooltip text, if you use a
    button instead of a link.
    You just set the button's action to "Open a weblink" and it will act the
    same as a link, but you'll have more control over how it looks and behaves.
    Hi there
    I cant see the term "Open a weblink". Can you advise please?
    Also then how do you change the "Tooltip text" please?

  • Can not copy a URL from the address bar/line

    Why is it proving so difficult for me to copy a URL from the address bar using Safari?  When I click on the link I want to copy, it does not highlight.  I have used Command L and Command C, and that works but there has to be a simpler way.  I also read that if I click the address bar once, then press the control key and click on it again that a menu would appear with cut, paste, copy.  That does happen, but all options are greyed out, and not selectable.  Another google search resulted in someone saying there was a button or arrow to click on and that this tool would copy the URL.
    The URL I am copying is very long, longer that the address bar window
    What Gives Here?

    Click the icon (favicon) to the left of the URL.
    That will select the entire URL.
    Command C will copy the URL.

  • How to link web app item to different URL other than detail page

    Hi, this is probably a bit of a stupid question but I can't find the answer anywhere.  On my site, I have projects set up as web apps--I want the customer to be able to click on the title or image for the web app and for it to link to a PDF or blog page, NOT the detail view.
    So I want the app title and image to link to a different URL, not detail view.
    Here's the page in question, if that helps: http://sherrihaab.businesscatalyst.com/projects
    Thanks in advance for any help.

    {tag_name_nolink} - Will make the title with no link wrapped around it
    {tag_yourimagefield_value} - Will give you the raw source of the file location
    You can then form your own image html and links wrapping this and the web app item name text.
    To form the link source to go to - create a text custom field and just type or copy and paste a url into that field.

  • MR8M post a different GL account versus MIRO

    Hi Gurus,
    Any idea why MR8M posted a different GL account from the original entry? here are the entries:
    MIRO
    Debit- GR/IR clearing      100
    Debit- Expense(manual)    20
    Credit- AP vendor                120
    MR8M  
    Debit- AP vendor          120
    Credit- GR/IR clearing         120
    This entry resulted to a difference in GR/IR clearing account and the user do the clearing manually in FI.
    Why is it MR8M did not reverse the Expense entry and posted to GR/IR clearing instead?
    Thanks a lot for your time.
    Cheers,
    Dru

    hi
    when u post MR8M ,the invoice is get reversed but the FI entries u have to clear manually ,it is done by FI peoples
    FI documents need to be cleared manually using Trsnactions F-04 for G/L accounts & F-51 for Vendor accounting documents
    You can also automatically clear using F-13
    Mention the Documents number & clear the items
    Please get in touch with FI Consultant.
    regards
    kunal

  • Why is it that now, when I click on a link for a website I've saved, it does NOT show the URL in the address bar? I can't drag it to an email to share the link.

    Why is it that in these newer versions of Firefox (I have 21.0), when I open a link that I've saved, it does NOT display the URL in the address bar any more?
    I can't drag and drop the link into an email, and I can't see the actual web address I'm connected to for reference OR for security purposes. Why was this changed?
    It becomes necessary to reveal the properties of the URL link I've saved, using the Windows "Properties", then copying and pasting the URL into the Firefox address bar, before I can do anything with it.

    No changes have been made and no problem with extensions has interfered with the URL appearing in Firefox before. Only with the last few new versions of Firefox has this cropped up. Also, the link opens correctly - it just doesn't display the URL in the address bar, instead it just reads (in gray) "Search or enter address." How could another extension interfere if Firefox is the sole program associated with .htm, .html files?

Maybe you are looking for