【正文】
bitsCN_ 在瀏覽器中輸入:://localhost:8080/BeanTest如果頁面出現(xiàn) Message: Hello WWW Java Bean也沒問題了!ok,基本的環(huán)境已經(jīng)有了,現(xiàn)在你該開始好好去學(xué)習(xí)真正的java了!祝你能夠很快把java學(xué)好! 。 charset=gb2312 language=java import=.* errorPage= %!DOCTYPE html PUBLIC //W3C//DTD XHTML Transitional//EN html xmlns=headmeta equiv=ContentType content=text/html。 } public void setMessage(String message) { =message。public class SimpleBean{ private String message=No message specified。 you may not use this file except in pliance with the License. You may obtain a copy of the License at _bits_ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 中國網(wǎng)管論壇 webapp xmlns= xmlns:xsi= xsi:schemaLocation=:// version= displaynameWele to Tomcat/displayname description Wele to Tomcat /description ! JSPC servlet mappings start servlet servletname/servletname servletclass/servletclass /servlet 中國網(wǎng)管論壇 servletmapping servletname/servletname urlpattern//urlpattern /servletmapping servlet servletnameHelloServlet/servletname servletclassHelloServlet/servletclass