CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 I could not use Login Page with JSP

Print topic Send  topic

Author Message
Serkan
Posted: 01/29/2002, 6:42 AM

The error is:

Generated servlet error:
C:\Program Files\Apache Group\jakarta-tomcat-4.0.1\work\localhost\atik\JSP\LOGIN$jsp.java:799: Incompatible type for declaration. Explicit cast needed to convert java.lang.Object to java.lang.String.
String sUserID = session.getAttribute("UserID");
^

There is no problem with ASP . But it does not work with JSP.(Apache, TOMCAT)
Nicole
Posted: 01/29/2002, 7:12 AM

Serkan,
try to use
(String) session.getAttribute("UserID");

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.