wood burning stoves 2.0*
The moose likes Cattle Drive and the fly likes Reverse2Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Reverse2Servlet" Watch "Reverse2Servlet" New topic
Author

Reverse2Servlet

Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
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

Matthew Phillips
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
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

Joined: Mar 09, 2001
Posts: 2676
Thanks, Jason. That seemed to solve the problem.
Matthew Phillips
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reverse2Servlet
 
Similar Threads
Reverse2Servlet
Reverse2Servlet question
Reverse2Servlet - spaces and quotes
The value attribute in Reverse2Servlet
Reverse2Servlet