This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 818

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting contact list from gmail
 
Similar Threads
mail sending in jsp
Problem using JFreeChart
Upload and Download files just like attachments in JSP
problem in custom tag library
JR Free Web Chart Component