Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reverse2Servlet

 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I finally have time to jump back on the horse and started working on Reverse2Servlet. I am having a very strange problem. When I use " in my string instead of getting a submit button I get a text box with the word SUBMIT in quotations. If I use \" or nothing in the string, I get the button. I have tried this with a standard HTML page and it does the same thing. Any assistance would be appreciated.
Matthew Phillips
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had similar problems when a single or double quote was used in the String. You have to switch the quote with the HTML quote thingy (don't know how to post it without getting a double quote back). Look in the Javaranch.common files for a class that provides the ability to switch components of Strings.
Hope this helps
Jason

[This message has been edited by jason adam (edited September 14, 2001).]
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Jason. That seemed to solve the problem.
Matthew Phillips
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic