"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
K. Tsang wrote:I believe Netbeans is exploded by default, especially if you run/deploy inside Netbeans. In the "build/web" folder if I recall correctly.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Tim Holloway wrote:You shouldn't be uploading files into a WAR.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:Start the server in debug mode and use the Remote Debugging feature on NetBeans. It will save a lot of trouble.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
J. Kevin Robbins wrote:
K. Tsang wrote:I believe Netbeans is exploded by default, especially if you run/deploy inside Netbeans. In the "build/web" folder if I recall correctly.
I haven't quite figured out how NetBeans does it. I have that build folder under my projects folder, but my app does not show up under the tomcat/webapps folder, so it must be running it from the war. (this is my local tomcat instance). This means things like creating files will fail because paths don't return correctly.
I just want to see my app under the webapps folder, just like it is on the Linux web server.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:
When an IDE runs Tomcat as an embedded process, it may ignore or override the configuration file in the TOMCAT_HOME/conf/server.xml and simply Tomcat as a JavaBean whose properties correspond to server.xml settings (not coincidentally, that's how the Digester sets up Tomcat when launching from the catalina script). And as a result, the IDE Tomcat may or may not match what's in the TOMCAT_HOME/conf/server.xml settings. Which would possibly explain the lack of an exploded WAR.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson