aspose file tools*
The moose likes Servlets and the fly likes urgent - decoding string in servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "urgent - decoding string in servlets" Watch "urgent - decoding string in servlets" New topic
Author

urgent - decoding string in servlets

sumit vashishta
Greenhorn

Joined: Jun 14, 2001
Posts: 15
I am able to encode the string in first servlet but unable to
decode it in another servlet.
Even if I import java.net it throws exception that URLDecoder class not found !!
can't find the reason for this.
I am using javawebserver.
can there be a problem using it.
Is there any other method to decode.??
thanks in advance.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12805
    
    5
It sounds like your servlet engine is using the JDK 1.1 library for the java.net package - it had the URLEncoder but not URLDecoder. The URLDecoder first appeared in JDK 1.2
you really should consider changing to Tomcat in order to keep up with the latest Java APIs.
Bill
sumit vashishta
Greenhorn

Joined: Jun 14, 2001
Posts: 15
thanks Bill.
what you said was correct.
my problem was solved.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: urgent - decoding string in servlets