Custom tags in jsp - problems with import in java pgm

Hi,
I am new to JSP and am facing some problems.
I am trying to compile the foll. java program and it is giving an error saying 1."Package javax.servlet.jsp does not exist", 2."Package javax.servlet.jsp.tagext does not exist".
I am using 1.j2sdk1.4.1_02, 2.j2sdkee1.3.1,and 3.Tomcat 4.1
My java_home=C:\j2sdk1.4.1_02
j2ee_home=C:\j2sdkee1.3.1
path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\j2sdkee1.3.1\bin;c:\j2sdk1.4.1_02\bin;c:\j2sdkee1.3.1\doc\api;c:\jakarta-ant-1.5.1\bin
classpath=c:\j2sdkee1.3.1\bin;c:\j2sdk1.4.1_02\bin;c:\j2sdkee1.3.1\doc\api
can anybody help me with it?
Regards,
newtojsp
import java.io.IOException;
import java.util.Date;
import doc.api.javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class TestTag extends TagSupport
     public int doStartTag () throws JSPTagException
          String dateString = new Date().toString ();
          try
               JspWriter out = page.context.getOut ();
               out.println ("Welcome to the Loan Dept" + " <br>");
               out.println ("Today is:" + dateString + "<br>");
               return SKIP_BODY;
          } catch (IOException ee)
               throw JspTagException ("Error Encountered");
     public int doEndTag () throws JSPTagException
          return EVAL_PAGE;

I got the solution for this.
Thanks
Newtojsp

