grab value from xhtml to java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yolan
    New Member
    • Aug 2007
    • 3

    grab value from xhtml to java

    hello, I'm try to grab a value from xhtml and then parse it to my java file. can someone tell me how to do it? the sample code?thanx u... I've already goggling around but not yet found the answer
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #2
    Originally posted by yolan
    hello, I'm try to grab a value from xhtml and then parse it to my java file. can someone tell me how to do it? the sample code?thanx u... I've already goggling around but not yet found the answer

    Welcome to TSDN.
    Try to write in full English.
    Remember it's not a CHAT ROOM.
    OK.

    Grab a XHTML value and parse it to a JAVA File.
    It does not make any sense.
    Please be specific.
    Then it would be better to solve your problem.
    Ok.

    Kind regards,
    Dmjpro.

    Comment

    • yolan
      New Member
      • Aug 2007
      • 3

      #3
      I mean I have a pop-up clendar that is written in icefaces code.
      The value of date that user choose will be save at my xhtml file.

      Then after that I want to parse that value to my java file, so that I can query data from database based on that date... =D

      Comment

      • yolan
        New Member
        • Aug 2007
        • 3

        #4
        ??????????????? ??????????????? ?????

        Comment

        • mattmao
          New Member
          • Aug 2007
          • 121

          #5
          Originally posted by yolan
          Shit... why nobody answer my question. It's suck forum... Really...really shit
          Don't be like that please!

          This is but a online community, not a school or uni where you can ask your questions to the teachers or anyone responsible for that. Do NOT assume getting answers for granted, thank you!

          BTW, regrading your question:
          As far as I know, you can:
          use a form in xhtml:
          Code:
          <form id="userInputForm" method="post" action="formHandler.jsp" >
          Say something:<input id="userInput" type="text" />
          <input id="submitButton" type="button" value="submit" />
          </form>
          Then inside the formHandler.jsp , use a JavaBean to set/get the attributes you just entered.

          I am running out of my time, so just give you a hint for this:

          Anyway, any reference book would tell you how to achieve just like that, so go there for a book and study, or google for appropriate anwser.

          Comment

          Working...