Reeta Mittal wrote:
>
> Hello Everyone,
>
> I am getting a very typical problem. I am trying to access a CORBA service
> from my JSP.
> For this I have to import the org.omg.CORBA.* classes. Now when I run this
> then system is including java.lang.Object class also (as a part of creating
> servlet). java.lang has a class Object and org.omg.CORBA also has a class
> Object. Generated code (generated by servlet engine) is having a line
> Object page = this;
Just change to
java.lang.Object page = this;
> At this line I am getting the error "Ambigious class name java.lang.Object
> and org.omg.CORBA.Object". This is very obvious.
> But why system is generating such kind of code. Is it a bug or some problem
> in my coding ?
>
> I am totally stuck with this. If anyone can help me thenit would be a great
> help.
>
> Thanx & Regards,
> Reeta
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
--
Sincerely yours,
Vladyslav Kosulin, Kharkiv, Ukraine
([EMAIL PROTECTED])
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html