I realised that I can make sub project successfully recognise root as its parent project by moving sub folder into root folder and update sub project's path in root's adle. The subproject does not recognise root as its parent project, therefore root configurations does not apply to sub, which causes sub configuration errors. that root and sub share, which are defined in root's adle or adle. This causes problems when there are extra properties, version catalogues, etc. Download NOW Take a look at the code snippets that follow: web.xml URL: Output: remoteAddr 127.0.0.1 remoteHost mypc This is an example on how to get client’s address and hostname in a Servlet. However, NetBeans does recognise that there is one subproject, but its name is not shown:ĭouble-click on that blank entry, and sub project will load, not as a subproject of project root, but as a standalone project (new root project). On IDEs like IntelliJ IDEA, it correctly recognises project root with modules main and sub. There are two projects root and sub, both of which resides in the same folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |