Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 3rd, 2005, 09:09 PM
Authorized User
 
Join Date: Apr 2005
Location: Arequipa, Arequipa, Peru.
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
Reply With Quote
  #2 (permalink)  
Old April 19th, 2005, 10:32 AM
Authorized User
 
Join Date: Apr 2005
Location: , , India.
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.
Reply With Quote
  #3 (permalink)  
Old April 22nd, 2005, 11:47 PM
Authorized User
 
Join Date: Apr 2005
Location: Arequipa, Arequipa, Peru.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:00 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.