aspose file tools
The moose likes Cattle Drive and the fly likes CastMap Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Reply Bookmark "CastMap" Watch "CastMap" New topic
Author

CastMap

Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I am working on ReverseServlets and have a question about the CastMap in the doGet parameters. What key do I use to access the string or strings contained in the CastMap?
Thanks in advance.
Matthew Phillips

Matthew Phillips
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1721
One way to figure this out is to spill out the full contents of the CastMap then match the key(s) in the CastMap back to the HTML form to see where things are coming from.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Thanks for the help. I probably should have known that myself, but I forgot all about it.
Matthew Phillips
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1721
Well, at some point I had the exact question you did and that's how I figured it out. I was at the place where it's more fun to just play with something to get it to work than to go read mounds of documentation.
(Which I'll eventually have to do, of course, in order to feel condfident that I really understand how things are working.)
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: CastMap
 
Similar Threads
doGet exceptions
Cold Servlets
CastMap getTrimmedString() error?
error messages
CastMap tools (and JDBC assignment)