Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2007, 06:55 PM
Member
 
Join Date: Jul 2007
Posts: 2
venkatkomalli is on a distinguished road
This is Regarding JSP with javamail
Hi,

I am using javamail api in my project. So, for this i wrote one method with some return value. i am calling that method in jsp page at clicking on esclate button in page.

So, the flow is just like this:

search page

getting some values with one no.

If i click this no it will go to some other jsp with mail format like tomail, ccmail ,frommail. If i click on esclate button, the control will goto same previous page with some message.

Please provide me suggestions.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-16-2007, 03:06 PM
Member
 
Join Date: Jul 2007
Posts: 41
paty is on a distinguished road
I don't understand exactly what you want, can you give me more details or code?
thanks
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-17-2007, 05:39 AM
Member
 
Join Date: Jul 2007
Posts: 2
venkatkomalli is on a distinguished road
Regarding JSP with Javamail
Actually,

in my application, i need to send a mail while i click "Escalate" button.For this i wrote java mail class ie EmailUtil.java to implement sendMessage() method.
I will call this method in one jsp called wrEscCan.jsp.


Simply flow is like this:

wrStatusFind.jsp(In this we will give wr(workrequest no))

wrStatus.jsp(getting all the related values to wr)

wrEscCan.jsp (to escalate a mail to TO,CC,FROM text boxes just like our yahoo mail )

After click on Escalate button in wrEscCan.jsp, it should to goto wrStatus.jsp(getting all the related values to wr) i.e. previous page with success message or failure message as well as send a mail.


Please give me some suggestion along with code.
Thx a in advance.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-19-2007, 03:07 PM
Member
 
Join Date: Jul 2007
Posts: 9
shameel is on a distinguished road
I think through the servlet you can do it easily...

From ur Escalate button the controle will go to servlet.then u collect values which u want, then redirect to wrStatus.jsp..

hope this help u..
thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javamail v_mallikarjun Advanced Java 14 04-18-2008 08:32 PM
Using JavaMail API consult4u Networking 0 08-09-2007 11:15 AM
Sending mail Using JAVAMAIL peiceonly Advanced Java 3 07-19-2007 03:11 PM
530 5.7.0 Authentication Required - JavaMail gmail simon Advanced Java 1 07-15-2007 12:52 AM
JavaMail:Authentication required error bbq Advanced Java 1 07-05-2007 05:16 AM


All times are GMT +3. The time now is 10:29 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org