ashok ganesan

Ranch Hand
+ Follow
since Jan 02, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ashok ganesan

oops sorry for the mistake
16 years ago
[Removed Hi-Jack]
[ March 04, 2008: Message edited by: Ben Souther ]
16 years ago
hi all ,
I m using javamail api to access mails from gmail . I m using IMAP Protocol .This is the piece of code how i will open my inbox from my program



My doubt is once if we execute folder.open will all my mails in particular folder will be available in my folder Object . That is if i call folder.getMessages() will it once again hit the gmail imap server and fetch me the mails ?? or is the mail is already fetched and stored in folder object ... so folder.getMessages() is nothing but accessing some information stored in a java object ???


I think i made my doubt clearer


Thanks in Advance

------------------

Ashok
16 years ago
hi Ulf Dittmer , i think developing a application of this sort itself is a challenging for me ..because i m new to j2ee technology so developing this kind of application will surely help me to know lot about j2ee . . anyhow few hours of searching in net i got this link http://java.sun.com/products/javamail/FAQ.html . here i got some insight of javamail api and underlying technologies like smtp , pop , imap . so i m started to develop my app .
16 years ago
as for my knowledge they ban sites by explicitily adding it in their banned list or by checking if the url has some catchy keywords like entertainment , sports, etc .. so me getting get caught is a least chance because my application will be used only by me so it wont get knwon to everyone and my url wont have the suspicious words
16 years ago
In my organisation Gmail , yahoo mail and many other chat related sites are banned . So i thought of writing an application and deploying it in some web hosting site so that i can access my mails from gmail while i m working in office
16 years ago
hi , this is my requirement ... using my application i have to access the gmail account of a users id and i have to give them their mails and if they want to send mail from gmail id even then the users will be using my application . Since i m new to java mail api and mail server kind of technologies i dont have any idea about this . If someone could guide me for developing my application .

And thanks Ulf Dittmer for your reply .


regards

------------------

Ashok
16 years ago
Hi ,

i have a thought of writing a application using javamail API for accessing mails from gmail and also send a mail from my application on behalf of particular gmail id.As for my knowledge i have listed down the required details.

1. I have to write my application using java mail API
2. My application has to be deployed in Mail server like James mail server from Apache

so with this is it possible for me to develop my application with the requirement that i have stated above ???
or is James mail server is suited for my requirement or do i have to use any other mail server ???

please if someone could clarify my doubt .

I m having knowledge in servlets and jsp and i have worked in Apache Tomcat .But this is the first time i will be working in Javamail API and a mail server


Thanks in Advance

------------
Ashok
16 years ago
hi i m just developing a web page in that i have included the following code

<img src="e/foto/banghead.gif" alt="*" title="#">

but firefox is not showing the image.if i copy the image in the current folder and give like this

<img src="banghead.gif" alt="*" title="#">

it works . is the argument cant be absolute in firefox . i m not clear with the idea , if someone could give me some explanation
hi thanks peer . ya i could understand that Diamond Problem has its own complexities . but there could be a chance when one class has to extend two other classes and use the two super class methods (functionalities) and it will add its own . i just want to know how this is achieved by multiple interface inheritance.i could not the simulate the above situation with multiple interface inheritance.



-- ashoK
hi jeanne thanks for replying .i m a newbie i could not understand all these functionalities .everything seems to be very abstract i know some basics like home interface and all such things . but how containers are implementing their functionalities . if someone could explain with an example or is there any web resource where i can look for these answers


thanks

ashok
hi ,
the reason why we dont have multiple inheritance in java is it will defeat the basic logic -- Java is designed to be simple and Object Oriented. ofcourse multiple inheritance makes the code complex . but will it not be a pure oo concept . i m not sure how that could be . or i m wrong in my very basic understanding of multiple inheritance & java


expecting the answers
thanks in advance
ashok :roll:
hey paul as you said i was just trying some sample program in xsl . all my pages have got same structure like drawing header , result table , placing buttons . i just wrote a common xsl code and using import i could call the particular template for header,table & buttons. and for specific behavior for particular page i just overridden the template in that page alone . so in this case as you said xsl coding is easy and less coding is to be done. but i just want to know if this could be done in jsp or is this kind of coding is not appreciated to do in jsp.




thanks all

ashok
hi first thanks all for your replies . i m totally amazed that everyone is for jsp and in fact feel that coding in xsl is going to be the toughest job. but is there any one good reason for using xsl. because i have heard that some people still use xsl in their application for their presentation part by rendering the xml returned by controller or model. is that any particular feature that xsl could do but not jsp . and what could have made this people to choose xsl rather than jsp.



thanks all

ashok
hi all,
i was just going through the functionality of containers and it was listed that container will take care of transaction,security and session management.
i could not get the exact idea of what it means . for an example if a user login in a site then his every action has to be treated in one session. but i suppose here the care of session management ,transaction and security has to be implemented by developer not by the container. i m a newbie and havent worked in any real time ejb coding . so if someone could explain what actually the container role and what it exactly means.

thanks in advance

ashok