New Ajax-related tags and CF Mappings

We have an application that is used by multiple clients but has a shared codebase. The way this works is that client's web site gets a virtual directory set up to the application's web root in IIS, so they'd each get www.mycompany.com/neatApp/ where /neatApp is a single directory that issues various calls to CFCs for page layouts. Within the CFC that handles the page layout is a single <cfinclude> who 'template' argument is passed from the file in /neatApp, and which exists in the 'codebase' directory - the real guts of the app. The /codebase directory is not a virtual directory under IIS but is set up as a Coldfusion mapping (i.e. /codebase points to c:\blahblahblah\codebase\).
<cfinclude> properly looks for a coldfusion mapping and this has served us well for a while.
We're now updating parts of the app to use some of the swanky new CF8 pieces, and the biggest problem we've encountered so far is that, when using things like <cflayout> with a 'source' attribute, or a <cfdiv>, they seem to disregard the CF server mappings - while <cfinclude> will find a file located in /codebase/someDirectory/myfile.cfm, a form action of that same URL in a cflayout tab or in a cfdiv will come up with a file not found: /codebase/someDirectory/myfile.cfm.
I'm sure this must be covered somewhere but none of the search terms I could divine seemed to illuminate the subject any. We've got things working just by putting the code we need in the IIS-mapped /neatApp virtual directory, but that sort of defeats the purpose of having all the secure code in a different place that isn't exposed to the public web.
Any tips?
Thanks,
Aq

try using this
response.getWriter().write(cityListSize);
response.getWriter().close();

