logical problem in mailing a HTML File
<p>I want to send and HTML file using JSP. But the problem is..<br>
1) When we develop any HTML File we mention some CSS and JavaScript files.<br>
2) So, when i am sending the file, it is missing all the format what i defined in other page(in form of CSS and javascript).<br>
3) So, now I want to implement such a logic by which, it can read all the CSS and JavaScript file and send it with mail together.<br>
4) With same file position and structure. That is, i want to maintain the directory position of CSS and JavaScript.<br>
5) It is possible, but for this i would have to send the CSS/JS file also.That thing i don't want to do explicitly.    </p>

<p>Some possible solution what i thought before asking here.......<br>
a) I can add all CSS/JS contents in HTML file, so that it will go with html file at the single time.<br>
b) But it is ok with one or two file. But if I have plenty of files in my website then I would have to copy this content in all file which i don't want.<br>
c) zip all the file together and mail it. But, it also i don't want. I want to mail only .HTML file.<br>
d) I can read HTML file and read the file which has included or added in HTML and mail it implicityly. but in this case, directory structure will not be mentened.     </p>

<p>I know it is different type of question. I don't want the code. I just want the logic..<br>
Plz help me...</p>
