Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Finding URL from a document.formname.submit()

Finding URL from a document.formname.submit()

Scheduled Pinned Locked Moved Web Development
javaquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kayhustle
    wrote on last edited by
    #1

    Is there a way I can get the actual url that a web browser loads when making a jsp call to document.formname.submit(), as sometimes the actual URL is not shown in the browser? Thank you, K

    L 1 Reply Last reply
    0
    • K kayhustle

      Is there a way I can get the actual url that a web browser loads when making a jsp call to document.formname.submit(), as sometimes the actual URL is not shown in the browser? Thank you, K

      L Offline
      L Offline
      Lee Fuller
      wrote on last edited by
      #2

      In your client-side JScript you could use: document.URL and in your server-side JSP you have: .getRequestURI() Hope this helps, Lee. -- Lee H Fuller -- lee@fullerdata.com http://www.fullerdata.com -- Life, loathe it or ignore it, you can't like it. --

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups