dcsimg
many of java class methods are not working when i use it in JSP, like Float.parseFloat are not working?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   naresh_nama
Posted On:   Wednesday, March 28, 2001 04:26 PM

why is it that many methods from java classes are not working in JSP with javawebserver?
Also many times i find that even if a small error like syntax error is made when i run it from the browser, the server without displaying the error it simply return HTTP 500 internal server error. how to make it pinpoint the exact error where it occured?

Re: many of java class methods are not working when i use it in JSP, like Float.parseFloat are not working?

Posted By:   Mathias_Neuhaus  
Posted On:   Thursday, March 29, 2001 06:10 AM

maybe you just forgot to import the class you try to use; for Float.parseFloat include
<@ page import="java.lang.Float" %>
whether you get a meaningful error-message depends on the JSP-container you're using; Tomcat gives you a hint to the source of the error in most cases.
About | Sitemap | Contact