Similar Messages

  • Problem with importing a java export on SQLSERVER 2005

    We are trying to import a java export for a system refresh.   The SAPINSTgets too step 31 of 32, run java migration toolkit, and then fails  with the following error.
    invalid object name "J2EE_CONFIG"   This is showing up in the runJmt.log.
    com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred during DB access: cluster_data/dispatcher,
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.readConfig(PersistenceHandler.java:108)
         at com.sap.engine.core.configuration.impl.cache.CachedConfiguration.<init>(CachedConfiguration.java:62)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.getCachedConfiguration(ConfigurationCache.java:848)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.getCachedConfiguration(ConfigurationCache.java:882)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.openConfiguration(ConfigurationCache.java:748)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:734)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:693)
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl._getSourceIds0(ClusterDataImpl.java:54)
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl.getDispatcherIds(ClusterDataImpl.java:91)
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl.createIdMapping(ClusterDataImpl.java:172)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.prepareSwitch(MigrationToolImport.java:1129)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.startTool(MigrationToolImport.java:403)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.main(MigrationToolImport.java:1561)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: java.sql.SQLException: [NWMss][SQLServer JDBC Driver][SQLServer]Invalid object name 'J2EE_CONFIG'.
         at com.sap.nwmss.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
         at com.sap.nwmss.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.sap.nwmss.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeQuery(BasicPreparedStatement.java:97)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:281)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:248)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBAccessDefault.getConfiguration(DBAccessDefault.java:578)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.readConfig(PersistenceHandler.java:102)
         ... 17 more
    com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred during DB access: cluster_data/dispatcher,
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.readConfig(PersistenceHandler.java:108)
         at com.sap.engine.core.configuration.impl.cache.CachedConfiguration.<init>(CachedConfiguration.java:62)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.getCachedConfiguration(ConfigurationCache.java:848)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.getCachedConfiguration(ConfigurationCache.java:882)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.openConfiguration(ConfigurationCache.java:748)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:734)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:693)
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl._getSourceIds0(ClusterDataImpl.java:54)
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl.getDispatcherIds(ClusterDataImpl.java:91)
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl.createIdMapping(ClusterDataImpl.java:172)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.prepareSwitch(MigrationToolImport.java:1129)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.startTool(MigrationToolImport.java:403)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.main(MigrationToolImport.java:1561)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: java.sql.SQLException: [NWMss][SQLServer JDBC Driver][SQLServer]Invalid object name 'J2EE_CONFIG'.
         at com.sap.nwmss.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
         at com.sap.nwmss.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.sap.nwmss.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeQuery(BasicPreparedStatement.java:97)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:281)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:248)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBAccessDefault.getConfiguration(DBAccessDefault.java:578)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.readConfig(PersistenceHandler.java:102)
         ... 17 more
    Error executing Migration Tool Import
    java.lang.IllegalArgumentException
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl.createBoxNumberMapping(ClusterDataImpl.java:137)
         at com.sap.sdt.serviceframework630.impl.ClusterDataImpl.createIdMapping(ClusterDataImpl.java:172)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.prepareSwitch(MigrationToolImport.java:1129)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.startTool(MigrationToolImport.java:403)
         at com.sap.sdt.jmt.migrationtool.MigrationToolImport.main(MigrationToolImport.java:1561)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

    Hi David,
    since I experiencing the same problem like you did, I'm interested what do you mean by "SQLSERVER script for system refreshes".
    I was searching around but didn't find anything close to this?!
    Can you please help?
    Tnx.
    Kind regrads,
    Samo

  • Problems with importing text messages from PC Suit...

    Problems with importing text messages from PC Suit 7.1.18.0 to my Nokia 5800
     I am trying to import a csv file that contains text messages (Note that this file was created using PC Suit 7.1.18.0) to a subfolder that I have created to My Folders but PC Suits only imports the text messages to the Draft folder. Note that initially it shows that the messages are import in the correct folder but after a refresh it shows them in the Draft Folder. Is their any setting that I should change in the PC Suit or the phone? My computer runs on Windows XP Service Pack 3 and the Nokia 5800 was upgraded to the latest firmware v20.0.012
     Thanks for your help

    Most phones only allows importing of draft and archived box for SMS.
    To do a restoring, you need to backup the SMS as a .nbu file using PC Suite and restore later.
    If you got an SD card, you can also do a backup on the SD Card (backup.arc) then restore later (reset and restore: backup.arc and mmc).
    What's the law of the jungle?

  • Tempo problems with imported wav files

    Hey everyone, sorry if there's a quick fix for this in the forums that I couldn't find, but I've been having some tempo problems with imported .wav files.
    Long story short, my system couldn't handle playing all the tracks for a song while recording drums, so I bounced out an mp3 of the song and put it in a new Logic file so my drummer could just play along to that as I recorded him. Unfortunately, the original song is at 167 bpm, but I forgot to change the bpm in the new Logic file with the .mp3 file of the song to 167 bpm, so it was left at the default 120 bpm.
    So, the drums were recorded at the correct 167 bpm, but Logic thinks that those new drum .wav files should be played at 120 bpm, so when I import my drum tracks back into the original file, they do not play correctly at all.
    I could get record it all again, but I wanted to check if there was a way I could salvage what I already have, since my drummer lives about an hour away right now and can't just come over whenever he wants.
    Thanks for the help! I really appreciate it.

    Hi,
    First, do not use MP3 in Logic, the sound quality is less than AIFF, WAV or CAF, and Logic has to decode it for playback, making it a heavier burden on the CPU than an uncoded audiofile, such as AIFF, WAV or CAF.
    Secondly, audio files are independent of Logic's tempo. If you bounce down an audio file in any format (other than Apple Loop), it will play back at the same speed, +regardless of Logics' tempo setting+, either at recording or playback. Logic doesn't 'think' anything. The BPM is only important to MIDI tracks, or to the spacing between audio files. The audio files themselves *are not affected* by the tempo setting. If you import an audio file of tempo 167 into a 120 BPM project, the file will still play at 167, only Logic will indicate the wrong bar positions.
    regards, Erik.

  • Problem with import file type setting

    Problem with import file type settings - In preferences>general I select "wav encoder" But then going to tools>Create it still says "create mp3 version".
    Can't find a way to overcome this. Thanks for any help.

    Doublechecking, roy. After making the preferences change, are you leaving the General tab by clicking the OK button down the bottom-right-hand corner of the tab?

  • Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    haben
    From looking at the specifications of your camera (SJCam 4000), we know already what video compression your camera is using. It is H.264.
    A H.264.mov file should be supported by Premiere Elements 11. On what computer operating system is your Premiere Elements 11 running?
    Do you have the latest version of QuickTime installed on your computer? And, are you running QuickTime and Premiere Elements 11 from a
    User Account with administrative privileges? Please go to Premiere Elements 11 Publish+Share/Computer/QuickTime to confirm that you find
    presets there for the QuickTime choice there.
    What are the properties of these H.264.mov files - is it 1080p30 (1920 x 1080p30)  or something else? Do you know if this camera is recording with a variable or
    a constant frame rate?
    Please review and consider and then we will decide what next.
    Thank you.
    ATR

  • How to use custom tag in jsp

    sir
    plz tell me how to use custom tag in jsp.plz describe it.
    i will be thankful to u

    Do you want to use taglibs or develop custom tags? Either way take a look at these:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPTags.html
    http://www.stardeveloper.com/articles/display.html?article=2001081301&page=1
    http://www.onjava.com/pub/a/onjava/2000/12/15/jsp_custom_tags.html
    http://jakarta.apache.org/taglibs/tutorial.html
    http://www.ibm.com/developerworks/edu/j-dw-java-custom-i.html
    http://www.herongyang.com/jsp/tag.html

  • Problem with importing

    Hi all, I recently downloaded elements 11, and I imported some photos okay, but now it starts to import, gets about half way, and a box saying elements organizer has stopped working. When I went into problem details, it said appcrash. any ideas wot be goin on. (Im importing photos in raw) Regards. Paul.

    Thanks for the reply jon. I was only importing 152 pics. off my nikon camera. I re downloaded elements 7 on to the puter, and they went straight on there with no trouble, so I would of thought they would go straight on to elmnts. 11. ho hum.and strange.
    Date: Fri, 18 Jan 2013 04:58:39 -0700
    From: [email protected]
    To: [email protected]
    Subject: Problem with importing
        Re: Problem with importing
        created by 99jon in Photoshop Elements - View the full discussion
    Hi Paul  What are your system specs. Raw files are usually quite large so the process could be draining your memory (RAM). Are you importing from camera or from your hard drive. In the case of the latter try importing one folder at a time or in smaller batches. You can select files and drag and drop into the organizer. You must drop on the dark gray area between the left and right side panels (if both panel are visible).
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5003831#5003831
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5003831#5003831
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5003831#5003831. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Problems with import slides powerpoint

    Hello,
    I have a problem with import slides from the powerpoint, when
    I try to import, the computer blow.
    What I can do?

    there have been lots of issues regarding this, however, I
    have found that if I export my ppt as individual jpeg slides I can
    then use the "insert > Slide > Image Slide" command to bring
    in my ppt slides, I have tried everything else as well but what was
    happening to me was Captivate 3 was losing all of my text and text
    animation. Now my animation is not critical, however, the text is
    very important of course. So now I have stagnat slides, a bit
    boring but at least I was able to finish my project.
    Hope this helps.
    Tony :)

  • Problems with import from textfile

    Hi
    We are experiencing problems with importing tables from a text-file. We are using Designer 6i (NT) release 2.
    Some of the column sequences are lost others are changed.
    Foreign keys are lost if the referenced table is after in alphbetical order! Not null columns are nullified and the column of the primary key definition is lost.
    Has anyone had similar problems and/or know of a workaround?

    Hi
    We are experiencing problems with importing tables from a text-file. We are using Designer 6i (NT) release 2.
    Some of the column sequences are lost others are changed.
    Foreign keys are lost if the referenced table is after in alphbetical order! Not null columns are nullified and the column of the primary key definition is lost.
    Has anyone had similar problems and/or know of a workaround?

  • A problem with importing layered PSD file into Flash

    Hi.
    There's a problem with importing layered PSD file into Flash.
    If I import a layered PSD file, some part the color of the lower layer is shown at the edge of objects or shadows. Instead, if I crop each layers first and import them, there's no problem.
    If the higher layer has brush or transparent effects, it becomes worse.
    Any help with this problem?
    Thanks.

    How was the original art created? Was the original RGB or CMYK? What is the resolution of the Photoshop file? Flash only works well with RGB and 72 pixel per inch resolution. If your original art is not set this way, then Flash will attempt to convert it as it imports it. Flash uses the sRGB color space. You'll get the best color translation if your Photoshop file is using this color preference.

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

  • Hi Guys, I have a problem with Importing Pictures onto my Mac mini with Lion installed by using a Card Reader, What is the problem here so I can get Pictures onto my Computer. ,

    Hi Guys,
    I have a problem with Importing Pictures onto my Mac mini with Lion installed by using a Card Reader,
    What is the problem here so I can get Pictures onto my Computer. ,

    Hi Noob Søren
    There are a few things that are confusing in your question.
    As far as I know, you dont have to install Time Machine on this OS as it is already installed for you. You only need to connect a hard drive to your computer via firewire or usb, click on the Time Machine icon, Open Time Machine Preference in the drop down menu and select a disk: your connected hard drive.
    You can of course reformat this connected device, partition it into a few volumes to organise data if you so wish.
    I find it strange that your mac's hard drive is divided into two volumes... perhaps this was created through bootcamp?
    You can access the configuration of your hd through Applications/Utilities/Disk Utilities.
    Clicking on one of the icons on the right hand panel will bring the details of the contents of your hardDrive and volumes. From there you can decide to erase a partition, reformat etc....
    If your hd contains more than one volume, and one of them is empty, you could decide to remove it. Back up all your important data before doing so.
    Hope this helps
    WN

  • Problems with importing in FCPX

    I am having problems with importing my recent holiday video intoFCPX  I have copied all the files from my Panasonic camera into my separate hard drive and they all appear there correctly.
    When I connect the camera to the computer it automatically opens in iPhoto which is a nuisance as I have to stop it from doing so.
    Now comes the problem when I ask to import media into a new project FPCX simply freezes and stops responding.
    If I ask FPCX to import direct from the camera it says it can't re-import because all the material is already in the second hard drive where I store my projects.
    So in a nutshell the programme simply does not respond to importing.
    Any help please or is this a technical problem I have with my Mac.
    Thanks
    A new iMac version 10.9.2
    OS Mavericks
    FPC up dates are all installed

    First, what specific camera are you using?
    Next, create a folder on your hard drive, give it a name you'll recognize, then copy the entire contents of your camera card into it, keeping the full file/folder heirchy in tact.  Disconnect the camera.  Then import from that folder.
    What do you mean specifically when you say "the programme simply does not respond to importing"?  That is sort of a vauge statement.
    Finally, go into the Preferences of iPhoto, you can set it to NOT open when you plug your camera in, and never have that happen any longer.

  • Problem with importing images into time lapse

    Hi
    I am having problems with importing still images into a time lapse sequence in photoshop and would appreciate any suggestions!
    I want to create a time lapse using a sequence of still photographs.  All file names are sequentially name/numbered. 
    I am using the Motion workspace, and have followed all of the instructions available. 
    Create correct sized new document (film & video).
    Create video timeline.
    Set frame rate.
    Choose 'create new video layer from file'.
    Point to first image in the folder where the images are stored.
    At this point, no matter what I have tried, I receive this error:
    I have tried different sized new documents; tried jpegs and tiffs; tried different frame rates, tried different qualities and sizes of images; tried selecting the last image instead of the first (one recommendation).
    If I use the 'Place' command from the file menu (and check the 'image sequence' box) instead of selecting 'Create new video layer' from the layers panel, it loads fine and I can still render the video.
    It took me most of a day to discover this workaround, but every other reasonable 'how-to' that I can find says that I should be able to do it by opening files into a new video layer and it seems as though the new video layer option may give me more alternatives.
    Anyone have any idea why I could be having these problems?
    I have reset Photoshop, deleted the settings file, even reinstalled it.  I use 64-bit on windows 7 and even installed the 32-bit to try that, but all with the same result.
    Stuart

    Unfortunately, yes--I've tried it that way over and over, and every other way I could think of.  The files are all in one folder, and I've converted the raw files to both tiffs and jpegs.  I even tried converting them to jpegs at the final pixel dimensions.  Each folder that I have used only contains one type of file, and they are all part of the same sequence and sequentially numbered.  I have even tried renumbering the files with numbers first, numbers last, numbers only, moving underscores.  I moved the files from my external hard-drive to the desktop ... I have a lot less hair than I had only a few days ago!
    I've looked at a few other tutorials that outline the same sequence of steps, and tried them over and over, and then changing one step at a time to make sure that it was not a single step that caused the problem.
    The thing that is really bugging me is that it works fine if I use the different approach of using the place command instead. 
    Anyway, thanks for all of your time.  It's going to be a lot simpler to just stick with 'place' command and I will likely do that, but I tend take things like this as a challenge.  I like to know WHY it won't work for me.  Sometimes it seems that there is just no logical explanation!
    Stuart

Maybe you are looking for