• Post Reply Bookmark Topic Watch Topic
  • New Topic

spring mvc sending email got error check the code

 
Bhushan Ramse
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my EmailController.java file

EmailController.java



This is my EmailSender.java file



This is my EmailMessage.java file



This is my emailConfiguration.xml file under src/main/resources/META-INF



This is my applicationContext.xml under the view folder



This is my email-servlet.xml file under view folder i.e. src/main/webapp/resources/WEB-INF/view



This is my index.jsp file under the WEB-INF folder



This is my pom.xml file



This is my console of Spring Tool Suit IDE

 
Liutauras Vilda
Marshal
Posts: 3401
131
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, and where is the most important part, an error you are getting?
You attached partial console output, which is an intro only.
 
Bhushan Ramse
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I run the program and click on this link   'Click here to Load Email Form' then I got following  error -----

HTTP Status 404 - /mypackage/WEB-INF/view/EmailFormView.jsp

type Status report

message /mypackage/WEB-INF/view/EmailFormView.jsp

description The requested resource is not available.
Pivotal tc Runtime 3.2.2.RELEASE/8.5.6.B.RELEASE
 
Liutauras Vilda
Marshal
Posts: 3401
131
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, the error message appear to be quite descriptive:
/mypackage/WEB-INF/view/EmailFormView.jsp
The requested resource is not available.
Do you have that email form created?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!