Seeing that everyone often encounters the configuration of bean, here, here, I have organized the detailed configuration steps in RESIN:
Suggest:
The server uses Linux or FreeBSD, the client uses Ultradev to do development tools, so that UNIX Database Bean JSP is the best strategy.
1. Configure the site in RESIN.conf):
Compile = true /> host> The ID is a folder below your site root directory, just built an AMAO or Agou, but you will put it here, compile = true indicates automatic compilation, you can only place the Java source file locally, To the server side, you will automatically compile become a Class file. Right, RESIN's compilation speed is the fastest, and Chinese support is also the best, I love Resin! 2. Create a web-inf / class of the Site root directory, which is the root directory of the bean, then build your package directory, such as web-inf / classes / COM 3, then place your bean in the web-inf / class / COM directory, but the first sentence of Bean's Java source file should be like this: package card; where COM is your folder name; 4. There are two situations that are referenced in the JSP file: one is import: <% @ page import = "com. ***"%> where *** is your Java file name, remember not With a suffix. Another situation is to use UseBean: