File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Getting contact list from gmail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Getting contact list from gmail" Watch "Getting contact list from gmail" New topic
Author

Getting contact list from gmail

sravani
Greenhorn

Joined: Dec 06, 2008
Posts: 4
hi,

i have to get the gmail contact list using jsp code. For that purpose i have to use the Google data Api




By using like that code i got the errors as


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 2 in the jsp file: /importcontact.jsp
Generated servlet error:
ContactListImporter cannot be resolved to a type

An error occurred at line: 2 in the jsp file: /importcontact.jsp
Generated servlet error:
ContactListImporterFactory cannot be resolved

An error occurred at line: 2 in the jsp file: /importcontact.jsp
Generated servlet error:
List cannot be resolved to a type

An error occurred at line: 2 in the jsp file: /importcontact.jsp
Generated servlet error:
Contact cannot be resolved to a type


org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

We think these are errors comes due to the didn't have the proper jar files.In that i didn't place any jar files in lib folder.

If these error comes due to jar files please tell that what jar files i have to to place in the lib folder.
otherwise please tell that whats the problem in my code.
Amol Nayak
Ranch Hand

Joined: Oct 26, 2006
Posts: 218
Is the thirdparty jar present in your webapp's WEB-INF/lib directory?
You also need to import java.util.List.
[ December 07, 2008: Message edited by: Amol Nayak ]
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 813

Your jsp code please..


Regards, Sud.
SCJP 5 ScjpFAQ JLS
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"sravani",
Please check your private messages regarding an important administrative matter.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: Getting contact list from gmail
 
Similar Threads
JR Free Web Chart Component
mail sending in jsp
problem in custom tag library
Problem using JFreeChart
Upload and Download files just like attachments in JSP