many url-pattern for the same servlet

I guess it has more to do with the servlet spec the container/netbeans is using rather than being an issue with the container. Your net beans seems to be using the spec 2.5 to construct the servlet mapping and hence you get <servlet-mapping> <servlet-name>fred</servlet-name> <url-pattern>*.jsp</url-pattern> <url-pattern>/url</url-pattern> </servlet-mapping> Read more about this here. It says Previous … Read more

Netbeans 7.2 shows “Unable to resolve identifier” , although build is successful

Here’s an excerpt from my answer to another question. Unresolved Identifier If the source of the .cpp file looks like this Click with the right mouse button on your project. Check C/C++ Code As… Run Reparse Project. If that is not enough. Go to Project Properties Fill in the Include input field as described. Set … Read more

How to clear the cache in NetBeans

Close NetBeans before deleting the cache. NetBeans 7.2+, Windows 7 Cache is located in C:\Users\<username>\AppData\Local\NetBeans\Cache\. Clear the cache using the %USERPROFILE% Windows variable: del /s /q %USERPROFILE%\AppData\Local\NetBeans\Cache\ If it is set, you can also use the environment variable %LOCALAPPDATA%: del /s /q %LOCALAPPDATA%\NetBeans\Cache\ NetBeans 7.2+, Linux Cache is at: ~/.cache/netbeans/${netbeans_version}/index/ Mac OS X Cache is … Read more

Dark theme in Netbeans 7 or 8

Darcula UPDATE 2016-02: NetBeans 8 now has a Darcula plugin, better and more complete than the alternatives discussed in old version of this Answer. The attractive and productive Darcula theme in JetBrains IntelliJ is now available in NetBeans 8.0 & 8.1! The Real Thing This plugin provides the real Darcula, not an imitation. Konstantin Bulenkov … Read more