Building apps including CVS files

Hi
Could someone point me to a simple guide for creating Java apps with CVS files.
I have an excel file that I have converted to .csv just by changing it in the file > save as window to cvs.
I need to read values from this file and cross-check a particulat column of data (Date/Time of order) against the current day's date/time in order to highlight 24 hour notice ordering for customers.
First off, what is it I need to do/understand when using a file such as this where I will be reading data from it?
I have had a look at stuff on the net but most of it seems to become quite complicated quite quickly and I don't really understand what they are trying to achieve.
What would be good would be to create a simple app first where I just read the data and display it in cmd line for example, then build on that, just to prove to myself that I understand each step.
Thanks for any pointers.
JM

1. Check your spelling at all times...CVS is "Concurrent Versioning System", which has absolutely nothing to do with your post.
CSV is "comma-separated values", which is what you are needing help with.
2. Look up the StringTokenizer API in the JavaDocs. This class will help you to break your CSV file down into component parts that you can then load into a String array, for example.
I wrote a function quite a while back (but have no clue where the source code has gone) that did just what you are wanting to do. It read in all of the values from a CSV file to populate the fields of a database table, so that I wouldn't need to manually enter over 1000 records. I used the StringTokenizer API to break my file down into its component record fields. All that I really remember about it was that I had issues with the quotation marks that appeared in the body of a field. For example, the field "description" contained a textual description of the product and included the product's dimensions, which used the double quotation mark as the inch symbol. This caused me problems because each of the field values were surrounded by double quotation marks, so I had set up my StringTokenizer to strip the double quotation marks, which ended up also terminating a field's value after the first inch dimension and dropping the rest of the dimensions. To get around this problem, I performed a global search and replace on my CSV file replacing the double quotation marks with a caret (^) and then modified my StringTokenizer . After that work, everything worked like a charm.
Having said all of that, let me sum it up by saying take a look at the StringTokenizer API documentation and you will start to see how to do what it is you are trying to do. That documentation is at: [http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html|http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html]
I hope that this information helps. Good luck with your project!
Cheers,
Sean Carrick
PekinSOFT Systems

