Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Casting

Status
Not open for further replies.

Hattusas

Programmer
Nov 11, 2001
344
0
0
TR
We have met a problem and have been trying to find a solution for that.We have seperate classes whose field names and field types are "same" but for some reasons we can't classify them in an upper class.
At the same time we are trying to list these classes in "one" dynamic jsp file.The classes are filled after a SQL operation then loaded into a Vector.
That is where the problem begins : We couldn't manage to cast our classes. Is there any that we can find the correct class and let the virtual miachine cast our class so that we can achieve its fields in our jsp file? Thanks

Salih Sipahi
Software Engineer.
City of Istanbul Turkey
s.sipahi@sahinlerholding.com.tr
 
Hi

Please post some example code with the error messsages and it will better help us give you a hand.

Thanks.


-=-=-=-=-=-=-=-=-
For ease of reading, any posted CODE should be wrapped by [ignore][COLOR][/COLOR] and
Code:
[/ignore] tags.

Ex:
Code:
SELECT 1 from sysobjects

 
You want to implement the functions , probably using the same varible as u havce mentioned. This would make your casting easier.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top