|
|
The type Date is ambiguous jsp error
Wed, 05/04/2011 - 10:11
How to resolve the following exception in JSP i was just trying to define a new date.
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 411 in the jsp file: /raj.jsp
The type Date is ambiguous
411: Date vupto=new Date();
Similar entries
- The operator < is undefined for the argument type(s) java.util.Date, java.util.Date
- How to compare two dates in jsp
- How to add or subtract days in a date using JSP
- How to resolve Parser Error Message: An error occurred loading a configuration file in ASP.NET
- Configuration error- authentication mode = "Windows" in web.config of ASP.NET
- conversion of date to DD-MMM-YYYY format in asp.net
- Uttar Pradesh Class 12th Intermediate Exam Time Table 2012
- How to hide post date and time in blogger
- ASP.NET error-this type of page is not served
- How to format datetime in SQL query
If you have imported both java.sql.* and java.util.* then both of these has different classes so be specific write java.util.Date instead of simply writing Date.
java.util.Date vupto=new java.util.Date();