Similar Messages

  • Error 1003 occurred at Open VI Reference in Dist Copy Non-VI Files.vi- Dist Build LLB Image.vi- Dist Build App Image.vi- Build Application.vi

    When trying to build  an application using labview 7.1 and windows XP,  I get the error
    Error 1003 occurred at Open VI Reference in Dist Copy Non-VI Files.vi->Dist Build LLB Image.vi->Dist Build App Image.vi->Build Application.vi
    I've tried the crtl-shift-run as well as  a mass compile and I still get the error.
    Any ideas?
    Thanks,
    Mike

    Hopefully this thread, or this KB article might help.
    It seems like this could come from a lot of things, but there's suggestions in those which might lead you in the right direction
    Message Edited by Day on 09-22-2006 02:07 PM

  • Can I include raw files into the installer folder with LV application builder?

    Hello,
    I have created a batch file that will run at the end of the installer, which will copy over some raw configuration files into the source destination so that the configuration files can be customized for each end user without rebuilding the installer with application builder. I also have an autorun.inf so the installer will automatically run when the user installs the CD.  
    However I would like to have some default configuration files and an autorun.inf file that will be automatically added to the installer "volume" folder using the application builder. 
    However I don't see a way to include raw files in the "volume" folder. It appears all source files in the application builder are embedded into the binary files.
    Please let me know if this is possible with the current application builder.
    Regards,
    Russell
    Engineering Team Leader
    G Systems, www.gsystems.com
    Certified LabVIEW Architect
    Certified Professional Instructor

    Russel,
    i think this link might give you some good hints....
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • EJB project IDE build dos not include properties files

    We have property files also which we want included as part of the build process
    for EJB projects but if we use the IDE build it does not include them. We have
    to therefore export the IDE build and customize it to include *.properties like
    this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
    filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
    /> </zip>
    which causes a problem for us because the exported build file is specific to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within an EJB project i.e.
    include properties files also.

    Hey Jamie,
    Currently there is no support to include other .properties files into
    the internal build. There's a build.properties that you get as part of
    an EJB project which you could place your values into and use that as
    your template for your team based development and check that into your
    source control.
    If you'd really like to get gross and hack Workshop a little bit you
    could modify the default EJB project template to use your .properties
    file for every EJB project you create. This would then splat a copy of
    your .properties file into the root of the EJB project.
    To do that you'd go to {your BEAHOME}\workshop\templates and crack open
    the ejb-project.zip template zip file and merge your settings into the
    existing build.properties file. This has the same
    effect as replacing the .properties file after you've created your
    project only it keeps you from having to perform that step each time.
    The downside of this is that each person on your team would then have to
    update that template zip file in their workshop installation. (I'd make
    sure to backup the original template file before performing this
    activity so you can always go back to the original template).
    Hope this helps,
    -Michael
    Jamie wrote:
    We have property files also which we want included as part of the build process
    for EJB projects but if we use the IDE build it does not include them. We have
    to therefore export the IDE build and customize it to include *.properties like
    this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
    filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
    /> </zip>
    which causes a problem for us because the exported build file is specific to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within an EJB project i.e.
    include properties files also.

  • I've can't open any applications on my Mac ! I tried to delete some files from safari (history) and then none of the apps including iphoto, safari, mail, facetime. I don't know how to fix it, help ? any idea ?

    I've can't open any applications on my Mac ! I tried to delete some files from safari (history) and then none of the apps including iphoto, safari, mail, facetime. I don't know how to fix it, help ? any idea ?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output andWi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Workshop IDE Build does not include all files

    We have property files also which we want included as part of the build process
    but if we use the IDE build it does not include them. We have to therefore export
    the IDE build and customize it to include *.properties like this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
    filenames are encoded UTF8 -->
    <zipfileset dir="${project.local.directory}" includes="*.properties" />
    </zip>
    which causes a problem for us because the exported build file is specific to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within a project i.e. include
    properties files also.
    Thanks
    Mindy

    Hi Mindy,
    Why not in EJB?
    Yes there is no argument as to why property files cannot be copied over from EJB
    project.
    The reason is that Workshop has not implemented the feature with EJBProject. We
    have that feature only for Java projects and not for EJB project.
    Thanks a lot,
    Vimala
    "Mindy" <[email protected]> wrote:
    >
    You are saying the same thing again. My question is why not for EJB projects?
    I know we can create the files in Java project and read them with specific
    java
    files to read them but WHY NOT IN EJB IS THE QUESTION?
    "Carl" <[email protected]> wrote:
    Feature of the EJB Project:)
    "Mindy" <[email protected]> wrote in message
    news:4034c351$[email protected]..
    We have these property files in the EJB project, not Java project.Why
    should they
    not be copied if they are part of the EJB project?
    "Carl" <[email protected]> wrote:
    The properties file do get copied over if they are part of Java project.
    Hence, we have created utility classes in Java project that read
    the
    property file.
    For other project types, like EJB the property files didn't get copied...
    "Mindy" <[email protected]> wrote in message
    news:4033b944$[email protected]..
    We have property files also which we want included as part of the
    build
    process
    but if we use the IDE build it does not include them. We have to
    therefore
    export
    the IDE build and customize it to include *.properties like this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"><!-- JARs
    filenames are encoded UTF8 -->
    <zipfileset dir="${project.local.directory}"includes="*.properties" />
    </zip>
    which causes a problem for us because the exported build file is
    specific
    to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within a projecti.e.
    include
    properties files also.
    Thanks
    Mindy

  • None of my apple apps can export files, including Mail, iPhoto, Aperture and Preview.

    None of my apple apps can export files, including Mail, iPhoto, Aperture and Preview. When I try to export a file from any of these programs, the app hangs for a few seconds and then does nothing, not even open an export dialogue. Same thing happens when I try to attach a file to an email. Also, maybe related and maybe not, Photoshop will crash after the splash screen. All of these app function properly when using a different User Account.
    I've tried deleting my application preferences in my user library and when that didn't work, I deleted my account and then created a new one that used the same user directory, which still didn't fix anything.
    I don't really want to make a new user from scratch and have to re-enter license numbers, re-calibrate monitors, recover bookmarks, contancts, etc. etc. if I don't have to, so I would be grateful for any advice.
    Thanks!
    System: Early 2008 Mac Pro, 3GHz 8 Core with 12 GB RAM, Nvidia GTX 285 (mac edition). Running OS X 10.8.4

    You cannot change your iCloud email address but you can setup a new alias: http://help.apple.com/icloud/#/mm6b1a490a
    You cannot transfer purchases from one AppleID to another.

  • How to include jar files in WS assembling

    HI, There:
    I have a webservice project works well except I canot include lib files in WEB-INF. I need following dir in war files
    WEB-INF
    --classes/com.xyz.....
    --lib/my.jar
    I use following target in build.xml
    <target name="webservice-setup" depends="setup,compile-webservice">
    <echo message="-----> Assembling the webservice"/>
    <oracle:assemble appName="${app.name}"
    serviceName="${app.name}"
    interfaceName="com.ivgn.protomineWS.service.ProtomineService"
    className="com.ivgn.protomineWS.service.ProtomineServiceImpl"
    input="${bld.webservice.dir}"
    output="${out.dir}"
    ear="${lib.dir}/${ear.name}.ear">
    <classpath>
    <pathelement location="${OC4J_HOME}/webservices/lib/wsa.jar"/>
    </classpath>
    </oracle:assemble>
    </target>
    where can i add the lib directory so that many jar files for this application can get into lib directory. Looks like this "assemble" command has no argument for "lib". The "input" argument only handle the classes files.
    Thanks
    TZhang

    There are two way to do this.
    1) you assemble the .ear file, expand it's content, make modification and re-package using jar command (plain ant style).
    2) instead of using the -ear option, you can use the -war option. It will leave the content in is expanded form, and you can then do the packaging in your own way, after making modifications.
    You may also want to take a look at the 'appendToExistingDDs' flag of the assemble command (see chapter 16 of the user's guide [1]).
    appendToExistingDDs <true|false>
    Determines whether entries for a new Web service will be appended to the existing
    deployment descriptors or whether they will be overwritten. The deployment
    descriptors that can be affected by this argument are oracle-webservices.xml,
    web.xml, and webservices.xml.
    Beware; this style of assembly is a little hard to use, as you cannot re-run the same target twice, without to restore the original files.
    Hope this helps,
    Eric
    [1] http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b14434.pdf

  • What is the best way to include external files in an application?

    I am developing a vocabulary-training program (Adobe AIR using Flex Builder 3). Asks you what an equivalent of a czech word is in english and the other way. I am storing the "dictionaries" in external XML files. I would like to include about twenty of them in the installation. So far I just had them in the applicationDirectory, but now, I added an editing feature and I ran across the fact, that I cannot write into the applicationDirectory. So I figured the most intuitive place for the dictionaries would be in the documentsDirectory/name of program. However, how do I tell the AIR installation to make the according folder and include the files?
    How do I do this, or what do you think is a better solution? Thanks!

    If this post answers your question or helps, please mark it as such.
    I'm creating an application that stores data in the "applicationStorageDirectory".      
    Mac storage directory is <appData>/<appId>/Local Store/
      where <appData> is user preferences folder, typically /Users/<user>/Library/Preferences
    Win: storage directory is <appData>\<appId>\Local Store\
      where <appData> is typically C:\Documents and Settings\<userName>\Application Data
      Note: Vista uses "junctions", which behave like shortcuts but look just like regular folders.
        It is not possible to access them, and any attempt to do so will give you an "Access Denied" error.
        Here is the real folder location:
          C:\Users\<userName>\AppData\Roaming\ContactManager\Local Store\contacts.xml
    Linux: <appData>/<appID>/Local Store/    where  <appData>  is  /home/<user>/.appdata
    Here is how to code to read from and write to a file there in an AIR app:
    var contactsFile:File;
    var contactsXML:XML;
    var contactsXLC:XMLListCollection;
    var stream:FileStream;
    contactsFile = File.applicationStorageDirectory;
    contactsFile = contactsFile.resolvePath("contacts.xml");
    stream = new FileStream();
    if (contactsFile.exists) {
        stream.open(contactsFile, FileMode.READ);
        contactsXML = XML(stream.readUTFBytes(stream.bytesAvailable));
        stream.close();
        contactsXLC = new XMLListCollection(contactsXML..contact);
    }else{
        var outputString:String = '<?xml version="1.0" encoding="utf-8"?>\n<contacts>\n';
        for each(var xml:XML in  contactsXLC){
          outputString += xml.toXMLString();       
          outputString += "\n";
        outputString += "</contacts>\n";
        outputString = outputString.replace(/\n/g, File.lineEnding);
        stream = new FileStream();
        stream.open(contactsFile, FileMode.WRITE);
        stream.writeUTFBytes(outputString);
        stream.close();

  • Error 6 occurred at invoke node in dist build app

    Error 6 occurred at Invoke Node in Dist Build App from LLB.vi->Dist Build App Image.vi->Build Application.vi
    Possible reasons:
    LabView: Generic file I/O error
    or
    NI-488: I/O operation aborted
    Version 6.0.2

    I noticed that you updated your system to 6.0.2. A couple things to check on that may remedy the problem.
    1)Did you install the application builder after upgrading your system to 6.0.2? You will want to install the application builder 6.0 first, and then add the 6.0.2 update to the whole system.
    2)Have you mass compiled all of your VIs since the upgrade? You will want to make sure that all of your VIs are in 6.0.2 format before trying to build them into an executable.
    Matt Kisler
    Applications Engineer
    National Instruments

  • How can I include a file in a servlet?

    I need to include a header file in htm format and a footer as well. My question here is, is it possible to include these files when a servlet is executed? like in the cases of the jsp web apps, with the <%@include file = "header.htm"%> tag... please let me know and thanks in advance.
    Regards

    Use RequestDispatcher.include:
    RequestDispatcher rd =
    = this.getServletContext().getRequestDispatcher(url);
    try { rd.include(request, response); }
    catch (Exception e) { "Error : Dispatch includeError
    : " + e); }Where url is the relative url of the HTML file.Hi, thanks for your answer, I still having a problem there, I used the RequestDispatcher.Include but it didn't show the file this is the code I'm trying to use:
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    OutputStream out = response.getOutputStream();
    RequestDispatcher rd = this.getServletContext().getRequestDispatcher("/form.htm");
    try {
    rd.include(request, response);
    catch (Exception e)
    System.out.println("Error : Dispatch includeError : " + e);
    try {
    IntervalCategoryDataset dataset = createGanttDataset();
    System.out.println("Total Categories: " + dataset.getCategoryCount());
    System.out.println("Total series: " + dataset.getSeriesCount());
         JFreeChart chart = ChartFactory.createGanttChart("Activities for F3319G1", "Activity", "Date", dataset, true);
    response.setContentType("image/png");
         ChartUtilities.writeChartAsPNG(out, chart, 800, 600);
    catch (Exception e) {
    e.printStackTrace();
    System.err.println(e.toString());
    finally {
    out.close();
    This servlet gets an image.. so the ContentType is set to "image/png" I don't know if this is causing the problem in such case what would I need to include an html or htm file in this kind of servlet? thanks in advance.
    Regards

  • Include jsf file in a jsp page

    Hi Everyone,
    I have a plain jsp page with no JSF Components, but it has a jsp:include tag which is another jsp file which contains jsf components.
    When i try to run the plain jsp file ... i get the following error...
    java.lang.IllegalStateException: Cannot forward after response has been committed
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:324)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:589)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         at org.apache.jsp.DynamicWebpart_jsp._jspService(DynamicWebpart_jsp.java:278)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:589)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         at org.apache.jsp.Webpart_jsp._jspService(Webpart_jsp.java:302)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:589)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         .......... so.....on........
    I saw the source code for the plain jsp file and the error is because of including the jsp file with jsf components.
    The contents of both the jsp file is given below
    Plain jsp file
    DWStaticJSP.jsp
    <%@ page import="java.util.*" %>
    <%@ page import="com.mirus.bi.jsp.*" %>
    <%@ page import="com.mirus.bi.util.Log" %>
    <% Log.logDbg("*******before calling the faces file from DWStatic :"+rSetting.getStaticJSPFileName()); %>
    // name of the file name : /faces/report_palm.jsp
    <jsp:include page="<%=rSetting.getStaticJSPFileName()%>" flush="false" >     
                   <jsp:param name="DMode" value="DBoard" />
    </jsp:include>
    Jsp file with JSF component
    it is stored in faces folder
    /faces/report_palm.jsp
    <%@ page contentType="text/html" %>
    <%@ page import="com.mirus.bi.util.Log" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://mirus.com/jsftaglib" prefix="my" %>
    <f:view>
              <h:outputText value="Store Name:" />
              <h:outputText value="#{palmReportUIHandler.currentStoreDisplay}" />
              <h:outputText value="Year:" />
              <h:outputText value="#{palmReportUIHandler.currentYear}" />
              <h:outputText value="Month:" />
              <h:outputText value="#{palmReportUIHandler.currentMonth}" />
    </f:view>
    The Configuration in the web.xml for faces Servlet is given below
    <servlet>
    <servlet-name>FacesServlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>FacesServlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    Does anybody know the solution to this problem
    Any kind of help will be highly appreciated.
    Pinkesh

    Hi Adam Winer,
    I want to try your solution.
    just wanted some more clarification .....
    So, let's say you have:
    DWStaticJSP.jsp: plain JSP
    report_palm.jsp: JSF JSP included by DWStaticJSP.jsp
    What you should do is use an URL of:
    /faces/DWStatic.jsp
    to access the outer plain JSP (yes, even though it's not really a faces page), and then have
    /faces/DWStatic.jsp include just plain /report_palm.jsp.
    In essence, the critical thing is that the FacesServlet wraps the entire request - FacesServlet cannot run
    for just a piece of the request.My question is where should i store the DWStatic.jsp file ... As u said i should acces it using /faces/DWStatic.jsp do i need to save it in the faces folder or just in the web app root.
    I cant save the DWStatic.jsp in the faces folder as this file is used for lot of different purpose in my company application.
    So can u give me a solution where in i can keep the DWStatic.jsp in the web-root folder and still try your solution
    Also is this the right setting for facesServlet in the web.xml.
    <servlet>
    <servlet-name>FacesServlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>FacesServlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    Whatever follows below this line is the describtion of the web appp structure which i have in my company.
    We have an application where in all the jsp files are stored in the web-app root folder.....
    I will be using alphabets like a.jsp ... b.jsp .... to keep the explanation small...
    I have an a.jsp file which includes a b.jsp file which in turn includes a c.jsp......
    Now we have started using JSF.....
    Now as a developer .... i want the c.jsp to include a d.jsp file which contains JSF components...
    The thing is i cant change the location of a.jsp, b.jsp and c.jsp......
    Can u tell me how i should call " a.jsp" ... imean the url so that the "d.jsp" file gets processed properly.
    Also where should i save all the jsp files and what config is requiered in the web.xml for your solution
    I thank you for your help
    Pinkesh

  • [svn] 4540: don't include swz files in the flex_sdk_4.zip

    Revision: 4540
    Author: [email protected]
    Date: 2009-01-15 10:14:40 -0800 (Thu, 15 Jan 2009)
    Log Message:
    don't include swz files in the flex_sdk_4.zip
    Modified Paths:
    flex/sdk/trunk/build.xml

    when you have default linkage, flash player first checks if  the framework libraries are in flash player cache if not it dowloads them .. i tried to upload to the  ftp all project files incudling framework libraries and it still doesn't work  .  how can i fix that ?   or there is no way but to merge framework libraries to my swf file

  • What gives Apple, I can't open a CVS file!?

    So I download a CVS file from my online banking and go to open it with my new version of numbers, and the formating is out and the cell format for currency have not been preserved.
    It was a simple matter to correct, a couple of highlighted columns and clicks, but Numbers 2.3 opened the file without the above issues, as did MS Excel. This is my first disapointment with the new suite , I really like the newer versions of pages and Keynotes, but numbers is much poorer. I expect better from Apple and hope for improvements soon. Until then I am glad I have version 2.3.

    I do not know about how Numbers handles auto-formatting imported text, so cannot speak to that (I don't recall importing any plain text files into Numbers at least).
    It was the comment about "..formating is out and the cell format for currency have not been preserved.." that I was referring to.  There simply is no formatting at all to be preserved in a plain text cvs file, so whatever one sees in any app upon opening it is some form of auto-formatting by that app.
    Excel is notorious for trying to anticipate numeric formats and I personally hate it when opening a comma separated or tab delimited plain text file - I often have data with alpha-numeric identifiers in one column, and Excel always wants to convert some of those as dates so I always have to be very careful to consciously force it to treat those columns as plain text.

  • Javascript is not enabled according to a number of apps, including synch.

    I am informed by a number of apps (including FireFox Synch) that JavaScript is not enabled. I am running FireFox 33.0 on an ASUS tablet running Windows 8.1. I have re-downloaded and un/re-installed FireFox a number of times. These apps have run on other windows machines with no issues.

    Interesting, when I go to the browser console, I get:
    ReferenceError: chapters is not defined HTML.js:6
    ReferenceError: version is not defined eASLRB.htm:71
    The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. eASLRB.htm
    The files eASLRB.htm, HTML.js, are in the folder in question. Never seen this before, but it sounds like a non-trivial error. Possibly a corruption of some sort when I copied from DropBox?
    It looks like all the scripts being invoked are in a subfolder of the program folder nameded Scripts
    <META http-equiv="Content-Script-Type" content="text/javascript">
    <script language="JavaScript1.3" src="Script/util.js"></script>
    <script language="javascript" src="Script/globals.js"></script>
    <script language="javascript" src="Script/HTML.js"></script>
    <script language="JavaScript1.3" src="Script/nav.js"></script>
    <script language="javascript" src="Script/settings.js"></script>
    <script language="javascript" src="Script/search.js"></script>
    <script language="JavaScript1.3" src="Script/ToC.js"></script>
    <script language="JavaScript1.3" src="Script/text.js"></script>
    <script language="javascript" src="Script/qa.js"></script>
    <script language="javascript" src="Script/index.js"></script>
    <script language="javascript" src="Script/asop_settings.js"></script>
    <script language="javascript" src="Script/cookies.js"></script>
    <script language="javascript" src="Script/addendum.js"></script>
    <script language="javascript" src="prefs.js"></script>

Maybe you are looking for

  • Site crashes when trying to open a music file

    On this site for about four months or more, when I try to open most music files, the site instantly crashes. The music software is called Scorch. == URL of affected sites == http://www.sibeliusmusic.com/

  • All Ps Cs1 stuff on Ps Touch

    I remember using Photoshop cs1 on my mini acer of 1024x600 res. on a 8" screen running windows xp with 1gb of ram and 1ghz of cpu. android tablets and ipad have the capability to rum the cs1 or cs2 functions since they have more specs than the ones I

  • Creating a File and writing data to it

    hi, I have a problem when creating a file,my OS is LINUX,the file not getting creating,after creating the file,i wanna write some data into it,please help me... :-(

  • Windows 7 x64 enterprise comes with connection error

    When I try to add network printer on windows 7 machine I get following error. Windows cannot connect to the printer. Access is denied I'm using PCL 6 drivers, its HP printer. Our print server is windows 2003 std 32bits.

  • Quitting PS triggers crash report

    Every time I quit PhotoShop I get crash reporting dialog boxes from both Adobe and Apple. Even though I chose to QUIT, they report that PS quit unexpectedly. I have sent the reports to both Apple and Adobe but nothing ever changes. This has been happ