Memory Management with NSString and synthesized properties

I thought I understood memory management but now I'm getting some odd behavior and that's the only thing I can see that I might be doing incorrectly:
I have a synthesized NSString propery called displayText. At one point I attempt to set a label with the displayText property (label.text = [[note displayText]]). The first one works, but the second one does not:
[note setDisplayText:[[note fileName]]]; // - works
[note setDisplayText:[[self getCharacterInFileName:[[note fileName]]]]; // - does not work
And here is getCharacterInFileName:
// Given the fileName for the image, get the specific part of that fileName for the note letter
- (NSString *)getCharacterInFileName:(NSString *)fileName
NSRange range = {1,1};
NSString *characterInString = [[[NSString alloc]] initWithString:[[fileName substringWithRange:range]]];
return characterInString;
Is there some pointer mismanagement going on here that I'm missing?
Message was edited by: darkpegasus

Nevermind, I'm an idiot. I forgot to close an if/else block with a brace and it screwed everything up.

Similar Messages

  • Memory fault with N97 and loss of apps including d...

    Hi folks,
    I wonder if someone made experiences with this and found a remedy to regain lost applications especially if the tool to do so ordinarily is itself affected :-(
    During a trip out of a sudden photos and videos made with the camera started to vanish as soon as they were once played or seen. Or to put it better they got corrupted. The respective photo application was still working fine with a memory chip, but not with the mass memory. There certain file folders contained rubbish - a hotchpotch of signs instead of somewhat sensible names. Among those affected folders where E:/Images/camera/... and E:/data there with j2me, Others and temp...
    I could do nothing as any attempt to work on or remove those files was leading to a general failure message.
    Some apps got lost, yet could partly be reinstalled by download! and OVI Store, which was cool as I was abroad for quite some time and could thus recover some workable status.
    At home I reconnected the device to my Vista PC and after some initial failures I got a error repaired message when switching to the USB mass storage option. After this the system was cleared yet I lost any operation of download! which is despite the OVI  store still of importance to load general tools and language and speech tools which I use frequently. Pressingthe referenced button simply gives a short flicker on the screen and that was it - no starting up of the application.
    I have the latest firmware for my build 11.0.021 and yet tried as well a reinstall with the nokia software updater - in vain.
    As I have a number of licensed software which I can only partly reinstall without new costs - Nokia please create a full backup tool securing all components as Ghost and Co. would do with any harddisk - I am keen on a minimal invasive solution.
    I have not tried formatting as I dislike to loose the licenses and I will probably have to get the whole newly bought device exchanged, but this will lose any programs not registerable to a new IMEI. 
    So I prior to doing something unrecoverable I would appreciate any good ideas and hints.
    Can you help me?
    Message Edited by efceps on 19-Sep-2009 02:48 PM

    Well, after performing a little more research, I think I know why this occurred. When the iphone crashed due to an app being updated via iTunes (I think it was NowPlaying), the Texas Holdem app was not selected in the sync applications tab upon reboot. When the iphone rebooted, I didn't check the applications tab and just re-synced. That caused the Texas Holdem app to be deleted from the iphone (and all the statistics as well). After playing a few games last night and then upgrading to version 1.1, my statistics were still saved.
    So, this probably won't affect everyone but be careful when you sync to upgrade any app and make sure the app is selected in the applications tab first. It would probably help to also make a backup before upgrading any app and sync up iTunes with the iphone. This doesn't help me much but hopefully it will help someone else. Hopefully Apple will fix this issue very soon as updating any app shouldn't be this difficult.
    Brent

  • Performance management with ESS and no MSS??

    Hello Gurus,
    I have a very peculiar scenario regarding and ESS/MSS.
    Let me first post our requirments:
    We have implemented all modules of HR along with OM and now in the process of implementing Performance Management along with ESS only . I am stressing on ESS only here with NO MSS functionality.
    Now my question is..is it really possible in the first place to have a performance management functionality without MSS and just with standalone ESS? If yes, what are the options that I have to configure the performance management system and the ESS system so that the workflows for Planning, Rating an employee, and Approvals regarding appraisals can be achieved??
    Is it possible to assign an ESS role to the manager and then when the manager logs in ESS, he/she can go ahead with the performance management process and can check employees just like the way it happens in MSS?
    Thanks a lot for your time.
    Best Regards.
    Karan.

    Hi,
    In your case check for HR administrator for final ratings and other things also check for r/3 desktop services.
    but why they are not going for mss, om is in place right
    regards
    rafi

  • Memory Problem with SEt and GET parameter

    hi,
    I m doing exits. I have one exit for importing and another one for changing parameter.
    SET PARAMETER exit code is ....
    *data:v_nba like eban-bsart,
           v_nbc like eban-bsart,
           v_nbo like eban-bsart.
           v_nbc = 'CAPX'.
           v_nbo = 'OPEX'.
           v_nba = 'OVH'.
    if im_data_new-werks is initial.
      if im_data_new-knttp is initial.
        if im_data_new-bsart = 'NBC' or im_data_new-bsart = 'SERC' or im_data_new-bsart = 'SERI'
           or im_data_new-bsart = 'SER' or im_data_new-bsart = 'SERM' or im_data_new-bsart = 'NBI'.
          set parameter id 'ZC1' field v_nbc.
        elseif im_data_new-bsart = 'NBO' or im_data_new-bsart = 'NBM' or im_data_new-bsart = 'SERO'.
          set parameter id 'ZC2' field v_nbo.
        elseif im_data_new-bsart = 'NBA' or im_data_new-bsart = 'SERA'.
          set parameter id 'ZC3' field  v_nba.
        endif.
      endif.
    endif. *
    and GET PARAMETER CODE IS....
      get parameter id 'ZC1' field c_fmderive-fund.
      get parameter id 'ZC2' field c_fmderive-fund.
      get parameter id 'ZC3' field c_fmderive-fund.
    FREE MEMORY ID 'ZC1'.
      FREE MEMORY ID 'ZC2'.
       FREE MEMORY ID 'ZC3'.
    In this code i m facing memory problem.
    It is not refreshing the memory every time.
    So plz give me proper solution.
    Its urgent.
    Thanks
    Ranveer

    Hi,
       I suppose you are trying to store some particular value in memory in one program and then retieve it in another.
    If so try using EXPORT data TO MEMORY ID 'ZC1'. and IMPORT data FROM MEMORY ID 'ZC1'.
    To use SET PARAMETER/GET PARAMETER the specified parameter name should be in table TPARA. Which I don't think is there in your case.
    Sample Code :
    Data declarations for the function codes to be transferred
    DATA : v_first  TYPE syucomm,
           v_second TYPE syucomm.
    CONSTANTS : c_memid TYPE char10 VALUE 'ZCCBPR1'.
    Move the function codes to the program varaibles
      v_first  = gv_bdt_fcode.
      v_second = sy-ucomm.
    Export the function codes to Memory ID
    EXPORT v_first
           v_second TO MEMORY ID c_memid.        "ZCCBPR1  --- Here you are sending the values to memory
    Then retrieve it.
    Retrieve the function codes from the Memory ID
      IMPORT v_first  TO v_fcode_1
             v_second TO v_fcode_2
      FROM MEMORY ID c_memid.                                   "ZCCBPR1
      FREE MEMORY ID c_memid.                                   "ZCCBPR1
    After reading the values from memory ID free them your problem should be solved.
    Thanks
    Barada
    Edited by: Baradakanta Swain on May 27, 2008 10:20 AM

  • Memory Errors with NX4 and Adobe 3D

    After installing the Adobe 3d trial version,I've had nothing but problems with NX4.Out of memory errors when there is plenty available.REinstalled NX4,same problems.Uninstalled adobe 3D,and the problem went away.We would like to purchase this,but not until this particular problem is solved.
    Win Xp SP2
    2 GB Ram
    Dell Precision 370
    Pentium 4
    NX 4.0.0.25

    are you working on big 3d models in nx4 ?(to check that, please do a right click on the windows task bar and open the task manager and check the memory used by nx4 with your 3d models loaded)- did the problem also occured with small models ?
    if you memory footprint approaches the 2gb barrier, then 3d capture might be the cause ot your memory problems, to get rid of it, just open acrobat3d and go in the menu edit/preferences/3d capture and delete nx4 from your list of capturable applications.

  • Norton reports high memory usage with firefox and it crashes often

    Norton antivirus 2011 has pop up warnings reporting high memory usage from Firefox. I have been getting theem often and my computer is crashing often after those pop up warnings. Thanks

    Safe mode did not help.
    I have disabled ALL extensions and plug-ins, but the problem with "zig-zag" memory usage still remains (I've not tried to leave browser open for the night yet).
    I think I'll do clean reinstall with completely new empty profile (without sync'ed information) to try this out. If this works, I'll start adding stuff (configuration, sync, features, etc) to see what causes the problem.

  • Release management with Azure and Visual Studio Online (Cloud TFS)

    What strategy would you use to manage the releasing of versioned software to Azure cloud services (web and worker roles)? We are not looking for continuous integration. We are using Visual Studio 2013 and Visual Studio Online (Cloud TFS).
    At one point, we were releasing straight from Visual Studio using the Azure Cloud Project Publish tool. This is really bad practice in my opinion as you can never be sure what you are really releasing. Additionally, there is no automated control on the labeling
    or branching of code, or the running of unit tests and code analysis checks.
    Next, we employed Release builds on Visual Studio Online. Before deployment, one would edit the appropriate Build Definition (whether it be for Test or Production by and filling in the code label (under the "Get Version" build property) that is to
    be released. This would then get the appropriate code (by the label specified), build it, and release it to whatever cloud service is specified in the targeted Cloud Project profile (this is using the AzureContinuousDeployment.11.xaml template).
    There is still a degree of manual intervention involved. Also, the fact that a version of code is built every time before it is released is not ideal (as far as I understand it would be better if it was packaged once).
    Microsoft Release Management tools
    look ideal for the job, but are not supported with Visual Studio Online.
    Is there a better way of handling our releases?

    /waves hand.. These are not the tools you seek. You are looking for continuous integration.
    Although CI has the word continuous in there, it does not mean "all the time, every checkin". It can easily refer only to those bits you want to release - -and the way to tell the system which bits you want released is to merge them to a Releases
    branch.
    If you do this, not only do you get all the joy of controlled CI, but you guarantee what you release is exactly what is controlled in your SCM - under the Releases branch, preferably tagged or otherwise noted as a particular release. That means you can also
    rollback to a previous release by simply reverting to a previous release in your SCM!
    Of course you don't have to let it happen automatically, you can set it up to build 'continually' and then remove the check on the SCM to see if any changes have been committed. You can replace this with the manual build button.

  • Memory management with static methods

    I made a class with no attributes and only static methods with the purpose of maintaining as little as possible about it in memory. What information is kept in memory by the JVM about such a class ?
    Thanx in advance :)

    Static methods don't consume less memory than regular instance
    methods. Well, not exactly: a regular method requires a reference
    to an instance as a hidden additional parameter. Thus, specifying
    static for methods that don't access the object may actually save
    a few bytes. However, the code is not duplicated for each instance.
    Additionally, the JVM must keep any initialization values and the
    names of the class and the methods, as needed by reflection.
    Given suitable debugging options, local variables names and line
    number may be kept in memory as well. Finally, all hosekeeping
    info (gc, references and the like) must be kept in memory.

  • Memory leak with fieldpoint and labview

    I have an application which is showing an issue of a memory leak.  The application does several things, but the part that seems to be causing the trouble is related to use of Fieldpoint VIs.  The application reads individual AI channels on a Fieldpoint AI-110 (10 channels, where the set of channels is measured once per second)  I have attached the code related to this.  The memory leak is quite large (~1.5GB in 24 hours of operation).
    I am using LabView 7.1, and Fieldpoint 4.1.  The parent application which uses the attached code is a stand-alone application.  The operating system is Windows 2000.  Fieldpoint communication occurs over a RS-232 link.
    Thanks in advance,
    Andy
    Attachments:
    FPAI100_meas_voltage.vi ‏62 KB

    Hi Andy,
    I did not see anything fundamentally wrong with what you wrote, but there were
    a few things that I think could be used to be changed.  However, there
    were a few things that I did modify that might make a bit of a
    difference.  In your application you were using sequences and a bunch of
    local variables.  Since LabVIEW is based upon data flow, you can control
    the sequence of execution by making data dependencies and simply wiring one
    thing to the next.  By simply using LabVIEW the way it is meant to run I
    was able to completely remove the sequence structure and also eliminate the use
    of all of the local variables, all while having the exact same execution order. 
    It could be that the local variables were causing the memory leak that you
    noticed, but I really doubt they could be the cause of such a large leak. 
    I really think there is probably something else going on in the application
    because from what I saw from this bit of code there really is no way that it
    would have such large problems.  Users use the FP commands daily without
    any problems, so most likely these are not the root of the problem.
    Go ahead and try the modified code and see if you can implement similar local
    and global variable reducing techniques throughout your application. 
    Hopefully that will help reduce some of the memory leaks you are seeing. 
    Typically the largest cause of an apparent memory leak really occurs from
    building an array within a loop, so make sure you don't have any situations
    where that occurs in your code either.
    Regards,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments
    Attachments:
    724727-FPAI100_meas_voltage.vi ‏56 KB

  • Memory leak with jsp and beans

    The application we have created has one particular page that is designed to stay up in the browser and refresh with new information from database queries once every 60 seconds. Running with Tomcat3.2.1 and IE5.5
    The problem is that the memory usage of java.exe continues to grow until the machine crashes from out of memory. It does take more than 24 hours to crash.
    Things I have tried to do to track down the problem or eliminate the problem.
    - I have explicitly set the scope of the beans to "page"
    - I have watched the DatabaseAccess.class (the beans are all extended from this class) and put in code to watch how many instantiations of the class are made and subsequently garbage collected. This appears to be where the memory leak may reside - hundreds of instantiations from some other source than the page I am displaying.
    - the top frame makes database queries for security and display of a menu system dependant upon security clearance. It does not set any time for refresh (refresh == 0). Nor does it explicitly set a scope for the beans.
    - I have run a different jsp engine to see if this was directly related to Tomcat - same problem with resin2.0.0
    The main jsp page that is in the bottom section of the page has the following code:
    ** only the relevant lines are included here
    <%@ include file="../../common.jsp" %>
    <%
         refresh=60;
    %>
    <head>
    <%@ include file="../../meta_head.jsp" %>
    </head>
    <body bgcolor="#FFFFFF" text="#003399" link="#660099" vlink="#990099" alink="#006666" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <%@ include file="../../access.jsp" %>
    <%@ include file="../../page_title.jsp" %>
    <jsp:useBean id="Line" class="jsp.Line" scope="page" />
    <jsp:useBean id="Machine" class="jsp.Machine" scope="page"/>
    <jsp:useBean id="Alarm_log" class="jsp.Alarm_log" scope="page"/>
    contents of meta_head.jsp
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <META HTTP-EQUIV= "expires" content = "0">
    <META HTTP-EQUIV="Pragma" CONTENT="no_cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache" forua="true">
    <META NAME="robots" content="NOINDEX,NOFOLLOW">
    <%
    if (refresh > 0)
    %>
    <meta http-equiv="Refresh" content="<%= refresh %>">
    <%
    If anyone has some suggestions on how to trap this memory leak, it would be terrific. Or, some other things to try to stop the instantiation of the DatabaseAccess object (perhaps setting the scope of the beans in the header to "session" or "application"?).
    Thanks in advance.
    Roberta

    jsp:useBean tags scope declaration :
    page = Create a new instance on each load.
    session = Load instance from the session, if not there, create one
    application = Load instance from the ServletContext, if not there, create one.
    Not sure how you are populating the data variables, but make sure you are closing all ResultSet, (Prepared)Statement, and Connection objects.

  • Best file manager with SMB and streaming support? Time Capsule access?

    Constantly having to jump through hoops it seems, because of no file manager in iOS. Another simple scenario: have 2 disks connected to my Apple Time Capsule. Can accesss them with Android phones, always in trouble finding a good app on iPhone. Any tips? Wish I could also stream my home videos, etc from these disks. Documents 5 (Readdle) can access them via SMB, but not stream, which is nasty for large videos.
    Thank you,
    Roman

    I was experiencing the same problem when I upgraded to a Time Capsule. To fix the problem remove all personal file sharing port mapping settings. Then make sure that the enable  file share, and enable over WAN is on and checked for the TC, then update the TC. While that's updating go into the server app and remove any old file sharing protocols from the TC on the server app. Next add a new custom protocol by hitting the + name it file share and set the port to 140. hit the update button and wait for it to finish. Once that's finish go back to the airport utility and find the newly made file share protocol by selecting it under port mapping for the TC. If you don't have the newly made one in there make a new one your self. Name it the same as you did in the server app and set the public TCP ports to 140 and the private TCP ports to 548, make sure the private IP address is set to the same as your server in the reserve. Update the time capsule and you should be able to access both by putting in the appropriate afp://www.yourserver.com:140 for the server and afp://www.yourserver.com:548  for the TC. Have fun, lion server can be a little fussy!

  • Font management with InDesign and Windows 7

    Hello
    I am presently looking to upgrade to Windows 7 and use InDesign CS4.  I have had a play with installing postscript type 1 fonts using the windows font manager and it seems absoloutley average, but it worked (I think).  I was wondering if you had any suggestions of what would be best practice in this setup.
    Thanks for your time

    Thanks for that.  I spoke to the team using indesign and they would love to move to Extensis Suitcase but they had experienced problems with MathMagic pro.  I am going to test this out and hopefully resolve it but I wondered if you had any knowledge of compatibility issues?
    Thanks again

  • Memory manager in ML and Lion flawed

    I've been finding many 'flaws' eh? Well every OS has it's fair share of fails, and Apple isn't exempt from it. But anyway:
    1. I was running SL on my old-ish, early 2011 Macbook (7,1). So I decided to upgrade to Lion when it came out. The problem started to appear.
    What's the problem then? Too. Much. Inactive. Memory.
    2. So I thought I didn't have enough RAM (I maxed out to 4GB at the reseller, but they didn't have an 8GB option) so I got 8GB. I installed (had to go through a long process to underclock one of the chips) the RAM... but still there.
    3. Truth is: After installing Lion, I went back after a few days. First 10.7, then 10.7.1, then 10.7.2. I stayed on 10.7.3. Reason: Lag. But the problem persisted.
    4. When ML came out with it's "Over 200 new features", I thought maybe they fixed it. But NO. Neither did 10.8.1. (although that seemed to help me battery, now at 4220mAh, 73% health)
    The problem in detail: As I speak, Safari and the system in general is having bouts of lag. As I said before, I have 8GB of RAM. 873MB is wired. 895MB is active. **6.24GB** is inactive. free memory? 32MB. Of. Free. Memory.
    As I understand, Inactive memory is used for applications that have recently closed, so that they can start faster. No problem with that. According to Apple, it's supposed to be freed when an application asks for more memory. Doesn't seem the case.
    I'm not some overly-paranoid user that wants all his memory to be free, I just want my apps to stop lagging because they can't use memory that is reserved for that VMWare Fusion I opened 3 hours ago. (Yes, true story)
    I have to use the purge command to free that.
    Is this ever going to be fixed? Is it the OS, or just me?
    EDIT: So it turns out 10.8.1 broke the 'purge' command. Geniuses. (Well it worked to a certain extend, now I have 5GB+ of free memory, but 1GB+ of inactive memory. But I don't mind.)

    aperturedev wrote:
    And no, I also don't think VMWare is not optimised for ML or Lion. I'm using version 6, which is optimised for the Retina MPB so it's definitely optimised for the 64-bit kernels.
    That's impressive considering version 5 was just released the other day.
    And when the above scenario was given, VMWare was *not* running. And only 4GB of memory was given to the Guest OS, albeit both my CPU cores. But that is completely unrelated. (right? right)
    Then which application had all of your RAM?
    Perhaps RAM isn't even the issue. People like to dwell on it but a misbehaving application taking your CPU is far more likely to be the culprit for system lag.

  • Memory leaks with Njawin and COm Object

    I'm using njawin 1.1 to use a DRM Microsoft object form java and all works
    very well .... very good bridge !!
    But I found a problem that seems like a "memory leak" in calling a method,
    in this lines code :
    myLicense = myLicenseObj.GetLicenseToDeliver();
    System.out.println(myLicense);
    myResponseObj.AddLicense("2.0.0.0", myLicense);
    myResponseObj.setReplaceQuotesWith("\\\"");
    myLicResponse = myResponseObj.GetLicenseResponse();
    The only particularity in this code the length of myLicense string : 7 KB
    If I run the program 1000 times the server use 100 Mb of ram and not release
    them.
    I try to use ASP to replicate the problem but nothing happens ... the
    program works and not memory leak appears and than I think taht the probelm
    may be in marshalling / unmarshalling string routine from/to the DRM object
    Thanks a lot for all help

    Me funciono colocando el progID de la interfaz que genero jawin en el constructor de la clase que se genero, despues utilice los metodos y fue transparente:
    Interfaz que genero jawin:::
    public interface CodeIMG {
    public static final GUID clsID = new GUID("{23435XCVDF2-6D62-6749- 8E00-00AS45GH87JU}");
    public static final String progID = new String("ActivexPDF.CodeIMG");
    la clase que genero jawin:::::::
    public class _CodeWER extends DispatchPtr {
    public int getTypeInfoToken() {
    return 0;
    static public final GUID proxyIID = new GUID("{632PHK77-6F0B-11D4-8PLD-00A024A31CC6}");
    static public final int iidToken;
    static {
    iidToken = IdentityManager.registerProxy(proxyIID, _CodeWER.class);
    public int getGuidToken() {
    return iidToken;
    * Creates empty _CodeWER Object
    public _CodeWER() throws COMException {
    super();
    * Creates _CodeWER() Object with progID
    public _CodeWER()(String progid) throws COMException {
    super(progid);
    * Queries interface of _CodeWER  Object
    public _CodeWER()(IUnknown other) throws COMException {
    super(other);
    * Creates _CodeWER() Object with CLSID
    public _CodeWER(GUID ClsID) throws COMException {
    super(ClsID);
    public boolean createImg(ObjectRef strChain, ObjectRef strFile) throws COMException {
    return ((java.lang.Boolean) invokeN("createImg", new Object[]{strChain, strFile}, 2)).booleanValue();
    Test de Prueba:::::::
    public class TestDLL implements CodeIMG {
         public static void main(String[] args) {
              try {
                   CodeWER pdf = new CodeWER ( clsID );               
                   boolean ok = pdf.createImg(new ObjectRef("9999999"), new ObjectRef("C:\\image.bmp") );
                   System.out.println("Lo generoi bien:: " + ok );
              } catch (COMException e) {
                   e.printStackTrace();
    Espero te sirva este ejemplito sencillo de jawin
    Saludos!!!!!!!!!!!!
    att juo

  • Memory profiling with Scout and Xcode Instruments

    Hi,
    We are doing some memory profiling on our app, its a rather big app with a lot of assets.
    The tests are being made on a iPad Mini, iOS 6.1.3, Air 4.0(latest from labs).
    With Scout I'm seeing a stable 69mb of ram and 27mb of vram, which is expected.
    But with Xcode Instruments it rarely drops below 200mb..
    Is there something I'm missing or is that correct? It feels like quite a big diff.
    Thanks!
    -Simon

    Sascha - thanks for the tip! I will check this out.
    User514118,
    There are three good online help articles (in jdev 10.1.3) that you should take a look at:
    1. Deploying ADF Applications (see Tomcat section)
    2. Apache Tomcat Application Server
    3. Creating a Connection to Apache Tomcat
    Also, related threads on the forum include:
    Validate Tomcat 5.5x JNDI Configuration? (setting up datasource)
    Re: Can't see adf component on Tomcat
    Re: Deploy exploded war structure on Tomcat (one way to integrate with Tomcat for development cycles)
    For MySQL, I needed to copy the database driver to $Tomcat_Home/common/lib folder
    For Windows, here are some of my environment vars:
    CLASSPATH=C:\Program Files\jdevstudio1013\jdk\lib\tools.jar;C:\jakarta-tomcat-5.5.9\common\lib\servlet-api.jar; C:\jakarta-tomcat-5.5.9\common\lib\jsp-api.jar;
    JAVA_HOME=C:\Program Files\jdevstudio1013\jdk (also include this in the Path var)
    TOMCAT_HOME (and CATALINA_HOME) =c:\jakarta-tomcat-5.5.9
    <tomcat_home>\conf\web.xml
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    Hope this helps - if still having issues can you post under a new topic?
    thanks

Maybe you are looking for