[JIRA] Commented: (GRIZZLY-1681) Cannot update and save the static files while Grizzly server is running

  • From: "dhanakrishnasamy (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Commented: (GRIZZLY-1681) Cannot update and save the static files while Grizzly server is running
  • Date: Wed, 7 May 2014 19:44:49 +0000 (UTC)
  • Auto-submitted: auto-generated


    [ 
https://java.net/jira/browse/GRIZZLY-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=375193#action_375193
 ] 

dhanakrishnasamy commented on GRIZZLY-1681:
-------------------------------------------

That works... 
Code:  server.getListener("grizzly").getFileCache().setEnabled(false);

Thanks

> Cannot update and save the static files while Grizzly server is running 
> ------------------------------------------------------------------------
>
>                 Key: GRIZZLY-1681
>                 URL: https://java.net/jira/browse/GRIZZLY-1681
>             Project: grizzly
>          Issue Type: Improvement
>          Components: http
>    Affects Versions: 2.3.8
>            Reporter: dhanakrishnasamy
>
> I have hosted a static html page via StaticHttpHandler 
> (server.getServerConfiguration().addHttpHandler(new 
> StaticHttpHandler("src/main/webapp"), "/");) I should be able to update the 
> html files and refresh the browser to see the changes. At the moment I 
> cannot do that as I think the files are locked . Eclipse error :(Could not 
> write file: ..\webapp\index.html. ..\webapp\index.html (The requested 
> operation cannot be performed on a file with a user-mapped section open)). 
> I think this is needed feature to allow rapid development and test. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Created: (GRIZZLY-1681) Cannot update and save the static files while Grizzly server is running

dhanakrishnasamy (JIRA) 05/05/2014

[JIRA] Commented: (GRIZZLY-1681) Cannot update and save the static files while Grizzly server is running

oleksiys (JIRA) 05/05/2014

[JIRA] Commented: (GRIZZLY-1681) Cannot update and save the static files while Grizzly server is running

dhanakrishnasamy (JIRA) 05/07/2014

[JIRA] Resolved: (GRIZZLY-1681) Cannot update and save the static files while Grizzly server is running

oleksiys (JIRA) 05/07/2014
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150626.29986a4)
 
 
Close
loading
Please Confirm
Close