Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 3rd, 2005, 09:09 PM
Authorized User
 
Join Date: Apr 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default CHP 17 "BEGINNING JSP WEB DEVELOPMENT"

Hello I have this book
"BEGINNING JSP WEB DEVELOPMENT"
ISBN is this 84-415-1352-X

the follow question is related with chapter 17 ;)

i have already download
the both jars to run the examples
but with this versions JAVA MAIL 1.3.2
and JAF 1.3.1 FCS

,well the test of TESTJAVAMAIL.JSP works!:D

but the second exmaple with yahoo, no (SENDMAIL.JSP):(
and i saw the options (at the book) of yahoo configuration related with POP and FORWARDING
that dont exist in the yahoo section option mail, so i guess that the services
are already "turning on" (if not), where the hell are the options to turn on both services?


the browser throw this error
(i think that the reason is yahoo,but maybe not...)

excepción

javax.servlet.ServletException: Error logging in. Please visit http://mail.yahoo.com
    org.apache.jasper.runtime.PageContextImpl.doHandle PageException(PageContextImpl.java:846)
    org.apache.jasper.runtime.PageContextImpl.handlePa geException(PageContextImpl.java:779)
    org.apache.jsp.jsp.sendmail_jsp._jspService(org.ap ache.jsp.jsp.sendmail_jsp:84)
    org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:99)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:325)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)


causa raíz

javax.mail.AuthenticationFailedException: Error logging in. Please visit http://mail.yahoo.com
    com.sun.mail.pop3.POP3Store.protocolConnect(POP3St ore.java:118)
    javax.mail.Service.connect(Service.java:233)
    javax.mail.Service.connect(Service.java:134)
    org.apache.jsp.jsp.sendmail_jsp._jspService(org.ap ache.jsp.jsp.sendmail_jsp:66)
    org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:99)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:325)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)

what is the solution?, and where i can download the code of this book and for
"JAVA SERVER PROGRAMMING J2EE 1.3 EDITION" ISBN 84-415-1358-9

thanks for your help!

__________________
LIVE AT POMPEII 1972
 
Old April 19th, 2005, 10:32 AM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As far as I know, Yahoo does not allow you to use their POP3 and SMTP servers if you are not subscriber of Premium service. Have a look at the following link:

http://help.yahoo.com/help/us/mail/pop/

I guess that is the reason you are unable to log into their server.

Once you have proper permissions and adhere to Yahoo settings, you should be able to receive and send emails using JavaMail.
 
Old April 22nd, 2005, 11:47 PM
Authorized User
 
Join Date: Apr 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

, i change the server, now i use this

www.cwazy.co.uk

free, and good

thanks anyway enjay

DR POMPEII, THE PLACE OF THE OBLIVION OF GOD





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me! about "beginning JSP Web Development" ddgfei JSP Basics 7 May 13th, 2006 12:52 PM
Next levet after "Beginning JSP Web Development" nolas JSP Basics 0 September 29th, 2005 04:58 AM
Beginning JSP Web Development - Ch08 Cyclops All Other Wrox Books 0 January 31st, 2005 04:12 PM
Beginning JSP Web Development Book - Struts questi gstoyanoff JSP Basics 2 February 25th, 2004 02:21 PM
Who have the code of Beginning jsp web development Robertzang JSP Basics 2 September 5th, 2003 03:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.