Hello Sneha, you can put files directly into Tomcat deployment but it needs to comform to the .war (web archive) file structure. How are you building your application? I suggest strongly that you use Ant and build.xml to output a proper .war representation of you app. Since you are using JSP I assume you are using Servlets and attempting to deploy a web application based on those technologies. You may want to get started at:
http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html and also if you have a TC istance running then you should see the documentatio link at http://localhost:8080 assuming you are just running a local TC instance. If you are running public I suggest that you run locally for a while until you have a more stable working environment. Try building a .war first and then use the TC manager to deploy the .war: http://localhost:8080/manager. It works. HTH. Sneha Manohar wrote .. > Hi , > where do I need to place user defined .java files in tomcat directory > > Sneha Manohar <[EMAIL PROTECTED]> wrote: > Date: Sun, 24 Feb 2008 18:23:45 +0000 (GMT) > From: Sneha Manohar <[EMAIL PROTECTED]> > Subject: jsp:useBean is giving error > To: users@tomcat.apache.org > > Hi all > I am getting error with <jsp:useBean .I have placed BallMemberInfo.java & > all > jsp file at directory " apache-tomcat-6.0.16\webapps\examples\jsp\Ball > ". > > <jsp:useBean id="ballMemberInfo" class="BallMemberInfo" scope="page"/>. > > I am getting following error , > > HTTP Status 500 - > --------------------------------- > type Exception report > message > description The server encountered an internal error () that prevented it > from > fulfilling this request. > exception > org.apache.jasper.JasperException: /jsp/Ball/MainList.jsp(12,95) equal symbol > expected > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) > org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:195) > org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:150) > org.apache.jasper.compiler.Parser.parseSetProperty(Parser.java:922) > org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1143) > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1455) > org.apache.jasper.compiler.Parser.parse(Parser.java:133) > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216) > org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:153) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > note The full stack trace of the root cause is available in the Apache > Tomcat/6.0.16 > logs. > > --------------------------------- > Apache Tomcat/6.0.16 > --------------------------------- > Chat on a cool, new interface. No download required. Click here. > > > > --------------------------------- > Meet people who discuss and share your passions. Join them now. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]