Similar Messages

  • How do I transfer photos and related tags  from Photoshop Elements 5 to a new iMac Apple desktop computer

    Is it possible to move all my photos , Tags and folders in Photoshop Elements 5  from my Vista machine to my new Apple iMac desktop?

    You will need to upgrade PSE in windows to at least PSE 9, then do a full backup using the organizer's backup command to a removable drive, then restore to the mac. The mac organizer can only understand windows catalogs from PSE 9 or later.
    You can download a trial version here to get the catalog updated:
    Download Photoshop Elements products | 12, 11, 10

  • New MVC with Standard Tags and DB sample

    I have posted initial build of a new learning application on
              SourceForge "basicPortal" under CVS
              http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal
              It is using Struts with Standard Tags and X: Transform from DB, Realm
              base security, CURD, etc. etc. I have big plans for this, to be 20% of
              code that gets used 80% of time and "faces" and expression language
              compliant.
              (Err.. this build is not for newbies, but I will update it .... a lot
              and often.)
              To keep up on this and related topics, there is a mail list
              http://www.netbean.net/mailman/listinfo/mvc-programmers
              that also gets you password to other baseBeans.com features.
              and a newsgroups readers news.baseBeans.com.
              Hope you like,
              Vic C.
              

    Looking at the XFILES.5.xml file and Install.vbs files of the XFILES installer, it appears that the XDBPM_SUPPORT and XFILES_DBA_TASKS actions will only be run if you enter a SYSDBA user in the "DBA User" field of the installer. However, for some reason, Oracle seems to have commented out the command that checks to ensure that the DBA user you entered is a SYSDBA user, and the "DBA User" field defaults to SYSTEM, which is not a SYSDBA user. Since I got things working I haven't tried rerunning the installer with a SYSDBA user, but maybe it will work better. The installation documentation and/or the installation scripts need to be updated to reflect the need for a SYSDBA user.
    Regarding the APEX version of XFILES, this has not installation instructions whatsoever, and there are prerequisite steps to get this to install correctly as well. I tried importing the f102.sql file into APEX and it failed on the prereq validation because an "XFILES/Apex" folder wasn't found in XML DB. I went looking for anything that creates this directory and I found that there is another XFILES_DBA_TASKS.sql script specifically for the APEX version. It is included in the f102.sql file. So I cut and paste the contents into SQL*Plus and ran it as SYS. I was then able to install the f102 application.

  • Init-param tags and related settings?

    Hello all,
    I am completely new to all this and just recently started training for a product called ServiceCenter and was wondering how the servlet technology works in conjunction with the product.
    There are servlet tags available in the web.xml for servlet names AttachmentDownload, FileDownload, FileUpload, ImageUpload, AttachmentUpload, UniqueUpload, Attachment, Image, Messages, HtmlViewer, SCLink, NavMenu, and ThemeServlet.
    At this time I can find no documentation available for all the init-param tags and related settings along with explanations. If I can understand how this works, I'm sure I can get the appropriate info from the SC engineers.
    And when I say I'm new to this, even that is an understatement but I look forward to a looong career and learning every bit of information passed my way.
    Thanks,
    Andrew

    Sounds like 3rd party API.
    First find out the package names for all of that stuff and then google on that to find the manfacturer's website.

  • Add new Item to Drag and Relate Menu

    Hi Dear;
    1- how can i add a new item to drag and relate menu?
    2- how can i link it to an sql statement?
    exp: user table (OUSR)
    best regards;

    Dany,
    Currently that functionality is not available using the SDK.  Apologies.
    Eddy

  • HT4914 I want to transfer my entire iTunes "folder" from a newer iMac 3.06 GHz Core 2 machine running iTunes 10.7 to an older iMac running OSx 10.5.8. How best to do this and keep all my data, tags and covers in tact?

    I want to transfer my entire iTunes "folder" from a newer iMac 3.06 GHz Core 2 machine running iTunes 10.7 to an older iMac running OSx 10.5.8. How best to do this and keep all my data, tags and covers in tact?

    Firstly, time to get rid of the 2 x 512MB FBDIMMs in there, they add more heat and use more watts then they add to the system. If you need more, and 4 or 8 DIMMs is ideal, Amazon has 2x2GB sets $22 - about 1/50th what I paid for 1GB new.
    Buy a 250GB Samsung EVO SSD $129
    Pick up Carbon Copy Cloner http://www.bombich.com to clone the system to the SSD
    A sled adapter for the SSD from Icy Dock $14 Amazon.com
    7-8 years overdue for new system drive! amazed it lasted this long. An SSD plus some WD Black 2TB drives or larger should do the trick.
    you can also put the SSD in the lower optical drive bay and use one of the two ODD "spare" SATA ports for the SSD - an SSD is the best way to improve the performance of our old Mac Pro 2006-7 models.
    When you downloaded the Lion installer that was when to create a flash type installer with Lion DiskMaker.
    If you have put in a new-ish graphic card then OS X 10.6.0 may not support it.

  • How do I move the tags and catalogs from old Photoshop Elements on old computer to new computer?

    I am trying to move my Photoshop Elements information to a new computer.  I have gotten the software installed, and the picture files moved over, but the tags and catalogs are not showing up on the new computer.  From looking online, it looks like there is a way to attach that information to the files on the old computer before transferring them over.  Ugh!  Hindsight!  Having already transferred over 35,000 jpg files to my new computer, is there any other way to move that information over without deleting all those files on my new computer and starting from scratch?

    Even if you have the same folder structure, the organizer will find that the internal serial number of the drive is different and show all files as missing; you'll need to reconnect. That's why the backup and restore method is better. It also recognizes the need to upgrade (convert) the catalog format to the new version of Elements.
    Use Backup, Restore to move catalog | Organizer | Elements 6 or later

  • How add new HTML5 input tags to Insert,Form menu and Insert,Tag,HTML?

    how do I add new HTML5 input tags to the Insert,Form menu and Insert,Tag,HTML tags menus of dw cs5?
    I remember seeing some documentation about the latter, but it wasn't very good.  can't figure out how to actually implement something, so need a mentor - and I am a software developer. :-/
    http://help.adobe.com/en_US/dreamweaver/cs/extend/WS5b3ccc516d4fbf351e63e3d117f53d77c2-800 0.html
    but I am not sure what this applies to.  manual is not clear on this.

    I am removing it from my WATCHES since I find out what was wrong. In the submit.jsp, current needs to be setup instead of create.
    <jbo:Row id="myrow" datasource="ds" action="current" >
    Have a great week.
    Kamran

  • Move iWeb Seo Tool Tags and settings to a new MacBook

    I want to move iWeb Seo Tool Tags and settings to another MacBook.
    I have moved the ~Library/Preferences/com.ragesw.iwebseotool.xml and the ~/Application Support/iWeb SEO Tool.
    But when i open Seo Tool there is nothing in it.
    Can someone help me? What wrong am i doing?
    I have moved the iWeb file and it works fine.
    /peter

    There are two files in ~/library/preferences/
    com.ragesw.iwebseotool.plist
    com.ragesw.iwebseotool.xml
    The site info is in the iWeb SEO Tool doc that is in ~/library/Application Support/iWeb SEO Tool/
    Double click this file to open it in SEO Tool.

  • I am new to using Oracle, and I am trying to create an add/insert stored pr

    I am new to using Oracle, and I am trying to create an add/insert stored procedure for a table. The PROD_CD and PLAN_CD fields in my table can have no value (empty or null) Can you please check my code and let me know what I am doing wrong?
    Table definition:
    CREATE TABLE DCWEB.USER_PLAN_PREFERENCE
    USERID VARCHAR2(40) NOT NULL,
    PROD_CD VARCHAR2(9) NULL,
    PLAN_CD VARCHAR2(9) NULL,
    STATE_LST VARCHAR2(2) NOT NULL,
    STATE_NM VARCHAR2(40) NOT NULL,
    LST_UPDATE_TS TIMESTAMP(6) DEFAULT CURRENT_TIMESTAMP NOT NULL
    ALTER TABLE DCWEB.USER_PLAN_PREFERENCE
    ADD CONSTRAINT USER_PLAN_PREFERENCE_XPK PRIMARY KEY (USERID, PROD_CD, PLAN_CD);
    -- Grant/Revoke object privileges
    grant select, insert, update, delete on DCWEB.USER_PLAN_PREFERENCE to HIGGIB1;
    Stored Procedure Definition:
    procedure setUserPlanPref (
    userid in varchar2,
    prod_cd in varchar2,
    plan_cd in varchar2,
    state_lst in varchar2,
    state_nm in varchar2
    is
    currentTimestamp timestamp := current_timestamp;
    begin
    insert into user_plan_preference (userid, prod_cd, plan_cd, state_lst, state_nm, lst_update_ts)
    values (upper(userid), upper(prod_cd), upper(plan_cd), upper(state_lst), upper(state_nm), currentTimestamp);
    commit;
    exception
    when dup_val_on_index then
    begin
    update user_plan_preference up set
    up.userid = upper(userid),
    up.prod_cd = upper(prod_cd),
    up.plan_cd = upper(plan_cd),
    up.state_lst = upper(state_lst),
    up.state_nm = upper(state_nm),
    up.lst_update_ts = currentTimestamp
    where up.userid = upper(userid)
    and up.prod_cd = upper(prod_cd)
    and up.plan_cd = upper(plan_cd);
    commit;
    exception
    when others then
    rollback;
    end;
    when others then
    rollback;
    end;
    end;
    INPUT DATA
    I am unable to insert a record calling the stored procedure with values: DCWEB4578, , 2P, CA, CALIFORNIA but when I change to the string "NULL", the insert succeeds. When I try to call the stored procedure to update the inserted record with values: DCWEB4578, "NULL", 2P, CO, COLORODO the update does not happen since I still see the original record in the table. Please advise. Thanks in advance for your help.

    938319 wrote:
    I am new to using OracleWelcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and ensure you've updated your profile with a real handle instead of "938319".
    You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Thanks for posting the complete code, it makes it so much easier to understand the problem, but always post code wrapped in tags<tt>\...\</tt> tags to preserve formatting and special characters.
    and I am trying to create an add/insert stored procedure for a table.Does this have anything to do with APEX, for which this is the forum? General SQL &amp PL/SQL matters should be directed to the {forum:id=75} forum.
    The PROD_CD and PLAN_CD fields in my table can have no value (empty or null) Can you please check my code and let me know what I am doing wrong?This:
               commit;
    exception
    when others then
    rollback;
    end;
    when others then
    rollback;Remove it all.
    Commits should be issued by end user/client software on completion of a transaction. This means <tt>commit;</tt> should almost never appear in PL/SQL code. The main exception to this is in <tt>dbms_job/secheduler</tt> scheduled processes that have no client or UI. If this code is executed from APEX, then APEX issues more than enough commits anyway.
    exceptions are just a way of ensuring your code is buggy.<tt>when others</tt> exceptions are just a way of ensuring your code is buggy.
    INPUT DATA
    I am unable to insert a record calling the stored procedure with values: DCWEB4578, , 2P, CA, CALIFORNIA but when I change to the string "NULL", the insert succeeds. When I try to call the stored procedure to update the inserted record with values: DCWEB4578, "NULL", 2P, CO, COLORODO the update does not happen since I still see the original record in the table. Please advise. Thanks in advance for your help.With the <tt>commit</tt>s and <tt>when others...</tt> removed from the code you'll have a chance of seeing what's actually happening. Note that the entire procedure can be simplified by writing as a MERGE</tt> statement.

  • Retrieving data from a relational table and CLOB as a whole XML file

    I created the table lob_example and I have managed to insert XML document into it using XML SQL Utility. In this document I put contents of <DESCRIPTION> tag into CDATA section.
    LOB_EXAMPLE
    Name Null? Type
    ID NOT NULL NUMBER
    DESCRIPTION CLOB
    NAME VARCHAR2(40)
    But I could not retrieve this data properly. I can think of only one solution - to parse and build the whole XMLDocument. I found the suggestion of another solution to use Oracle8i views to do that in http://technet.oracle.com/tech/xml/infoocs/otnwp/about_oracle_xml_products.htm, but this text is not clear enough for me.
    I would like to quote the fragment from document mentioned above, which is ambiguous for me:
    "Combining XML Documents and Data Using Views
    Finally, if you have a combination of structured and unstructured XML data, but still want to view and operate on it as a whole, you can use Oracle8i views. Views enable you to construct an object on the "fly" by combining XML data stored in a variety of ways. So, you can store structured data (such as employee data, customer data, and so on) in one location within object -relational tables, and store related unstructured data (such as descriptions and comments) within a CLOB. When you need to retrieve the data as a whole, you simply construct the structure from the various pieces of data with the use of type constructors in the view's select statement. The XML SQL Utility then enables retrieving the constructed data from the view as a single XML document."
    The main question is - how to use type constructors in the view's select statement?

    Hello
    Sorry for asking the same question again, but any responses would be greatly appreciated.
    How to use type constructors in the view's select statement?
    I could not find any answers for this question on Technet. Maybe the other approaches are more efficient to combine the part of data from CLOB with data from other column types?
    Thank you

  • Changing ID3 tags and replacing tra

    I'm playing with my new Xtra and enjoying it. I will want to jigger many of the tags to organize the genres and artists better.
    ) The software stored the albums (as I requested) under Artist/Album. If I shift an album under a different artist name, I assume it will not automatically change the tags for the artist. (For instance, I have a few "Elvis Costello" and a few "Elvis Costello and the Imposters"... I want them all under the same artist name).
    2) Can I change the basic tags (Artist, Album, Genre and even Track #) using Create MediaSource Organizer, or should I download a decent/free ID3 tag program recommended on various guru FAQs?
    3) Here's my real question: Once I alter the tag on a track I've already loaded onto the player, I will want to replace it with the updated tags. If I re-transfer, will it overlay the tracks with the updated ones -- or will it create duplicates? Do I need to delete the album or tracks from my player before sending them back over?
    Thanks
    Michael

    zmulls wrote:I figured the PC was easier to change tags. Just for the typing (!)
    Well you can only edit tags using the PC. I meant with respect to which data source you use, the player itself (when connected to the PC) or the files on the PC's hard dri've.
    The "move" would be just taking a subfolder ("album") and moving under a different "artist" folder -- in Explorer. I figured also that I'd still have to change the tags (the ripping program reads the tags and creates the directories, but I assumed the intelligence doesn't go another way).
    Ah right. Yes, you have to change the tags themselves. It doesn't automatically realise the folder has changed, although you can get many programs which will use folder and filename data to generate the tag.
    So I should grab a tagging program, and plan to "Delete From Player" and "Re-Transfer From PC." Not as bad as it sounds, as I can delete whole albums at once from the Player.
    It's certainly the method I use. It really depends on what approach suits you.
    I saw the list of tag programs on your FAQ -- are the "free" ones good enough? Is there a real advantage in the shareware or paid programs (other than the one you cite on Nomadsync).
    I've never bought a tag editing program, and have used 2 or 3. I prefer overall though, but some don't like the UI. Best to check some out.
    Nomadsync is listed in the programs to copy files. Remember that Nomadsync is not a tag editor, it's a program for copying files.

  • Sorry, something went wrong --- I got an error message after a new webapp was built and a new site collection was created

    Sorry, something went wrong --- I got an error message after a new webapp was built and a new site collection was created.
    This in SharePoint 2013 Farm.
    What should I do?
    1- I did a DisableLoopBack and set the value to "1".
    For hostname do I have to do : 111.111.111.111 (sample) and serversp2013?
    P.S. I fixed this issue once, long time ago and I forgot how it ... be done.

    Hi,
    For troubleshooting your issue, please take steps as below:
    1.Go to IIS, make sure the web application is actived.
    2.Go to IIS -> Applicaiton Pools, make sure the application pool related to your web application is started.
    Reference:
    http://support.microsoft.com/en-us/kb/926642/en-us
    http://www.techrepublic.com/forums/questions/cannot-browse-created-web-application-site-in-sharepoint-services-30/
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Printing problem-new HP Laserjet P2015 and VERY slow printing-

    I have a new HP Laserjet p2015, and while it does print, it is VERY slow—typically about 1 page per minute even for plain black-and-white Word documents. Much time spent with HP support, even got a new new machine… they're out of ideas and think it might be OS related…
    Where do I begin to troubleshoot this?
    Printer is connected directly to computer via USB.

    I have downloaded new drivers, removed and added the printer multiple times, etc. As I mentioned, I've spent a few hours with HP support, tried new USB cable, even got a new machine. They now believe it's something with my system.
    Any reason to believe that reinstalling my system software will help?
    By the way: Printing from Text Edit is not faster. Or if it is, not very. In any case, it's not a realistic solution

  • I have a new iMac at home and a PC at work.  My work PC has VPN software on it. What do I need to do in order use the VPN on the iMac to access the PC at work?

    I have a new iMac at home and use a PC at work.  My work PC has VPN/Remote Desktop software on it.  I would like to be able to access my PC from home on my iMac using this VPN. I am not sure how to make that happen.

    Office 2011 is not compatbile with Exchange 2003.
    I suggest you post further Office related questions on Microsoft's own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

Maybe you are looking for