Problem setting file extension with jspc

I'm using xhtml which it appears the Jasper compiler (Tomcat 5.5) can't handle. It seems to only recognize files with the jsp and jspx extensions. Is there a way (either on the command line or via the Ant task) to set this? What is the proper way of pre-compiling these pages?
Thanks in advance.
Scott Czadzeck

Hi,
You can restrict them to save in any other format by making the check.
Simply add listner for the Event.OPEN on the fileReference and inside this check for your allowed extension,if the extension is not what you want then
simply right a line there like:-
fileReference.cancel();
And addtionally you can give any alert that your file should be of that particular extension.
with Regards,
Shardul

Similar Messages

  • XML form: associate the file extension with an image

    Hello!
    I am creating some XML forms and i have to ulpoad a file.This isn´t a problem, but in RenderListItem I have to associate the file extension with an image(For example .doc with Word icon).Is it possible to do this? Thanks

    Hello ,
    I'm sorry, but this is not covered within the standart. You have the opportunity to do so in normal LayoutSets but not within a link in XML Forms. Maybe it's a workaround for you to provide a image selection for the author in the edit form, to select such an image manualy.
    hope this helps,
    Axel
    Please consider rewarding points to helpful answers on SDN

  • Problem setting up WDS with MSI RG54GS2 & Motorola WR850g

    Problem setting up WDS with WR850g & MSI RG54GS2
    Hi,
    I'm trying to bridge 2 routers: Motorola WR850g & MSI RG54GS2 .
    I set the MSI as the main router (it works better for me as a router than the Moto), and the Moto is the repeater. I have set it up exactly as the guide on Broadbandreports.com for the Motorola , and on Tom's Networking http://www.tomsnetworking.com/2004/04/14/how_to_wds_bridge/
    The Moto sees the MAC of the MSI (Status is UP), the MSI doesn't have a page that shows WDS MACs . I know the routers are connected because when I connect a laptop to the Moto wireless network, it gets an IP (and the DHCP on the Moto is disabled) and the default gateway of the connection is the IP of the main (MSI) router.
    The problem is I can't surf anywhere. I can't even ping the MSI router - which should be possible if the WDS works properly.The Moto Wireless Bridge Operation is set properly to Access Point/Wireless Bridge .
    Can anyone solve this?
    Thanks.

    David, welcome to the discussions.
    Are you refering to Airport Extreme Setup as the Extreme base.
    Or are you using a 3rd party Router as your primary Base, or the Express as the primary base.
    Read the supplied link, Not all 3rd party routers are WDS compatible.
    http://discussions.apple.com/thread.jspa?messageID=2785566
    Who is you Internet Service Provider?
    What brand and Model Modem did they furnish?
    Are you using Dial-Up...DSL...or Cable?
    http://docs.info.apple.com/article.html?artnum=303595
    See if there is any help from this link.
    http://discussions.apple.com/thread.jspa?messageID=607414
    Cheers Don

  • Associate .indd file extension with CS6

    I have not been able to associate the file extension with CS6 in Windows Vista. The .indd extension is already taken by another application, yet when I try to change it, it does not save.

    While highly unlikely as the reason, Vista was not tested and is not supported for CS6.
    What “other application” has the INDD association? Is it a different version of InDesign? Did you install the other version AFTER CS6?
    Bob

  • Associate file extension with air app on Android

    Hi,
    I am trying to associate a file extension with my air app on Android. My goal is to be able to start my app by clicking on a file with a specific file type from either a file manager or mail app. I have found a solution that in theory would work in native, but does not with air somehow.
    In the .xml-file for the app, under the <android> tag I have written:
    <activity>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="file" />
                <data android:pathPattern=".*\\.csml" />
                <data android:host="*" />
            </intent-filter>
        </activity>
    Does anyone have an idea how this could be solved?
    Thanks in advance
    Jens

    If it works in a native app, it should also work in an AIR app in this case. Can you verify that it does work in a native app?
    See also:
    http://www.mail-archive.com/[email protected]/msg47862.html//www.mail-archive.com/[email protected]/msg47862.html
    http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-ext ension

  • Possible to associate file extension with webstarted app?

    A common property of microsoft apps is to associate file extensions with specifiec apps.
    For example, when you double click on a .xl file, Excel is launched.
    Can the same kind of thing be done for Webstarted apps? If so how?

    I have an idea on how to do this, but I have not tried it.
    1. On first launch, the application does an "install" before starting the main screen.
    2. The install checks the OS, and writes a .sh or .bat file to disk. That batch file runs the command-line to start the application. Hmm, but how does it pass along $*?
    3. The install associates the proper file extension with the .bat file, and/or with the unix file manager software, and/or with IE, Netscape, and Mozilla.
    Then, when a user clicks on a link to a document, or a file in the windows explorer, then the JWS application should lanch and load the file(s).

  • Set file extension (.jpeg)

    Hi folks
    I made a VI where I capture pictures whenever I hit a boolean and they are automaticly saved in a map with the names 0,1,2,3,4,5,... ,  but that ain't important for my problem. I use the IMAQ write file2.vi to write my file to the set file path. This .vi got the function to save the image as a .jpeg, .bmp, .png, ... . I select the .jpeg extension, but when I go to the files they are shown like this (without the .jpeg extenstion).
    I guess that there is an easy solution to add the .jpeg extension after the file name, but I can't find anything.
    Besides that there is something else which stands apart from the .jpeg issue.
    I am taking a lot of pictures under different angles of an object and also save them like the example above. After I took all the pictures I want to proces them, so in order to do that I have to save the images together with the angle. I know that in NI Vision calibration information can be saved with the pictures in a .png file, but I was wondering if this also could be done with your own information. If this is not possible, is there maybe another solution to this?
    Kind regards
    Ruts
    Solved!
    Go to Solution.

    Append the string file name with ".jpeg" (without quotes).  Do this by using the concatenate string on the string palette.  Post some code if you are having troubles.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to associate other file extension with text/xml

    Hi,
    I found that I could only load files into XDB via ftp when they had the file extension ".xml". Why is this?
    Thanks
    Pete

    The information as to which file extensions are associated with which mime-types is stored in the xdbconfig.file. You can add an entry using the following code
    connect system/oracle as sysdba
    call dbms_xdb.cfg_update
           updatexml
             dbms_xdb.cfg_get(),
             '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings',
             xmlelement
               "mime-mappings",
               xmlconcat
                 extract
                   dbms_xdb.cfg_get(),
                   '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings/mime-mapping'
                 xmltype
                   '<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
                <extension>rdf</extension>
                <mime-type>text/xml</mime-type>
                </mime-mapping>'
    commit
    call dbms_xdb.cfg_refresh()
    set long 1000000
    set pagesize 0
    select dbms_xdb.cfg_get() from dual
    quit

  • Setting file extension for flex download

    Hi, I have a flex/flash download app that I use on my website, but a lot of people have trouble with it because they rename the file and accidentally remove the .zip from the end of the file name.  Is there any way that i can prevent this?  I have noticed that when i click to download, the "Save as Type" drop down is blank.  It looks like this:
    File name: myFileName.zip
    Save as type:
    I'm hoping that im just missing a param that i can set to .zip so that it will look more like this:
    File name: myFileName
    Save as type: .zip
    Thanks!

    Hi,
    You can restrict them to save in any other format by making the check.
    Simply add listner for the Event.OPEN on the fileReference and inside this check for your allowed extension,if the extension is not what you want then
    simply right a line there like:-
    fileReference.cancel();
    And addtionally you can give any alert that your file should be of that particular extension.
    with Regards,
    Shardul

  • Computer associates .dwt file extension with AutoCAD (valid) - not DW Template. [was: roberth11148500]

    I have attempted unsuccessfully to create a webpage template using Dreamweaver CS6. On investigation I found that my computer was interpreting the dwt. suffix as an AutoCAD template rather than a Dreamweaver template.  I do have AutoCAD programmes on my computer and in that software dwt. is a valid suffix for templates.  Please someone kindly tell me how to overcome this problem?

    One way is to associate the extension with the relevant program as in Choose the apps Windows uses by default - Windows Help
    Another way is to right click the template file and choose Open With->Dreamweaver
    A third way, if you are running a PHP server is to give the temple a PHP extension as in myTemplate.dwt.php

  • Problems setting up WNA with OAS 10.1.2.0.2 and Windows 2008

    Hi,
    I am trying to set up WNA with an OAS 10.1.2.0.2 in a RHEL 4 platform. I have been able to configure Synchronization and Windows External Authentication following these steps:
    http://download.oracle.com/docs/cd/B14099_19/idmanage.1012/b14085/odip_actdir003.htm#i1010999
    I have also tried to configure WNA without success with those steps.
    The scenario is here:
    * OAS 10.1.2.0.2 infra in a RHEL 4
    * Windows 2008 SP1 (only i use AD from it)
    * Windows XP (client) that should be able to log in without problems when WNA is configured
    How can make it work? I haven´t find any useful documentation
    Thanks,
    Max

    Check these out:
    http://www.freeoraclehelp.com/2011/09/oid-integration-with-ms-active.html
    http://www.freeoraclehelp.com/2011/09/enable-ssl-for-oid-instance-of-oracle.html
    http://www.freeoraclehelp.com/2011/09/oracle-password-filter-to-sync.html

  • Support for file extensions with more than three characters when saving - I want my FLAC!

    Why does the Wave Editor still drop characters from filenames with more than three character extensions when you save a file? But since -opening- a FLAC file with an extension of ".flac" doesn't get chopped to ".fla", why does Audition still chop off the extra character when -saving-?
    It gets old quickly when you have to save, close and reopen files in order to get Audition's Multitrack editor to play nice and be able to find files when you reopen the Session.
    Given that the FLAC filter is open source, I may just have to modify the code and recompile it to force a save to ".fla"... But of course, ".fla" is a Flash file extension, which I also use, so that is a crude hack for me.

    Hi bro...
    use in BYTE mode in place of in TEXT mode. and at the end of each line give some special charactor so as to distinguish between lines.This is effected  by unicode check too
    regards
    Edited by: Mohit Kumar on Feb 9, 2009 9:44 AM

  • Toggle file extension with Automator

    I am looking for the easiest way to automate toggling a file extension between two options. It needs to be the easiest possible solution as it is intended for Architects (specifically working in Revit) who are not the most technically savvy users.
    My first thought was to use Hazel. Something along the lines of watching the folder in question (all the files that need to be toggled are in a single folder and its subfolders) and activate Hazel when the label changes to red. the rules would change an RFT file to RFA and RFA to RFT and put the label back to none. Sadly, I don't think I can change the label on Windows files, so that doesn't work. And the delay waiting for Hazel to process would be frustrating.
    So then I started looking at Automator, and I can easily do one or the other, but I am having trouble with getting a conditional to work. My workflow right now will Filter by one extension and Replace Text in the Extension Only with the opposite. What I want is to filter by RFT or RFA and then do one of two Renames depending on the value of the Extension, but passing the full file path on to the Rename.
    I know I can do this in AppleScript, but ideally I would like to make it work in Automator as this is an envoronment where more of the target audience might experiment and expand on the idea, whereas writing code is unlikely to be something of interest.
    Any help is greatly appreciated!
    Gordon

    The httpUploadForm (Oracle JSP) tag just generates an HTML form
    which has a file upload field:
    <form action="untitled2.jsp"
    ENCTYPE="multipart/form-data" method=POST>
    <INPUT TYPE="FILE" NAME="File" SIZE="20" MAXLENGTH="80" >
    <br><INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Send"> </form>
    It is up to the browser on how to present a file dialog. I don't think you can restrict it from the form...
    By the way, you can get contextual help by right clicking on the httpUploadForm tag (or any tag) on the Component Palette and selecting help...

  • Plz help , how do i associate a file extension with a j2me application

    i need to associate a file extension (.gpj) with my j2me application. in other words when i open a .gpj file i need the j2me application to launch.
    thankyou

    To accomplish this your device need to have an implementation of the Content Handler API (JSR 211)
    1. The class that handles the file extension should implement the ContentListener Interface
    2. you should register the listener to be notified of new requests
    ContentHandlerServer myhandler=Registry.forClass(this.getClass().getName());
    myhandler.setListener(this);3.implement the invocationNotify() method of the ContentListener interface to handle this file extension
    Cheers
    and don't forget your (generous) dukes ;D

  • How to set file extension?

    Hello there,
    I have added the ablility of saving the data in my program. I was wondering how do I restrict the file extension when the user wants to save the file?
    What I mean is right now, when a user saves the data to file, they can choose the file name and the file extension. I do not want to allow them to choose file extension. I want to have a predefined extension, for example .usr or .dat.
    I have seen this in many applications but I do not know how to implement this. I would appreciate it if someone could help me.
    Thanks for your help!

    How you are getting the fname from the user has an impact on how you do this, but not what needs to be done. What is required to have something that takes the fname from the user and parses it, extracting a fname. Once you have that, just append the extension that you want and save the file.

Maybe you are looking for