This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting contact list from gmail

 
sravani
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 823
Chrome Eclipse IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your jsp code please..
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sravani",
Please check your private messages regarding an important administrative matter.
-Ben
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic