Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: phead
  • Order by date
  1. phead

    Linking to an alternative filename

    I have a situation where an application is saving attached documents to a directory with a unique name, so if I save "document.doc" it saves to disk as "ABCD1234". I want to provide a link to this document, but if I use a normal HTML link I don't get the correct filename, and the browser...
  2. phead

    Improper use of string?

    Sorry I don't understand that are you saying that session parameters are not saved between different jsp files?
  3. phead

    Improper use of string?

    Hmmmm, your correct, moving the get attribute to directly below the other two lines works, it just doesn't work when in another jsp that is being called. SO String s_param = request.getParameter("PP"); session.setAttribute("S_PARAM_IN", s_param); String X= (String) session.getAttribute...
  4. phead

    Improper use of string?

    I'm just using String passed_param= (String) session.getAttribute("S_PARAM_IN"); to get it, as I said using a quoted string in place of the variable works fine, I assumed this line would be okay based on that.
  5. phead

    Improper use of string?

    I'm sure this is quite simple, but it defeats me. I'm using: String s_param = request.getParameter("PP"); Thats fine, and I can print s_param. Then session.setAttribute("S_PARAM_IN", "TEST"); That also fine, and I get get it later and print it, but session.setAttribute("S_PARAM_IN"...

Part and Inventory Search

Back
Top