0 Replies Latest reply on Mar 1, 2011 4:19 PM by 843721

    How to get the JSP line postition in Tag class?


      is it possible to determine the exact line-position in JSP files inside a Tag (or TagSupport Class)?
      We need this to generate a unique, but don't variable ID, it must the same by every request. (Depending on the actual position in the JSP)

      We've thought about the possibility to generate a ID over the StackTrace, but we aren't shure if this is a save method, cause every Webcontainer may translate the JSPs in a different way.
      (It must work on every web- or j2ee-container)
      IDs on different containers may be different, but in the same instance they must be exactly the same. (For every position, of course)

      Thanks for every suggestions.