niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle
ClassCastException
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
srinivas
*nix forums beginner


Joined: 18 Feb 2005
Posts: 1

PostPosted: Fri Feb 18, 2005 9:27 am    Post subject: ClassCastException Reply with quote

Hi all,
Im using the function getParameterMap of HttpRequest.This is working
fine if I use it on Oracle Application Server..But If using the same on
Tomcat it is throwing ClassCastException..
My code is like

Map requestMap = request.getParameterMap();
System.out.println("Map" + requestMap);
attrValue = (String) requestMap.get("cmd");
In the above statement the Exception is thrown.. It seems String Array
is returned instead of String. But im submitting the page with only one
field. So there is no question of String Array.The same is working fine
in Oracle AppServer..

Anybody, Suggest some solution...
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 5:27 am | All times are GMT
navigation Forum index » Databases » Oracle
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts java.lang.ClassCastException at oracle.sql.StructDescript... Jose Server 0 Wed Oct 26, 2005 8:43 am

Download Anime | Credit Cards | Read Manga Online | Debt Consolidation | Secured Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0792s ][ Queries: 12 (0.0208s) ][ GZIP on - Debug on ]