How can i create  Jar file using Eclipse IDE.

Hi Guys
Am new to java. I want convert my project into executable jar file.
In my project am using itext.jar.And some other folder.
already i create jar file.But its not working.only its working 4 modules after that its say file cannot found exception.but the file path is correct.i dont know why its happen.
This is my project folder strutre also
Log:->
src(folder)
logs(folder)
comments(folder)
lib-->itext.jar.
images-->1,gif
properties-->catconfig.properties (file)
now can i create jar file
this code also show error when i run the jar file
And this is my catconfig. properties file
fileName=total_system_log.log
DDSingle=DD_bysingleIP_comment.txt
DDRange=DD_byrange_comment.txt
NDPing=ping_comments.txt
NDFPing=fping_comments.txt
reportFileName=report.txt
moduleFileName=Modules.txt
propFileName=nameDetails.properties
Choice=DDSingle
logFileName=DDSingleIP_10.32.0.2.log
finalReport=FinalReport.txt
logFilePath=\logs\
commentFilePath=\\Comments\\
its very urgent for me . could u pls send my error  and u r ideas.
thanks for u r Ansewering.
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.InputStream;
import java.io.RandomAccessFile;
import java.util.Properties;
import java.util.ResourceBundle;
import java.util.ArrayList;
public class LogReader {  
    public void getValuesFromFilesOnly(String Choice,String logFileName)
          try {
               ArrayList commentsList = new ArrayList();
               ArrayList tempList = new ArrayList();
               String userdir = System.getProperty("user.dir");
               String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
               String commentDir =ResourceBundle.getBundle("catconfig").getString(Choice);
               String commentFilePath=ResourceBundle.getBundle("catconfig").getString("commentFilePath");
               String currentdir1 =userdir+logFilePath+logFileName;
               StringBuffer strBuff=new StringBuffer();
               RandomAccessFile randomFile = null;
               RandomAccessFile commentsFile = null;
               String tempLine = null;
               String commentLine = null;
               String catVersion = null;
               String finalReport=null;
               int colon = 0;                    
               int counter = 0;
               boolean startFlag = false;
               boolean endFlag = false;                    
               boolean endOfFileFlag = false;          
               System.out.println("Log file checked----->"+currentdir1);
               System.out.println("comments file used--->"+commentDir);
               try {
                    randomFile = new RandomAccessFile(currentdir1, "r");
               } catch (Exception e) {
                    System.out.println("exception@getValuesFromFilesOnly@begin : "+e);
               System.out.println("hi test1");
               String commentDir1=userdir+commentFilePath+commentDir;
               try{
               System.out.println("Comment Dir:"+commentDir1);
               commentsFile = new RandomAccessFile(commentDir1, "r");
               catch (Exception e) {
                    System.out.println("exception@getValuesFromCommentDirOnly@begin : "+e);
               while ((commentLine = commentsFile.readLine()) != null) {                         
                    String checkLine = commentLine.substring(commentLine.indexOf("=")+1, commentLine.length());
                    String message = commentLine.substring(0,commentLine.indexOf("="));
                    commentsList.add(checkLine);
               commentsFile.close();
               String startComment = (String)commentsList.get(0);
               String endComment = (String)commentsList.get(commentsList.size()-1);
               strBuff.append("                          CAT LOG REPORT                           \n\n");
               while ((tempLine = randomFile.readLine()) != null) {               
                    if(tempLine.contains("CAT version is :"))
                         colon = tempLine.indexOf("is :");
                         catVersion = tempLine.substring(colon+4,tempLine.length());
                         String version=tempLine;
                         strBuff.append("Version : "+catVersion+"\n");
                         System.out.println("catVersion is :"+catVersion);
                    commentsFile = new RandomAccessFile(commentDir1, "r");
                    while ((commentLine = commentsFile.readLine()) != null) {
                         String checkLine = commentLine.substring(commentLine.indexOf("=")+1, commentLine.length());
                         String message = commentLine.substring(0,commentLine.indexOf("="));
                         checkLine=checkLine.toLowerCase();
                         tempLine=tempLine.toLowerCase();
                         if(tempLine.contains(checkLine))
                              colon = tempLine.indexOf("info -");
                              catVersion = tempLine.substring(colon+7,tempLine.length());
                              strBuff.append(message+" ==> "+catVersion+"\n");
                              System.out.println(message+" ==> "+catVersion);
                              tempList.add(message+" ==> "+catVersion);
                              if (catVersion.contains(startComment)){
                                   startFlag = true;
                                   counter++;
                                   System.out.println("*******startFlag**********"+startFlag);
                              if (catVersion.contains(endComment)){
                                   endFlag = true;
                                   System.out.println("*******endFlag**********"+endFlag);
                              if (startFlag == true && endFlag == true){
                                   System.out.println("******************************************");
                                   System.out.println("-------------Successfull completion-------");
                                   System.out.println("******************************************");
                                   startFlag = false;
                                   endFlag = false;
                                   counter = 0;
                                   tempList.clear();
                              if (startFlag == true && endFlag == false && counter > 1){
                                   System.out.println("******************************************");
                                   System.out.println("---------------Failure after-----:"+tempList.get(tempList.size()-1));
                                   System.out.println("******************************************");
                                   //startFlag = false;
                                   //endFlag = false;
                                   counter = 0;
                                   tempList.clear();
                    commentsFile.close();
               endOfFileFlag = true;
               if (startFlag == true && endFlag == false && endOfFileFlag == true){
                    System.out.println("******************************************");
                    System.out.println("---------------Failure after-----:"+tempList.get(tempList.size()-1));
                    System.out.println("******************************************");
                    startFlag = false;
                    endFlag = false;
                    counter = 0;
                    tempList.clear();
               randomFile.close();
             System.out.println("hi");
               finalReport=ResourceBundle.getBundle("catconfig").getString("finalReport");
               savereportFile(strBuff,finalReport);
               System.out.println("Report Generated");
          } catch (Exception e){
               System.out.println("Exception@getValuesFromFilesOnly : "+e);
    public void findDetails()
         String currentdir1 = ResourceBundle.getBundle("catconfig").getString("fileName");     
         String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
         String userdir = System.getProperty("user.dir");
         RandomAccessFile randomFile = null;
         StringBuffer strBuff=new StringBuffer();
         StringBuffer strBuff1=new StringBuffer();
         StringBuffer strBuff2=new StringBuffer();
         String tempLine = null;     
          String catVersion = null;
          String timeStr=null;
          String nameStr=null;
          String startIP="";
          String endIP="";
          String tempStart="";
          String tempEnd="";
          String reportFileName="";
          String moduleFileName="";
          String propFileName="";
          int startPos=0;
          int endPos=0;
          int fromIndex=0;
          boolean versionFlag=false;
          boolean ndFlag=false;
          boolean ddFlag=false;
          try {
               randomFile = new RandomAccessFile(userdir+logFilePath+currentdir1, "r");
               while ((tempLine = randomFile.readLine()) != null) {
                    if(tempLine.contains("CAT version is :") && !versionFlag)
                         startPos = tempLine.indexOf("is :");
                         catVersion = tempLine.substring(startPos+4,tempLine.length());
                         String version=tempLine;
                         strBuff.append("version : "+version+"\n");
                         versionFlag=true;
                         //System.out.println("version : "+version);
                    if(tempLine.contains("Inside NetworkDiscoverySlider.jsp"))
                         ndFlag=true;
                         strBuff.append("ND start : "+tempLine+"\n");                         
                    if(tempLine.contains("Inside NetworkDiscoveryDetails.jsp"))
                         strBuff.append("ND end : "+tempLine+"\n");
                         //System.out.println(" ND end : "+tempLine);
                    if(tempLine.contains("Given IPRange from"))
                         startPos = tempLine.indexOf("from");
                         catVersion = tempLine.substring(startPos+5,tempLine.length());
                         strBuff.append("NDRange : "+catVersion+"\n");     
                         //strBuff.append("NDRange : "+tempLine+"\n");                                             
                         //System.out.println("NDRange :"+catVersion);     
                         startPos=0;
                         fromIndex=tempLine.indexOf(":");
                         endPos= tempLine.indexOf(':', fromIndex+2);
                         //System.out.println("fromIndex : "+fromIndex+" endPos : "+endPos);
                         timeStr=tempLine.substring(startPos, endPos);
                         nameStr=catVersion.replaceAll(" ", "_");                         
                         strBuff2.append("ND_"+timeStr+" "+catVersion+" = "+"NDRange_"+nameStr+".log\n");
                    if(tempLine.contains("inside ByIpAddress.jsp"))
                         ddFlag=true;
                         strBuff.append("DD Start : "+tempLine+"\n");                                                  
                    if(tempLine.contains("start_IpAddress:"))
                         startPos = tempLine.indexOf("start_IpAddress:");
                         catVersion = tempLine.substring(startPos+16,tempLine.length());
                         startIP=catVersion;                         
                    if(tempLine.contains("end_IpAddress"))
                         startPos = tempLine.indexOf("end_IpAddress");
                         catVersion = tempLine.substring(startPos+13,tempLine.length());
                         endIP=catVersion;                         
                         if(endIP.length()==0)
                              System.out.println("hi5");
                              strBuff.append("DDSingleIP : "+startIP+"\n");
                              //strBuff.append("DDSingleIP : "+tempLine+"\n");                              
                              //System.out.println("DDSingleIP : "+startIP);
                              //startPos = tempLine.indexOf(" ");
                              startPos=0;
                              fromIndex=tempLine.indexOf(":");
                              endPos= tempLine.indexOf(':', fromIndex+2);
                              timeStr=tempLine.substring(startPos, endPos);     
                              strBuff2.append("DD_"+timeStr+" "+startIP+" = "+"DDSingleIP_"+startIP+".log\n");
                         else
                              strBuff.append("DDRangeIP : "+startIP + " to "+ endIP+"\n");
                              //strBuff.append("DDRangeIP : "+tempLine+"\n");                              
                              //System.out.println("DDRangeIP : "+startIP + " to "+ endIP);
                              //startPos = tempLine.indexOf(" ");
                              startPos=0;
                              fromIndex=tempLine.indexOf(":");
                              endPos= tempLine.indexOf(':', fromIndex+2);
                              timeStr=tempLine.substring(startPos, endPos);                         
                              strBuff2.append("DD_"+timeStr+" "+startIP+" to "+endIP+" = "+"DDRangeIP_"+startIP +"_to_"+ endIP+".log\n");
                    if(tempLine.contains("set percentage completedCount: 100"))
                         System.out.println("hi...1");
                         strBuff.append("DD End : "+tempLine+"\n");
                         //System.out.println("DD End : "+tempLine);          
               reportFileName=ResourceBundle.getBundle("catconfig").getString("reportFileName");
               savereportFile(strBuff,reportFileName);
               if(ndFlag)
                    strBuff1.append("Network Discovery\n");                    
               if(ddFlag)
                    strBuff1.append("Device Discovery\n");
               moduleFileName=ResourceBundle.getBundle("catconfig").getString("moduleFileName");
               savereportFile(strBuff1,moduleFileName);
               propFileName=ResourceBundle.getBundle("catconfig").getString("propFileName");
               savereportFile(strBuff2,propFileName);
          } catch (Exception e)
               System.out.println("error hi1");
               System.out.println("Exception@findDetails : "+e);
    public void savereportFile(StringBuffer strBuff,String targetFileName)
          try{
               String userdir = System.getProperty("user.dir");
               String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
               String reportFile=userdir+logFilePath+targetFileName;     
               String fileContent="";
               fileContent=strBuff.toString();
                  //System.out.println("file content : "+fileContent);
                  FileWriter fileWriter = new FileWriter(reportFile);
                  if(fileContent!=null)
                       fileWriter.write(fileContent);
                  fileWriter.close();
          catch(Exception e)
               System.out.println("error hi1");
               System.out.println("Exception@savereportFile : "+e);
    public ArrayList<String> getFileNames()
         String reportFile=ResourceBundle.getBundle("catconfig").getString("reportFileName");
         String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
         String userdir = System.getProperty("user.dir");
          RandomAccessFile repFile=null;
          String reportLine = null;
          int colon=0;
          int fromIndex=0;     
          int startPos=0;
          int endPos=0;
          String timeStr="";
          String fileName=null;          
          ArrayList<String> nameList=new ArrayList<String>();          
         try
              reportFile=userdir+logFilePath+reportFile;
              repFile = new RandomAccessFile(reportFile, "r");
              while ((reportLine = repFile.readLine()) != null) {                    
                    if(reportLine.contains("NDRange"))
                         colon=reportLine.indexOf(" : ");
                         fileName=reportLine.substring(colon+3, reportLine.length());
                         fileName="NDRange_"+fileName.replaceAll(" ", "_");
                         nameList.add(fileName);
                         System.out.println("fileName : "+fileName);
                    if(reportLine.contains("DDSingleIP"))
                         colon=reportLine.indexOf(" : ");
                         fileName=reportLine.substring(colon+3, reportLine.length());
                         fileName="DDSingleIP_"+fileName.replaceAll(" ", "_");
                         nameList.add(fileName);
                         System.out.println("fileName : "+fileName);
                    if(reportLine.contains("DDRangeIP"))
                         colon=reportLine.indexOf(" : ");
                         fileName=reportLine.substring(colon+3, reportLine.length());
                         fileName="DDRangeIP_"+fileName.replaceAll(" ", "_");
                         nameList.add(fileName);
                         System.out.println("fileName : "+fileName);
              repFile.close();
         catch(Exception e)
               System.out.println("Error@getFileNames : "+e);
         return nameList;
    public void writeFile(String oldLogName,String newLogName)
         try
               FileOutputStream writeFile=null;               
               String line = null;
               String userdir = System.getProperty("user.dir");
               String reportFile=ResourceBundle.getBundle("catconfig").getString("reportFileName");     
               String newLogPath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
               RandomAccessFile repFile=null;               
               String reportLine = null;
               String tempLine=null;
               String prevLine=null;
               String nextLine=null;
               String target=null;
               String tempStr=null;
               String startStr=null;
               String endStr=null;          
               int pos=0;
               boolean flag=false;
               boolean writeFlag=false;
               boolean versionFlag=false;               
               //System.out.println("newLogName : "+newLogName);     
               newLogPath=userdir+newLogPath;
               System.out.println("newLogPath : "+newLogPath);     
               BufferedReader buffRead = new BufferedReader(new FileReader(oldLogName));
               writeFile = new FileOutputStream(newLogPath+newLogName+".log", false);//true-for append mode
               DataOutputStream dout=new DataOutputStream(writeFile);               
               tempStr=newLogName.replace("_", " ");
               pos=tempStr.indexOf(" ");
               startStr=tempStr.substring(0,pos);
               endStr=tempStr.substring(pos+1, tempStr.length());
               target=startStr+" : "+endStr;
               System.out.println("target ===> "+target);               
               reportFile=newLogPath+reportFile;
               repFile = new RandomAccessFile(reportFile, "r");
              while ((reportLine = repFile.readLine()) != null) {                   
                   if(reportLine.contains(target))
                        flag=true; 
                        prevLine=tempLine;
                        //System.out.println("prevLine *****: "+prevLine);
                   else
                        tempLine=reportLine;
                        if(flag==true)
                             nextLine=reportLine;
                             flag=false;
                             //System.out.println("nextLine *******:"+nextLine);
                             break;
              repFile.close();     
             if(prevLine!=null && prevLine.length()>0)
                   pos=prevLine.lastIndexOf(" : ");
                   prevLine=prevLine.substring(pos+3, prevLine.length());
                   //System.out.println("prevLine : "+prevLine);
              else
                   System.out.println("Starting line not available for : "+target);
              if(nextLine!=null && nextLine.length()>0)
                    pos=nextLine.lastIndexOf(" : ");
                    nextLine=nextLine.substring(pos+3, nextLine.length());
                    //System.out.println("nextLine : "+nextLine);
              else
                   System.out.println("Ending line not available for : "+target);
                   nextLine=prevLine;
               while ((line=buffRead.readLine()) != null) {     
                    if(line.contains("CAT version is :") && !versionFlag)
                         versionFlag=true;
                         dout.writeBytes(line+"\n");                         
                    if(line.contains(prevLine))
                         writeFlag=true;                         
                    if(line.contains(nextLine))
                         writeFlag=false;
                         break;
                    if(writeFlag)
                         dout.writeBytes(line+"\n");
              dout.writeBytes(nextLine+"\n");
               buffRead.close();     
               System.out.println("done");
          catch(Exception e)
               System.out.println("Exception@writeFile : "+e.getMessage());
    public String folderCheck(String foldName)
          File folder=null;
          File newFile=null;
          String[] folderContent=null;
          String tempFileName="";
          String newLogName="";
          int count=0;     
          String logFilePath="";     
          String fileName="";
          String feedBackMsg="";          
          String userdir = System.getProperty("user.dir");
          logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
          fileName=ResourceBundle.getBundle("catconfig").getString("fileName");
          folder=new File(foldName);
          if(folder.isDirectory())
               newLogName=userdir+logFilePath+fileName;
               //System.out.println("newLogName : "+newLogName);
               newFile=new File(newLogName);
               if(newFile.exists())
                    newFile.delete();
               folderContent= folder.list();
               if (folderContent != null && folderContent.length>0)
                    System.out.println("folder has files : "+folderContent.length);                    
                    for(int iterate=0;iterate < folderContent.length;iterate++){                         
                         if (folderContent[iterate].toLowerCase().contains("system"))
                              count++;                              
                              tempFileName=foldName+"/"+folderContent[iterate];     
                              try
                                   FileOutputStream appendedFile=null;
                                   BufferedReader buffRead = new BufferedReader(new FileReader(tempFileName));
                                   appendedFile = new FileOutputStream(newLogName, true);//true-for append mode
                                    DataOutputStream dout=new DataOutputStream(appendedFile);
                                    String line = null;
                                   System.out.println("writting : "+tempFileName);
                                   while ((line=buffRead.readLine()) != null) {                                        
                                        dout.writeBytes(line+"\n");
                                   buffRead.close();          
                                   //System.out.println("done");
                              catch(Exception e)
                                   System.out.println("Exception@folderCheck : "+e);
                    if(count==0)
                         feedBackMsg="syslognotavail";
                         //System.out.println("System Log(s) not available");
                    else
                         feedBackMsg="syslogavail";
                         //System.out.println(count +" System log(s) avail");
               else
                    feedBackMsg="filesnotavail";
                    //System.out.println("Files are not in the folder");
          else
               feedBackMsg="Dirnotavil";
               //System.out.println("Directory not exists in the given name");
          return feedBackMsg;
    public ArrayList<String> loadFileContent(String selectedStr)
         //System.out.println("inside loadFileContent()");
         String logFilePath="";
         String propFileName="";
         String line="";
         String choice="";
         String tempStr="";
         int startPos=0;
         int endPos=0;
         ArrayList<String> timeList=new ArrayList<String>();
         String userdir = System.getProperty("user.dir");
         try
              logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
              propFileName=ResourceBundle.getBundle("catconfig").getString("propFileName");
              propFileName=userdir+logFilePath+propFileName;
              BufferedReader buffRead = new BufferedReader(new FileReader(propFileName));
              if(selectedStr.equalsIgnoreCase("Device Discovery"))
                   choice="DD";
              else if(selectedStr.equalsIgnoreCase("Network Discovery"))
                   choice="ND";
              while ((line=buffRead.readLine()) != null) {                                        
                    if(line.contains(choice))
                         System.out.println(line);
                         startPos=line.indexOf("_");
                         endPos=line.indexOf(" =");
                         tempStr=line.substring(startPos+1, endPos);
                         System.out.println("tempStr : "+tempStr);
                         timeList.add(tempStr);
               buffRead.close();          
         catch(Exception e)
              System.out.println("Exception@loadFileContent : "+e);
         return timeList;
    public String getFileName(String timeStr)
         System.out.println("inside getFileName");
         String logFilePath="";
         String propFileName="";
         String line="";
         String tempStr="";
         int startPos=0;
         String userdir = System.getProperty("user.dir");
         try
              logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
              propFileName=ResourceBundle.getBundle("catconfig").getString("propFileName");
              propFileName=userdir+logFilePath+propFileName;              
              BufferedReader buffRead = new BufferedReader(new FileReader(propFileName));              
              while ((line=buffRead.readLine()) != null) {                                        
                    if(line.contains(timeStr))
                         System.out.println(line);
                         startPos=line.indexOf(" = ");                         
                         tempStr=line.substring(startPos+3, line.length());
                         System.out.println("tempStr : "+tempStr);                         
               buffRead.close();          
         catch(Exception e)
              System.out.println("Exception@loadFileContent : "+e);
         return tempStr;
    public ArrayList loadFile()
         String logFilePath="";
         String moduleFileName="";
         String line="";         
         ArrayList<String> moduleList=new ArrayList<String>();
         String userdir = System.getProperty("user.dir");
         try
              logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
              moduleFileName=ResourceBundle.getBundle("catconfig").getString("moduleFileName");
              moduleFileName=userdir+logFilePath+moduleFileName;
              BufferedReader buffRead = new BufferedReader(new FileReader(moduleFileName));              
              while ((line=buffRead.readLine()) != null) {     
                   moduleList.add(line);                    
               buffRead.close();          
         catch(Exception e)
              System.out.println("Exception@loadFile : "+e);
         return moduleList;
public static void main(String[] args) {          
     System.out.println("Inside main");     
     //String userdir = System.getProperty("user.dir");
     //System.out.println("userdir : "+userdir);
     /*ArrayList<String> fileNameList=new ArrayList<String>();
     String Choice="";     
     String logFileName="";     
     String logFilePath="";     
     String totalLog="";     
     String newLog="";     
     String folderName="";
     Choice=ResourceBundle.getBundle("catconfig").getString("Choice");
     logFileName=ResourceBundle.getBundle("catconfig").getString("logFileName");     
     logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
     folderName=ResourceBundle.getBundle("catconfig").getString("folderName");
     totalLog=ResourceBundle.getBundle("catconfig").getString("fileName");     */
     /*try
          //to write the total log
          //folderCheck(folderName);
          //to find the details in the given log
          //findDetails();
          //to split the logs accordingly
          totalLog=logFilePath+totalLog;          
          fileNameList=getFileNames();;
          System.out.println("FileNameList size = "+fileNameList.size());
          for(int i=0;i<fileNameList.size();i++)
               newLog=fileNameList.get(i).toString();
               writeFile(totalLog,newLog);
          //to analyse the logs & to produce reports          
          //getValuesFromFilesOnly(Choice,logFileName);          
     }catch (Exception e)
          System.out.println(e.getMessage());
}[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

JSP is used for server validation.
So you need a an application server (like Tomcat or Jboss) to execute your jsp files.
you can create the .war file of your simple jsp application and put it in the server.
then you will have to access your page using a web browser.
the URL will be
http://<ComputerName or IP Address>:<PortNumber>/<WarFileName>/<MainJspPage>
(eg: http://100.100.100.252:8080/SimpleApplication/mainPage.jsp)
-Achyuth

Similar Messages

  • Create jar file using eclipse including the addition of a dll

    hy ..
         i have developed an application using eclipse.Having problems exporting the file as an executable jar.Even after providing the main class name in the manifest file, the jar file is giving the following error on a double click - "Could not find main class.Program will exit" .
         i have used an external jar file for displaying a tray icon on the system tray.This inturns uses a dll file which i have on my classpath.How do i get these into the jar and get it running..
    thanx in advance

    hy ..
    i have developed an application using eclipse.Having
    g problems exporting the file as an executable
    jar.Even after providing the main class name in the
    manifest file, the jar file is giving the following
    error on a double click - "Could not find main
    class.Program will exit" .Guessing, you don't specify the package part of the classname.
    i have used an external jar file for displaying a
    a tray icon on the system tray.This inturns uses a
    dll file which i have on my classpath.How do i get
    these into the jar and get it running..You can't run a dll from inside of a jar.
    If you're trying to use the JDIC tray classes, I don't believe they will run from a jar, but you might find otherwise. See https://jdic.dev.java.net/
    >
    thanx in advance

  • How to run .jar on linux & how to create .jar file using java?

    hi, may i know how to run .jar on linux & how to create .jar file using java? Can u provide the steps on doing it.
    thanks in advance.

    Look at the manual page for jar:
    # man jar
    Also you can run them by doing:
    # java -jar Prog.jar

  • How can I create a file brows menu and save option?

    How can I create a file brows menu, if I wont my user to choose a picture from his PC.
    And how can I save my user settings?(this is application going to be only on my users pc)

    You can launch a file selection dialog with FileReference. You can save settings using a SharedObject (like a cookie).
    http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_7 .html
    http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_3.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_5.html
    If this is a Flex app, you will only be able to select a file from the local machine and upload to server, you won't be able to open the file in the Flex app, due to security sandbox.
    If this is an AIR app you will not have this restriction.
    If this post answers your question or helps, please mark it as such.

  • How can i create splash screen using netbean?

    how can i create splash screen using netbean?

    Welcome to the Sun forums.
    gabbyndu wrote:
    how can i create splash screen..Java 6 offers a splashscreen functionality. See [New Splash-Screen Functionality in Java SE 6|http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/splashscreen/] *(<- link)* for details.
    [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] has offered splash screens to applications since Java 1.2. See [How can I provide my own splash screen?|http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#206] in the JWS FAQ for more details.
    .. using netbean?We don't support Netbeans here. Ask that on a [Netbeans forum|http://forums.netbeans.org/].

  • How can i create slaes order using BAPI

    hi all,
    i didnt work on BAPIS .how can i create sales order using BAPI here i should pass Z values.
    Moderator message : FAQ, search for available information. Thread locked.
    Edited by: Vinod Kumar on Sep 13, 2011 12:22 PM

    Hi!
    There are a lot of answered threads regarding your question. Try searching first. Below is a sample link.
    BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    Steph
    Edited by: stephquion on Sep 13, 2011 8:25 AM

  • HT4075 I don't have any problems merging the documents by dragging, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I tried save and export, how can I create the file after merging?

    Hi, I'm having trouble saving the documents when merging in Preview. I don't have any problems merging the pdf documents by dragging them in preview, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I've tried save and export, but none merge the documents after saving... how can I create the file (with all the pdf files) after merging?

    That's a comment in the file. It has no effect at all.

  • How can I create DVD Label using Photoshop Elements 10?

    How can I create DVD label using Photoshop Elements 10?
    Richard

    You can create the design for a DVD label in Create>More Options. Once you have the label set up, you would copy it to a template for the labels you plan to use. (The PSE template makes one label, while most printed labels are two-up.)

  • How to create jar file in WSAD ide?

    Hi,
    Can any one help me in creating jar file
    in WSAD ide?

    RTFM comes to mind, the manual often knows such things.

  • How can i put Jar Files in Java Runtime.?

    HI,
    how can i put jar files in JRE so that they are accessible every where.? is there some way.?
    Regards,
    AA

    Closest you could get to this I think is to explode all your jars into the same parent directory. Then if you put that directory on the classpath, you should be able to access all classes in all jar files

  • How should I create JAR file which  contain JMF library and project classes

    Hi,
    I installed the JMF windows pack. I compiled and ran successfully myApplet (which use JMF librarie) in Internet Explorer on my machine. When I run this applet on some different machine, where JMF isn�t installed- it�s not running.
    There is an error:
    java.lang.NoClassDefFoundError: javax/media/ControllerListener
    I was trying to create jar file, which contain librarie JMF.jar and all other files which are require to run myApplet (*.jar, *.class, the files from folder �MyApplet�) and run it on the other computer. It still doesn�t work.
    Also I ran a JMF Customizer and created customize.jar but this file contains only JMF classes. I don�t know how add other files to it.
    How should I create a jar file which will contains all essential files to run myApplet on other machine (something like �All In One� J )
    I�m using Eclipse.
    Can somebody help me?.
    Thank You!
    Best regards:
    Peter

    Hi
    i want to make a jar file of application which is using JMF to play audio
    and video. it works well during compilation and execution but doesn't
    works in jar file.
    please help me how i make a jar file whic will run audio and video too
    your's truely
    abdul

  • How can I save a file using In Design 6.0 and open it in 5.5

    We have Creative Suite 6.0 and 5.5. How can we read a file created using In Design 6.0 on another computer that has version 5.5?

    The file needs to be saved to IDML from CS6.
    Mylenium

  • How can I create a file to another computer

    Hi.
    I was wondering how can I create or write a txt file but in another computer(Server).
    For instance, using the BufferedWriter to write in my computer I can do.
    BufferedWriter out = new BufferedWriter(new FileWriter("C://hello.txt", false));
    There is a way to write directly to the server? do I need to create a Server/Client protocol? it can do directly by BufferWriter?
    Thank you, any help it will be very great.
    Chris

    if the server is windows based (or runs SAMBA) then it is very easy to just use the host machine's path.
    i.e.
    BufferedWriter out = new BufferedWriter(new FileWriter("\\\\Server\\C\\hello.txt", false));
    where the server's hostname is 'Server"
    and you have shared a directory called "C"

  • How can I make .jar files for applications?

    My jar program creates jar files but won't open the program when I double click them. I use the command:
    jar cvf *.jar filenames
    The jar file is created but won't execute. Can anyone tell me what i am doing wrong?
    Thanks
    Jiby

    Hello !
    Well, I had the same problem a week or two ago !
    First, in your *.java, don't use any package...I mean, don't do a package of your program (I guess there is a way to make it work with, but it would need a little bit more work...).
    Then, with the jar tools, use the command
    -jar cf jar_that_you_want_to_create.jar class-that_you_include_in_your_jar.class
    With that, a jar will be created, and when you will try to "run" it, it will say that it can not find the main class...
    You need a Manifest !
    Create a text file MyManifest.text, and write that in your text file :
    Main-Class: classname
    follow the same as i wrote above. leave a blank after colon and a blank line after the first line like above.
    then, well, use tha jar tool again:
    -jar umf MyManifest.txt jar-file-you-created.jar
    To "run" it, double click on it, or use the java tool:
    java -jar jar_you_created.jar
    Thanks to Phani, who helped me with that !!
    Splitsch

  • Can't create a file using fm 'File_Get_Name'

    hi gurus,
    Can you please help me with this issue. There's a program that have to create a file using the said fm. It was working before when it was set in OS NT. But when the settings and codes have been changed to UNIX, the program was able to generate the program. But the file doesn't exist. It seems it  doesn't create a file in that server.
    What else do I need to check?
    Points will be rewarded. Thanks
    Here's the code for your reference:
    CALL FUNCTION 'FILE_GET_NAME'
           EXPORTING
    *         CLIENT                  = SY-MANDT
                logical_filename        = 'Z_SYSBRIDGE' 
             OPERATING_SYSTEM        = SY-OPSYS
    *         PARAMETER_1             = ' '
    *         PARAMETER_2             = ' '
    *         USE_PRESENTATION_SERVER = ' '
    *         WITH_FILE_EXTENSION     = ' '
    *         USE_BUFFER              = ' '
           IMPORTING
    *         emergency_flag          =
    *         file_format             =
                file_name               = ltfile-out_path
           EXCEPTIONS
                file_not_found          = 1
                OTHERS                  = 2.

    Hi Maui,
    Did you check SM69, where the code that ties to this FM creates a file after it execute your FM...
    SM69 are os commands that does UNIX execution or other OS commands...
    or maybe you have missed another FM like FM 'SXPG_OS_COMMAND' or of some sort.
    Thanks
    William Wilstroth

Maybe you are looking for

  • How do i get itunes 11 to display only content created in english?

    I only want to see content that's in English, not Japanese, or Korean, or German, or whatever. How do I do that?

  • Exporting Bank Files

    I am a system administrator in Windows and I am able to export my Bank File via the Payment Wizard in 2007A Patch 15 (uses BIS I beleive). I have a user who is a Super User in SAP, but a normal user in Windows. They have full read, write and delete t

  • Planned order details from PR

    Hi All, Planned orders are converted to purchase requisitions. Is there any way to find from which planned order the PR got created. As we find that the planned order gets deleted once converted to PR. thanks

  • Can you set/adjust the clip date in iMovie11?

    Ideally I should be able to do what I used to do in iMovie06, right click on the clip and change or set the date. I haven't been able to do that in iMovie09. ( iMovie09 shows me the date when I hover over clips, but I cannot change it. If I click on

  • Create a directory with hidden attribute

    Hi ! I am creating a directory using the mdkir() function but I want the directory to be hidden. How can I do that ?? --Mudit