URGENT:PLEASE TELL ME HOW TO RUN BOTH "ITEXT & MYFACES1.0" TOGETHER?

URGENT: HELP PLEASE. ITEXT AND MYFACES1.0.9 COMBINATION USE BLOCKS THE PDF GENERATED ITEXT.
We are using ITEXT for PDF report generation in JSF web appliaction, We needed to implement the Fileupload, we tried both MYFACES1.0.9 and TOMAHAWK, both ways we also got the file uploading working. For this we needed to add the filter in the web.xml file ( <filter-name>ExtensionsFilter</filter-name> as below). NOW by doing this, it BLOCKS THE PDF OUTPUT OF THE ITEXT and the result in sumthing like corrupted PDF is spitted in the browser (%PDF-1.4 %âãà Ó 2 0 obj <>stream ÿØÿà JFIF� �`�`�ï¿................................................)
When i remove the MYFACES1.0.9 only then the good PDF output is viewable in the BROWSER.
PLEASE TELL ME HOW TO RUN BOTH ITEXT(for pdf report) and MYFACES1.0.9 (for fileuploading) TOGETHER?????
========================
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<filter>
<filter-name>ExtensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.component.html.util.ExtensionsFilter
</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>10m</param-value>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>ExtensionsFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
</web-app>
========================

calm down!
You always have the option of dumping the file uploading component and just using the Apache FileUpload API in a servlet - then you'll have full control over what happens when without any additional configuration needed.

