Hopefully you have configured all jars and settings to run and deploy your project on google app engine using eclipse, if not then visit google app engine-->google cloud storage java api link.. https://developers.google.com/appengine/docs/java/googlestorage/overview ----------------------------------------------------------------------------- 1) index.html ------------------------------------------------------------------------------ <html> <body> <div> <form action="testStorage.do" method="post" enctype="multipart/form-data"> <p> Please write a file to test cloud storage... </p> <input type="file" name="cloudFile" /> <input type="submit" value="Write a file on cloud Storage"> </form> </div> </body> </html> ---------...
No configuration found for the specified action: 'Login.action' in namespace: '/'''. Form action defaulting to 'action' attribute's literal value. Solution: To remove this warning you need to change following... See your struts.xml file what name you have specified... If you are using namespace / and your action name is 'Login' then replace Login.action to Login as given below... <s:form action=" Login.action " method="post" > Use below with namespace 1) <s:form action=" Login " method="post" namespace="/"> Or 2) <s:form action=" /Login " method="post" > Now you will not get this warning.
This is program which will read all e-mail from .pst file (outlook file). ------------------------------------------------------------------------------- package com.pack.eml; import com.pff.*; import java.util.*; public class ReadMail { public static void main(String[] args) { new ReadMail("D:/NewWorkSpace/outlook.pst"); // Enter the path of pst file from which you want to read mail.... } public ReadMail(String filename) { try { System.out.println("File to be read:"+filename); PSTFile pstFile = new PSTFile(filename); System.out.println(pstFile.getMessageStore().getDisplayName()); processFolder(pstFile.getRootFolder()); } catch (Exception err) { err.printStackTrace(); } } int depth = -1; public void processFolder(PSTFolder folder) throws PSTException, java.io.IOException { depth++; // the root fo...
Comments
Post a Comment