www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Server-Side Development > Java
    (NOT JavaScript!)

    Java
    (NOT JavaScript!)
    For discussion of the Java programming language as it applies to the Web ( Not JavaScript ).

    Reply
     
    Thread Tools Rate Thread Display Modes
      #1  
    Old 03-09-2010, 01:59 PM
    tgrk35 tgrk35 is offline
    is crying...
     
    Join Date: Jan 2005
    Location: USA
    Posts: 352
    Unable to Edit File

    I'm EXTREMELY new to JSP and have what is probably a VERY basic question.

    I'm attempting to edit a JSP file in Notepad++ on our Tomcat server (6.0).

    Anytime I try to hit save, it says this:

    "Save File Failed - Please check whether if this file is opened in another program"

    I have tried stopping the Tomcat server process, it doesn't seem to work still.

    Anyone have ANY ideas on what I'm doing wrong? I can't say I've had this problem before...that I remember.
    Reply With Quote
      #2  
    Old 03-11-2010, 08:18 PM
    Khalid Ali's Avatar
    Khalid Ali Khalid Ali is offline
    Super Moderator
     
    Join Date: Dec 2002
    Location: Calgary, Canada
    Posts: 8,968
    if file is on the server, then there are 2 things at least (could be more)
    1. Most of the web servers keep a lock on files
    So make sure you have web server shut down. And more importantly you should not work on those files directly under server, rather they should be worked on in some other development location
    2. Some web servers make files readonly,
    Solution: Once you have shut the server down, then make sure you change the files attribute from readonly to editable.

    Start with these and let us know what happens
    __________________
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources
    Reply With Quote
    Reply

    Bookmarks

    Tags
    files, jsp, permissions


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 12:53 AM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.