Trying to use a Rotating Banner Script

Hi All,
I know that some of you are very well versed in iWeb '08 so I thought my question could be answered here.
I would like to use a rotating banner script on each of the pages on my iWeb made website on the .mac server. I'm not sure how to do this. The script will rotate 5 pictures. When you load one of the pages a picture will appear on top of the page. When you reload the page, you'll see a different picture.
What I need to know in order to accomplish this rotation is: 1) Where do I upload the pictures to be used 2)what will the link to the pictures be that I need to insert into the script and 3) How do I get the script onto my webpage?
Thanks in advance for the help

Hi iwr,
I used a little application to make some banners because I cannot (or don't want to) learn code and you can see it here
http://www.mireillegreen.com/Frenchresources/French_ResourcesMain.html
the site is far from finished so there are many dead links but the banners work. what the app does is upload the banner on my .mac then I paste the code in the snippet. and the snippet looks for the banner. So if I guess right the important is that you place the banner where you tell your page to look for it regardless of where you place it. If you want to try this app (it's free to try) you can find it here, then you can see how it handles the upload.
http://www.aquafadas.com/bannerzest/
Good luck
Mireille

Similar Messages

  • Can someone please help clean up my rotating banner file?

    Hello everyone!
    I'm trying to make a rotating banner with buttons on it (check the uploaded FLA... I had to set the extension to *.zip to get it uploaded, so once you DL it, change it to .FLA). It sorta does what I want it to do right now, but my code is really... REALLY awful. The only thing I can say about my code is that the functionality is close to what I'm looking for.
    Basically, this is what I want it to do:
    1) banner consists of 3 different banners that rotate out with an animation in a continuous loop.
    2) little buttons in the lower right hand side will whisk you to the appropriate banner, but will NOT be clickable on its specific banner.
    3) rolling over the main banner img or the button will also pause the movie
    4) clicking on the main banner img will send you to a URL
    I have a very hard time finding a way to be able to call a function over and over again without remaking the function and renaming it. If you have some time, please take a look at the FLA and pass me some pointers. I am using Flash CS3 if that matters. Thanks all!
    Regards,
    Paul

    all of us that have checked your message, so far, have passed it by.
    i'm not sure why the others have but i know i'm here to help other people.  not to do their work for them.  i suspect others feel about the same.
    there's a way to ask for help and maximize your chances for receiving help:  post only the relevant information related to one problem along with the relevant code (if it's a code related issue).
    and there's a way to minimize your chances for receiving help:  post a list of several things you want done and ask someone to do it for you.

  • Using the rotate tool in CS6

    Hi,
    I am trying to use the rotate tool in CS6, I have created a petal, I then use the rotate tool to reposition the axis rotation pint, then when I double click to bring up the dialog box or if i go Object>Transform>Rotate the Axis point shifts back to the centre of the petal.
    I can only assume that this is a bug.
    Any help please
    Many thanks

    Pleased to be of assistance :-)
    By the way, double-click on the Rotate tool will rotate the object around its centre via the dialogue box.
    Maybe that was confusing you.

  • Help! I am trying to use the scripts image processor in Photoshop CC.

    Help! I am trying to use the scripts>image processor in Photoshop CC. When I click on it it comes up with an error saying that it cannot find the Javascript Plug In. I have the newest version of Java installed. How do I get it to work in Photoshop. Do I have to download a separate plug in? Any help would be greatly appreciated.

    Java is not Javascript.
    Do you have a Mac or PC?
    If PC, do you have this file on your system?
    C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\Extensions\ScriptingSupport.8li
    If not, you've got a corrupted installation of Photoshop.  Uninstalling and reinstalling may help.
    -Noel

  • Error 1050 by trying to use load'filename' in matlab script node

    Hi
    I keep getting error 1050 when Labview tries to load a text file through the matlab script node.
    I've all ready checked for it on google and this forum but found nothing. I've also done this: http://digital.ni.com/public.nsf/allkb/2B3FF46C8512C4F786256CF30071BE53 and tried to use dlmread and more. 
    The thing is that  I need the matlab script node to read a txt file that Labview made from a chart with only 1 array, plot it and export a jpg image. I can't really use the 'export image' or 'get image' function in Labview cause I need the whole plotted chart (these functions only take a snap shot of it when they're run).
    This is my code that I'm using:
     data=load('file') ;
    Vpp=(data(1:2000,1));
    xsize = (1/2000);
    plot(0.0005:0.0005:1,Vpp);
    axis([0 1 -5 5]);
    print('-djpeg', 'graph.jpg');
    The usual load in matlab to load txt files and print to print the jpeg. The code works in matlab but not in labview
    And yeah, I'm using windows 7 and legal versions of matlab r2009b and Labview 2009  
    Solved!
    Go to Solution.
    Attachments:
    matlab.jpg ‏213 KB

    Yes I forgot, this is my error...  It looks like it can't read the file path, but the 'file' path is actually just a path to my c:\user\*\*\*\*.txt 
    Error 1050 occurred at LabVIEW:  Error occurred while executing script. Error message from server: ??? Error using ==> load
    Unable to read file file: No such file or directory.

  • Trying to use a proxy server automatic configuration script

    I have just started a new course and my university require every machine that connects to use a proxy configuration script and I am having a spot of bother getting it all set up.
    I have managed to get Firefox set up using the script (I was given a URL for the script and was able to get point the firefox settings at it.) Whilst this allows me to browse the web whilst on campus, it does not allow me to sync all my work to my git, svn and backup server, or in other words, anything that requires an internet connection.
    I am currently using Gnome 3, however, if it is easier to use this kind of thing, then I can switch off to another WM.
    If it helps, the URL for the config file is located here:  http://www-config.strath.ac.uk/proxy.config
    Thanks in advance for any help that can be offered.
    Edit: I tried sticking the url into the Proxy configuration URL bit in the Network settings screen, but that either doesn't work, or I don't know what I am doing (In all fairness, one is just as likely as the other)
    Last edited by nimmo (2011-09-02 21:46:21)

    Ah, I hadn't noticed it giving different contents when you grabbed it when off campus...
    I have  a copy that I downloaded yesterday here:
    function FindProxyForURL(url, host) {
    if (
    isInNet(dnsResolve(host),"130.159.0.0","255.255.0.0")
    || isInNet(dnsResolve(host),"10.0.0.0", "255.0.0.0")
    || isPlainHostName(host)
    || dnsDomainIs(host, "localhost")
    || isInNet(dnsResolve(host),"127.0.0.1","255.255.255.255")
    ) return "DIRECT";
    else if (
    shExpMatch(url, "http://www.gownhire.co.uk/*")
    || shExpMatch(url, "http://www.edeandravenscroft.co.uk/*")
    || shExpMatch(url, "http://launch01.strath.youth-unlimited.com/*")
    ) return "PROXY dangermouse.net.strath.ac.uk:8080";
    else if (
    shExpMatch(url, "http://*.facebook.com/*")
    || shExpMatch(url, "https://*.facebook.com/*")
    || shExpMatch(url, "http://*.fbcdn.net/*")
    || shExpMatch(url, "https://*.fbcdn.net/*")
    || shExpMatch(url, "http://*.bebo.com/*")
    || shExpMatch(url, "https://*.bebo.com/*")
    || shExpMatch(url, "http://*/gateway/gateway.dll*")
    || shExpMatch(url, "https://*/gateway/gateway.dll*")
    ) return "PROXY zloty-p.net.strath.ac.uk:8080";
    else return "PROXY tambala-p.net.strath.ac.uk:8080; PROXY kwacha-p.net.strath.ac.uk:8080; PROXY rouble-p.net.strath.ac.uk:8080";
    [rant]
    Looking more closely at the contents of that file, I am starting to be less impressed with the wireless service. At St Andrews I just had to install a certificate and setting up a WPA2-Enterprise profile and that was that, none of this logging into a web portal as if I was in a coffee shop hotspot nonsense.
    [/rant]

  • Problem with layer ordering when using 3D rotation tool

    Hello, I really hoping that someone might have an answer for this. I am trying to rotate a bunch of movie clips around the X axis (I think its the X in a sort of wheel. Basically what I did is I create a 9-sided polygon, made it a movie clip and then added 9 movie clips 3D rotated perpendicular to each 'face' of the polygon. Then, I made the entire thing a movie clip and 3D rotated the movie clip so that the perpendicular faces are facing forward, and then using 3D rotation to cause it spin, like the wheel on the Price is Right or a rollsign. However when the movie clips that are in back are rotated around the front, the movie clips that were in the front reappear, though backwards. I am guessing this is because they are higher up in the layer order. Here are screenshots of what I am describing: The "Success" should be in the back with a different one in the front, but it is showing up front, though upside down and backwards as it should be in the back. I am using CS5, AS3 and working mainly on the timeline as my coding skills for animation are not that good. Any suggestions?

    If you're using the timeline to animate the rotation instead of code just add in some frame scripts at the appropriate time to swap children. The easiest thing to do is to set a childs index to the top of the stack.
    In a timeline script where you know, for example, image_5 is coming around and you want it to be in the front, you could do something like this:
    // move image_5 to the top of the display list
    carousel_mc.swapChildren(carousel_mc.image_5,carousel_mc.getChildAt(carousel_mc.numChildren - 1));
    Not trying to make it overly complex but where you put the code matters. If you put it inside your carousel itself (I'm loosely calling carousel_mc in my examples) then you'd replace "carousel_mc" with "this", e.g.:
    this.swapChildren(image_5,this.getChildAt(this.numChildren - 1));
    Sprinkle those on the timeline where you know any specific image is supposed to be front facing.
    If you're rotating the carousel via code then you'll just need to pay attention to the rotation property and at specific points run this same type of code to position the image stack correctly.

  • XML Driven rotating banner ad question

    Hi everyone i a very ametur flash designer,
    At the moment i am trying to make a flash banner that rotates banners out randomly and also when the guest sees the a banner they are intrested in they can click on it and it will take them to the respective link. I followed some tutorials out there on how to use xml and flash together and came up with this for my flash code:
    // set random # variables - each must be 0 for first 'while' loop below
    var randomNum = 0;
    var randomNumLast = 0;
    // parent container
    var container_mc = this.createEmptyMovieClip("container",0);
    // movie clip containers
    container_mc.createEmptyMovieClip("loader1_mc",2);
    container_mc.createEmptyMovieClip("loader2_mc",1);
    // preload watcher
    this.createEmptyMovieClip("watcher_mc",100);
    // load xml
    images_xml = new XML();
    images_xml.ignoreWhite=true;
    images_xml.onLoad = parse;
    images_xml.load("images.xml");
    function parse(success) {
        if (success) {
            imageArray = new Array();
            var root = this.firstChild;
            _global.numPause = Number(this.firstChild.attributes.timer * 1000);
            _global.order = this.firstChild.attributes.order;
            _global.looping = this.firstChild.attributes.looping;
            _global.fadetime = Number(this.firstChild.attributes.fadetime);
            _global.xpos = Number(this.firstChild.attributes.xpos);
            _global.ypos = Number(this.firstChild.attributes.ypos);
            var imageNode = root.lastChild;
            var s=0;
            while (imageNode.nodeName != null) {
                imageData = new Object;
                imageData.path = imageNode.attributes.path;
                imageArray[s]=imageData;
                imageNode = imageNode.previousSibling;
                s++;
            // place parent container
            container_mc._x = _global.xpos;
            container_mc._y = _global.ypos;
            // parse array
            imageArray.reverse();
            imageGen(imageArray);
        } else {
            trace('problem');
    // depth swapping
    function swapPlace(clip,num) {
        eval(clip).swapDepths(eval("container_mc.loader"+num+"_mc"));
    function loadImages(data,num) {
        if (i==undefined || i == 2) {
            i=2;
            createLoader(i,data,num);
            i=1;
        } else if (i==1) {
            createLoader(i,data,num);
            i=2;
    function createLoader(i,data,num) {
        thisLoader=eval("container_mc.loader"+i+"_mc");
        thisLoader._alpha=0;
        thisLoader.loadMovie(data[num].path);
        watcher_mc.onEnterFrame=function () {
            var picLoaded = thisLoader.getBytesLoaded();
            var picBytes = thisLoader.getBytesTotal();
            if (isNaN(picBytes) || picBytes < 4) {
                return;
            if (picLoaded / picBytes >= 1) {
                swapPlace("container_mc.loader2_mc",1);
                alphaTween = new mx.transitions.Tween(thisLoader, "_alpha", mx.transitions.easing.Regular.easeOut,0,100,_global.fadetime,true);
                timerInterval = setInterval(imageGen,_global.numPause,data);
                delete this.onEnterFrame;
    function imageGen(data) {
        // random, or sequential?
        if (_global.order=="random") {
            // choose random # between 0 and total number of images
            while (randomNum == randomNumLast) {
                randomNum = Math.floor(Math.random() * data.length);
                trace(randomNum);
            loadImages(data,randomNum);
            randomNumLast = randomNum;
        } else if (_global.order=="sequential") {
            // start at 0, increment to total number of images, then drop back to zero when done
            if (p==undefined || p==data.length && _global.looping=="yes") { p=0; } else { break; }
            loadImages(data,p);
            p++;
        } else {
            trace ("order attribute in xml isn't correct - must specify either 'random' or 'sequential'");
        clearInterval(timerInterval);
    stop();
    XML:
    <gallery timer="5" order="random" fadetime="2" looping="yes" xpos="0" ypos="0">
    <image path="images/12_02.png" />
    <image path="images/600x300callawway_kodak.jpg" />
    <image path="images/BurnerBucksTemplate_600x300.jpg" />
    <image path="images/DEI-594-X-250-copy.png" />
    <image path="images/Wilson_DFY_600X300.jpg" />
    <image path="images/sky_golf.jpg" />
    </gallery>
    Now everything works right so far, my question is how would i make the banners/images into links so when the banner is clicked i can add a link to it so they are taken to that product.

    That code does not go on the button like you would do with on(release) code.  That code will go with the rest of the code you showed.  You will assign an instance name to that button... if you use the code I showed, that instance name will be "btn"--you assign it by selecting the button on the stage and entering it into the Properties panel where it says <Instance Name>.  You will also declare the urlVAriable where that code is...
    var urlVariable:String;
    As for the xml end of things, I will leave you to solve with a little help.  Look at the parse function and try to see how the current xml information is captured and later utilized.   You will essentially create another parameter in each xml node to go with the current "path" parameter.  You can call it "link" or something like that, and it will contain the url that clicking the button will lead to.
    <gallery timer="5" order="random" fadetime="2" looping="yes" xpos="0" ypos="0">
    <image path="images/12_02.png" link="http://www.somesite.com" />
    <image path="....
    </gallery>
    When you parse the xml you will add the link value as another property of the imageData object that you create.
            while (imageNode.nodeName != null) {
                imageData = new Object;
                imageData.path = imageNode.attributes.path;
                imageData.link = imageNode.attributes.link;
                imageArray[s]=imageData;
                imageNode = imageNode.previousSibling;
                s++;
    The rest I will leave for you to sink your teeth into... you need to dig into the code that is used to present the banners and see where assigning the value of the link to the urlVariable needs to happen.

  • ReferenceError: photoshop is undefined? Trying to use Dr. Brown Image Processor Pro

    Hello!
    I installed Dr. Brown Image Processor Pro.
    I have Bridge and PS (CS6, CC and CC 2014) x64.
    Had to do a manual install to each folder.
    In Bridge I get the error
    ReferenceError: photoshop is undefined? Trying to use Dr. Brown Image Processor Pro.
    I tried both the CC and CS6 bridge same result.
    I have about 100 1GB plus files I want to size down. and need Image processor.
    Any Advice?
    I tried Dr. Brown's JUST FIX IT, bit it just brought me to the script editor. I'm not a programmer.
    Any advice will be appreciated.
    Maxi

    I wonder if this PDF Processor script would work better for you:
    http://www.ps-bridge-scripts.talktalk.net/
    Look under PSCS Scripts in left most column

  • I was trying to use the Matlabscripting VI, but it says it is for instructional purpose and not for research and the system is getting stuck.When I used it two days back it worked.Could U plz tell me what the problem is??

    I have Labview 7.0 and Matlab 6.5 installed on all the computers at my School. When I tried to use the Matllab Scripting Window for the first time, it worked, but after two days when I was trying to run the program, there was a meesage saying that the License is for instructional Purpose only and not for Research or commercial use and the Labview is getting totally stuck. I need the Matlab Scripting VI for my Project,could anyone suggest what I shd do or is there any other method by which I could do that.

    Hello Medha,
    Thank you for contacting National Instruments.
    From the information you have provided, I am not sure what is causing your problem. Make sure that you do not have an evaluation license for LabVIEW.
    What, if anything, was changed in your VI before it stopped working? Will it run without the Matlab script?
    If you continue having trouble getting your VI to work, please respond with more information. If you like, you can post your VI (along with any necessary sub-VIs) and I will take a look at it.
    Have a great day,
    Sean C.
    Applications Engineer
    National Instruments

  • [JS][CS3] Trying to use XSL to transform a XML document

    I´m trying to do a script to format my XML in a particular way. The XSL document is ok because I´ve used this document to format an XML document in Indesign CS3 and works fine.However, when I´m trying to use this document in my scripting method I can´t obtain my XML formatted. I´ve tried it many times but I really don´t know where is the problem.
    I´ve changed the XMLExportPreferences (allowTransform,TransformFileName)in my scripting method before exporting my XML in order to obtain a formatted XML.
    Anyone have any idea? What are the steps to make this work?
    Thank u,
    Peter

    I'm having a similar problem but with importing XML. When I run this script I get a dialogue saying that "Stylesheet 'Macintosh HD:Users:myFolder:transform.xsl, specified in the XSLT processing instruction can not be found." But this is the location of the stylesheet??
    Here's the entire script (a combination of Adobe samples):
    main();
    function main(){
    mySetup();
    mySnippet();
    function mySetup(){
    var myDocument = app.documents.add();
    var myRootXMLElement = myDocument.xmlElements.item(0);
    var myXMLTag = myDocument.xmlTags.add("body");
    var myXMLElement = myDocument.xmlElements.item(0).xmlElements.add(myXMLTag);
    myDocument.select(myXMLElement);
    //Sets XML import options.
    var myXMLImportPreferences = myDocument.xmlImportPreferences;
    myXMLImportPreferences.createLinkToXML = false;
    myXMLImportPreferences.ignoreUnmatchedIncoming = false;
    myXMLImportPreferences.ignoreWhitespace = true;
    myXMLImportPreferences.importCALSTables = true;
    myXMLImportPreferences.importStyle = XMLImportStyles.mergeImport;
    myXMLImportPreferences.importTextIntoTables = false;
    myXMLImportPreferences.importToSelected = true;
    myXMLImportPreferences.removeUnmatchedExisting = false;
    myXMLImportPreferences.repeatTextElements = true;
    myXMLImportPreferences.allowTransform = true;
    myXMLImportPreferences.transformFilename = File("/Users/myFolder/transform.xsl");
    myDocument.importXML(File("/Users/myFolder/document.xml"))
    function mySnippet(){
    var myDocument = app.documents.item(0);
    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
    myDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
    myDocument.xmlElements.item(0).xmlElements.item(0).placeIntoFrame(myDocumen pages.item(0), [35, 35, 758, 576]);

  • Error when using function CDbl in Script Editor

    Hello,
    While using the CDbl function in the Script Editor I am getting the following error:
    Error - 13 - Type mismatch: 'CDbl' at Line 24
    The reason I am trying to use CDbl is that I get another error while importing the data from a .CSV file
    Import Error = TC - [Amount=NN|http://forums.oracle.com/forums/] 01-000-1030,Cash in Bank - Payroll,837.83,0.00,"1,569.50",0.00
    Any suggestions would be appreciated.
    -Tony

    Tony,
    Please keep in mind that pressing 'Save' and then 'Run' without using the script in a workflow is sometimes not a valid test. As the scripting generally created inside of FDM needs to be part of a workflow and certain variables/functions are passed when that workflow is executed as a whole.
    Hopefully this helps...

  • "javax.servlet.jsp.JspException: null" When trying to use JSTL

    Hello,
    I am trying to use some taglibs from Apache but I am getting the following error when trying to access the relevant page:
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException: null
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspService(EL_005f2_jsp.java:171)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(Unknown Source)
         org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspx_meth_c_set_0(EL_005f2_jsp.java:208)
         org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspService(EL_005f2_jsp.java:113)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)My web.xml file is as follows:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Jsp_Ex09 - JSP Standard Tag Library</display-name>
    <welcome-file-list>
    <welcome-file>welcome.jsp</welcome-file>
    </welcome-file-list>
    <jsp-config>
    <taglib>
    <taglib-uri>/simplequestions</taglib-uri>
    <taglib-location>/WEB-INF/tlds/simplefaq.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
    </taglib>
    <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <el-ignored>false</el-ignored>
    <scripting-invalid>true</scripting-invalid>
    </jsp-property-group>
    </jsp-config>
    </web-app>I have the standard and jstl jars in my lib directory and the relevant tlds files int the tlds directory. I am using Tomcat 5.5 and J2EE 5.
    The jsp in question is as follows:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    <html>
    <head>
    <title>JSTL Q2</title>
    </head>
    <body>
    <h1>JSTL Question 2</h1>
    <h2>How do I use the JSTL?</h2>
    <jsp:useBean id="questions" class="com.apress.faq.Questions"
    scope="page">
    <jsp:setProperty name="questions" property="topic" value="EL"/>
    </jsp:useBean>
    <table border="1">
    <!-- the literal JSTL tag will be in left column of table -->
    <!-- the evaluated JSTL tag will be in right column of table -->
    <tr><th>tag</th><th>result</th></tr>
    <!-- this tag uses c:out to send the value of an EL to the response -->
    <tr><td><c:out value="${'${'}questions.topic}"/></td>
    <td><c:out value="${questions.topic}"/></td>
    </tr>
    <!-- this tag uses c:set to set the property of a JavaBean -->
    <c:set target="${questions}" property="topic" value="JSTL" />
    <tr>
    <td><c:set target="${'${'}questions}" property="topic"
    value="JSTL"/>
    </td>
    <td><c:out value="${questions.topic}"/></td>
    </tr>
    <!-- this tag uses c:if to determine whether to create another row -->
    <c:if test="${questions.topic == 'EL'}">
    <tr><td>This row will not be created</td>
    <td></td>
    </tr>
    </c:if>
    <c:if test="${questions.topic == 'JSTL'}">
    <tr><td>This row was created because the c:if tag result was true</td>
    <td></td>
    </tr>
    </c:if>
    </table>
    <h2>Multiplication table, 1 - 5</h2>
    <!-use the forEach tag to create a table -->
    <table border="1">
    <tr><td></td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
    <c:forEach var="i" begin="1" end="5">
    <tr><td><c:out value="${i}"/></td>
    <c:forEach var="j" begin="1" end="5">
    <td><c:out value="${i*j}"/></td>
    </c:forEach>
    </tr>
    </c:forEach>
    </table>
    <h2>Formatting numbers</h2
    <br><fmt:formatNumber value="23.456" type="number" /> results in
    <fmt:formatNumber value="23.456" type="number" />
    <br><fmt:formatNumber type="currency">23.456
    </fmt:formatNumber> results in <fmt:formatNumber
    type="currency">23.456</fmt:formatNumber>
    <br><fmt:formatNumber value=".23456" type="percent"/> results
    in <fmt:formatNumber value=".23456" type="percent"/>
    <br><fmt:formatNumber value=".23456" type="percent"
    minFractionDigits="2"/> results in <fmt:formatNumber
    value=".23456" type="percent" minFractionDigits="2"/>
    </body>
    </html>Can anyone spot the problem?
    Sorry for such a big post!

    ava.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(Unknown Source)From the stacktrace, it appears to be from a <c:set> tag.
    Invocation target exception would meant that an error was encountered calling the setter.
    That would focus on this part of the code:
    <!-- this tag uses c:set to set the property of a JavaBean -->
    <c:set target="${questions}" property="topic" value="JSTL" />
    <tr>
    <td><c:set target="${'${'}questions}" property="topic"
    value="JSTL"/>
    </td>That nesting of ${ } inside ${} looks dodgy to me. What is it you are trying to achieve?

  • Development on SharePoint on-line using JavaScript in an Script Editor

    Hi,
    I’m doing a SharePoint development on SharePoint on-line using JavaScript in a Script Editor. I've changed the Calendar NewForm.aspx  in SharePoint designer and I should check the Start Date and End date and I should change the procedure of Save button.
    The problem is I cannot have the component ID’s. I even tried to create new components and rebuild the form but my script sometimes working and sometimes not working.
    I've also tried SharePoint Apps in Visual Studio 2013 and Napa but I have problems  accessing SP lists.
    Could you please advise me?

    Hi Sachin,
    Before I read you reply, I had a "Eureka" moment that I was about to write about.  I got my Javascipt to read my the value that was set in the Filterdropdown!  However, you somewhat burst my balloon with the revelation about how re-sizing
    window changes their size (i.e., Large to Medium, etc)?  It is true, my function does not work when I click the "restore down" icon on the upper right corner of my window, then it works again when I maximize the window.  That sucks : (
         Oh, well.  Thanks just the same!
    For what it is worth, here is the script I wrote:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
        <script language="javascript">
            //This function reads the digest using /contextinfo.
            function ShowAlert()
                alert(document.getElementById("Ribbon.ContextualTabs.MyWork.Home.Data-Large-2-1").textContent);
        </script>
    </head>
    <body>
    What filter am I set to?  Click the Button snd I will tell you... <input type="button" value="Button" onclick="ShowAlert()";/>
    </body>
    </html>
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

  • Using  FDM Import Action script to import data from ERPI table "tdataseg_t"

    Hi Experts
    I have extracted data from EBS using ERPI and loaded into the intermediate table "tdataseg_t"
    I am trying to use Import Action script within FDM to extract data from "tdataseg_t" table (where ERPI extract data is stored) as i could not use the normal import script.
    Requirement : I have to restrict the custom 2 dimension based on Account dimension.
    Dim Account
    Account = ???? ( i am struck here)
    If Account = 1000 to 5000 Then
    Custom2 = Right( product , 5)
    End If
    but , I could not find the exact syntax to call the Account dimension from the "tdataseg_t" table.
    Please Advise
    Thanks
    Sak
    Edited by: user12292415 on Feb 26, 2012 1:19 AM

    Hello,
    Importing data via a manual script defeats the purpose of ERPi. As it will not provide you an audit trail, drill-through/drill-back, etc.
    Your best bet is to use the default settings by the software. Just because it returns more records than you want is not a bad thing. You can conditionally change/alter the information either in an EventScript inside of FDM or by mapping the un-needed information to IGNORE.
    Thank you,

Maybe you are looking for

  • Display information on Month wise

    We have one requirement and we need to display the Month wise information on the report (Sysdate - 1, sydate -2 ....etc) for example today is 08 Sept 2011 In template level we need to display below Sept 2011 Aug 2011 Jul 2011 Jun 2011 May 2011 Apr 20

  • Configuring sddm

    KDE 4.14.2 In preperation for my move to KDE 5 I thought I would start using sddm. It all works fine but a couple of niggles: 1) On the login screen the only layout available from the drop down box is US - How can I change this to UK. Once logged in

  • About find param's value order

    file "doc/readme.html" at "Parameter Resolution" said: "the XSQL Page Processor determines the value of the parameter by using the following logic. If the request is being processed by the XSQL Servlet, then check in the following order if myParam is

  • Scary call.. Am I the only one?

     I was just on my computer when a call popped up.  This was wierd, I've never called anyone before.   It didn't look right so I hung up.  I clicked on the name to see the profile but I accident;y called them.  I hung up again immediately.   This is t

  • Custom pagination

    Hello, I have a manual tabular form (checkboxes and radiogroups included). I need to customize a default pagination look, hide previous link and submit each page to save results when user clicks next link. Is there a way to reuse internal pagination