When you create a Java Spring MVC web application or make changes to an existing one, it is important to know the location of configuration values. Java package name The Java package name is stored in Every .java file package MY_PACKAGE_NAME pom.xml file <configuration> <mainClass>com.objectdb.Enhancer</mainClass> <arguments> <argument>MY_PACKAGE_NAME.MY_MAIN_CLASS_NAME</argument> </arguments> </configuration> .jsp file <%@page import=”MY_PACKAGE_NAME.*”%> <jsp:useBean id=”MY_BEAN_ID” type=”MY_PACKAGE_NAME.MY_DAO_CLASS_NAME” …
Continue reading “Java Spring MVC web application configuration in NetBeans 8”