A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
jsp/tomcat undefined type error
Sachin tondulkar
Greenhorn
Joined: Dec 22, 2010
Posts: 3
posted
Dec 25, 2010 16:23:42
0
HI I am having problem in running jsp page.
here is the error:
http://img267.imageshack.us/img267/2/errorve.jpg
Undefined Type: com.apress.projsp.DateFormatBean
here is my javabean code:dateFormatBean.java
package com.apress.projsp; import java.util.Date; import java.text.*; public class DateFormatBean{ private DateFormat dateFormat; private Date date; public DateFormatBean() { dateformat = DateFormat.getInstance(); date = new Date(); } public String getDate() { return dateFormat.format(date); } public void setDate(Date date) { this.date = date; } public void setFormat(String format) { this.dateFormat = new SimpleDateFormat(format); } }
HELP NEEDED TIA
I agree. Here's the link:
http://aspose.com/file-tools
subject: jsp/tomcat undefined type error
Similar Threads
Error in Javac compilation for JSP
[Struts] Various questions
DateFormat Class Problem
date
DateFormat class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter