Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 10th, 2006, 03:15 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to tony65 Send a message via MSN to tony65
Default hoping

my web application's directory is Tomcat 4.1\webapps\mystruts,but i can't compile the UserInfoBo.java file in Tomcat 4.1\webapps\mystruts\WEB-INF\classes\bussness,what should i do?

 
Old February 11th, 2006, 11:53 AM
Authorized User
 
Join Date: Jan 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to longjava
Default

Where is your UserInfoBo.java located?? If it is not located under \Tomcat4.1\webapps\mystruts\WEB-INF\classes\business directory, then you would need to use the option -d which specify the location of where to plcae the generated class files when compiling the UserInfoBo.java file

 
Old February 13th, 2006, 05:32 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Your UserInfoBo.java needs to be deployed as a .class file. Tomcat will not compile .java files for you, it will only compile JSPs on-the-fly.

Jon Emerson
http://www.jonemerson.net/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Novel bug, hoping someone can help jeremy1048 Access 3 June 24th, 2008 11:35 AM
Hoping it is Ok to ask Biztalk Q here? jihadbuster XSLT 1 March 19th, 2008 05:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.