Similar Messages

  • Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why do i need to do some settings for it ?

    Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why? do i need to do some pre defined  settings to run the cd's and dvd's ?

    A .exe file is a Windows executable. OS X does not run Windows programs. If you need to use .exe files then you will need to install Windows on your Mac:
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • I have finally set up a group in my contacts. Can anyone please tell me how to send an email to the entire group? running Mavericks on iMac

    I have finally set up a group in my contacts. Can anyone please tell me how to send an email to the entire group? running Mavericks on iMac

    Drag the entire group into the To: field of a new message. The group is in your Address Book. You've used a name for it, like My Group. You can simply start typing "My Group" in that To: field and it should appear in a context menu.

  • Can anyone please tell me how to stop email previews from appearing on my screen. I have turned off the preview option in settings on both my ipad and iphone, but they still keep appearing.  Thanks

    Can anyone please tell me how to stop email previews from appearing on my screen. I have turned off the preview option in settings on both my ipad and iphone, but they still keep appearing.  Thanks

    works ok on mine - (5, 7.1.1).  Try again.  with previews set to none, mine shows the sender and the subject line only.  (you cannot get rid of the subject)    with the other settings, you get the sender, subject line and however many lines you selected.

  • Hi. I am using iphone 3gs running on ios 5.1.1. I didn't find any software update option at any place in setting.  Please tell me how can i get it or how i would be able to download and install ios update without using computer

    Hi
    I am using iphone 3gs running on ios 5.1.1
    I didn't find any software update option at any place in setting.
    Please tell me how can i get it or how i would be able to download and install ios update without using computer

    Just use the phone the way it is, forget the apps.

  • Please tell me how to shut down apps running in the background on my iPad.  I downloaded ios7, and now when I hold my finger on them they don't have the plus sign

    Please tell me how to shut down apps running in the background with ios7

    Shut down apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • I have installed mountain lion on my macbook pro ,but it made my mac very slow. Would someone please tell me how  to uninstall this one and reinstall snow leopard?

    Hello,
    I have installed mountain lion on my macbook pro ,but it made my mac very slow. Would someone please tell me how  to uninstall this one and reinstall snow leopard? I tried to do it by my original CDs but macbook  pro didn't let me to do it.
    Thanks

    It would be easier to just fix whatever is making your machine slow.
    I wrote a little diagnostic program to help show what might be causing these problems. Download EtreCheck from http://www.etresoft.com/download/EtreCheck.zip, run it, and paste the results here.
    Disclaimer: Although EtreCheck is free, there are other links on my site that could give me some form of compensation, financial or otherwise.

  • Can somebody please tell me how to fix this. when i try to install appleworks this pops up  so please help me i need to get this on my mac

    can somebody please tell me how to fix this. when i try to install appleworks this pops up
    so please help me i need to get this on my mac

    AppleWorks is a very old application and requires Rosetta to run under recent systems.
    Lion does not include Rosetta.
    If you browse this forum you will find many posts on this issue.

  • Could you please tell me how to resolve the following import error? Thanks.

    Hi,
    When run the following command to import two tables:SPSSDMRESPONSE_LOG and SPSSSCORE_LOG, there are some error in the log. Could you please tell me how to resolve these error? Thanks.
    Command:
    imp S3SLORL10/Pass1234@SPSS file=/yhan/subTables.dmp ignore=y tables=SPSSDMRESPONSE_LOG,SPSSSCORE_LOG
    There are some error in the log file.
    The log file is:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing S3SLORL10's objects into S3SLORL10
    . importing S3SLORL10's objects into S3SLORL10
    IMP-00061: Warning: Object type "S3SLORL10"."Info224_T" already exists with a different identifier
    "CREATE TYPE "Info224_T" TIMESTAMP '2011-09-21:06:54:13' OID 'A1F8D176EF2949"
    "07882153DE7E4CC9F9' AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LI"
    "ST_T","Response" "Response225_COLL","Property" "ModelOutput223_COLL")FINAL "
    "INSTANTIABLE "
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSDMRESPONSE_LOG" because object type "S3SLORL10"."Info224_T" cannot be created or has different identifier
    IMP-00061: Warning: Object type "S3SLORL10"."Metric214_COLL" already exists with a different identifier
    "CREATE TYPE "Metric214_COLL" TIMESTAMP '2011-09-20:09:56:02' OID '98999BF48"
    "84F4BAB81D391109E4BB823' AS VARRAY(2147483647) OF "nameValueT"
    "ype208_T""
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSSCORE_LOG" because object type "S3SLORL10"."Metric214_COLL" cannot be created or has different identifier
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSDMRESPONSE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSSCORE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    Import terminated successfully with warnings.

    *Import of table containing object type(s) fails with IMP-00061 IMP-00063 [ID 203822.1]*
    in short: search for the TOID_NOVALIDATE parameter

  • Can anyone please tell me how the attribute node in LABVIEW ( ver 5) in builtin INSTRUMENT I/O exampe file

    Can anyone please tell me how the attribute node in LABVIEW ( ver 5) in builtin INSTRUMENT I/O exampe file works and how it is being made.............

    Samura,
    After running LabVIEW 5.1 I found in the Search Examples help file a link titled Instrument I/O. Under there I see several examples, one of which contains many attribute nodes. It is difficult for me to tell you pecifically what the purpose of each and every attribute node in this forum.
    Generally, attribute nodes in LabVIEW 5.1 are used to set the properties of the front panel controls and indicators. The properties available in an attribute node are very similar to the properties made available by right clicking on a particular front panel control or indicator.
    If you have a question about a specific attribute node, I would like to ask you to post in a new thread with a detailed description of the attribute node.
    Thank you, and have a great day
    Scott
    Applications Engineer
    National Instruments

  • Some one please tell me how to reset version 10.6.8 i just bought off cl

    some one please tell me how to reset version 10.6.8 on macbook air  i just bought off craiglist and forgot to ask if password on there

    Clean Install of Snow Leopard
         1. Boot the computer using the Snow Leopard Installer Disc.  Insert the disc into the
             optical drive and restart the computer.  After the chime press and hold down the
             "C" key.  Release the key when you see a small spinning gear appear below the
             dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, set the format type to Mac
             OS Extended (Journaled, if supported), then click on the Partition button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. After you finish Setup Assistant will complete the installation after which
             you will be running a fresh install of OS X.  You can now begin the update process
             by opening Software Update and installing all recommended updates to bring your
             installation current. Start by downloading and installing Mac OS X 10.6.8 Update Combo v1.1.

  • Please tell me how can  declare an array of object.

    how to create a two dimentional array object of a class.
    let,
    class abc{
    abc(){
    is it posible--
    abc ss=new abc[10][10]
    please tell me how can declare an array object.

    then always use String and don't consider
    StringBuffer at the outset. 'best practices' need not
    be seen as premature optimization. besides, if it is
    abstracted, does not matter how it is stored
    internallyNot sure I would agree with this example - a String is immutable, if I want to change the object then using a StringBuffer makes sense (conveys the intend, yada, yada, yada).
    Although, I do agree with you that some optimizations are best practices and should be used. I also come from the old days when optimization was always on our mind. Also, I would not expect someone to do something like re-calculate a value every time it is needed instead of storing the value in a variable, just to avoid optimization.
    I just think that the example of using a 1-dimensional array when a 2-dimentional array is a better representaion of the "real world" will both obscure the intention and compicate the code.

  • Please tell me how to download Firefox 3 (?) or whichever one can work on my Mac OS 10.4 desktop. I have been using Firefox 2.0.0.12 on my Mac OS 10.3.9 and like it very much.

    Thank you for your reply.
    Please tell me how to find and downloads these updates?

    Very weird day in Firefoxland
    First on a Powerbook G4 running 10.4.11 I respond to an invitation to upgrade to Firefox 4 (like a lot of others). Long story short, I wind up losing the browser altogether -- including all bookmarks. Why? Because neither the Firefox homepage (or CNET downloads) makes it clear that 4.0 is for OS 10.5 only! Amazing!
    Then I try to register to post a reply in a thread that crits Firefox for not making this System Requirements info upfront clear. But the Register page I’m taken to (https://support.mozilla.com/bs/users/register) is in SERBO-CROATIAN!!
    Then I try to log into Chat a couple of times and when it’s not CLOSED its a long line waiting and THEN it closes.
    WOW!! Are the wheels off the wagon here or what!?!

  • My Iphone 5s will restart when i was pull down notification.Please tell me how to fix?

    My iphone 5s (ios 7.1) will Restart when i was pull down notification.please tell me how to fix

    Have you tried to reset the iPhone? ( See: reset your device.)
    To reset, press and hold both the Sleep/Wake and Home buttons for at least 10 seconds, until you see the Apple logo.

  • ORA-06502: numeric or value error, please tell me how to assign ...

    Dear all people!
    my code:
    declare
    string1 varchar2(300);
    string2 varchar2(65);
    begin
    string1 := ....
    string2 := substr(string1,1,60);
    end;
    when i run program in debug
    at command "string2 := substr(string1,1,60);" it raise error ORA-06502;
    Please tell me how to assign substr(string1,1,60) to string2 (max length of string2 is 65);
    I'm looking to forward to receiving your response!
    Thank you very much;

    Only INVALID_NUMBER exception is handled and also VALUE_ERROR should be handeled. You can resolve it by handling VALUE_ERROR exception or by adding WHEN OTHERS as I did in following example.
    SQL> create or replace FUNCTION to_number_or_null (
      2      aiv_number in varchar2 )
      3      return number is
      4     /*
      5     to_number_or_null.fun
      6     by Donald J. Bales on 12/15/2006
      7     An errorless to_number( ) method
      8     */
      9  begin
    10     return to_number(aiv_number);
    11     exception
    12     when INVALID_NUMBER then
    13      return NULL;
    14     when OTHERS then
    15      return null;
    16     end to_number_or_null;
    17  /
    Function created.
    SQL> select to_number_or_null('A') from dual;
    TO_NUMBER_OR_NULL('A')
    ----------------------With kind regards
    Krystian Zieja

Maybe you are looking for