I need to edit a开发者_如何学Go jsp in a .WAR file to correct a spelling error. Is it safe to do so? Or does the war file have some magical setup that is broken as soon as I change anything?
I've read some on various forums about it and it seems ok, but it would be nice with confirmation from someone who knows.
I personally wouldn't edit a jsp inside a deployed war file. I would prefer to edit the jsp on my development machine, possibly test it, rebuild the war file with the updated jsp, and redeploy it on the application server.
it should be okay to edit the jsp in the .war, provided you also make the same edit in the original jsp, else you would lose the change when you re-create the war file (i presume your source code is checked into some repository)
精彩评论