Re: Problem in JSP. help me pls

2007-07-02 Thread Li
Hi, You got this error is because when tomcat is processing your servlet, it was unable to cast to an AnnotationProcessor, see the section below (From StandardWrapper): try { ... if (getParent() instanceof StandardContext) { ((StandardContext)getParent()).getAnnotationProcessor().processAnn

Re: Problem in JSP. help me pls

2007-07-02 Thread bindhu
hi, thank u so much fro ur reply. i have formtag class in my directory. i hope i didnt miss any thing in my directory. Session A Mwamufiya wrote: > > Hi, > > I'm still a newbie here, but I've encountered this type of errors before. > From my limited experience, it seems to me that you are m

Re: [OT] Re: Problem in JSP. help me pls

2007-07-02 Thread Li
It's not necessary at all to add all jars into classpath to make it your struts application work. Jeromy is right that the problem may caused by wrong syntax on classpath. Again, Tomcat classloaders will find class for you if your jars placed at right place. You dont even have to put jars in comm

[OT] Re: Problem in JSP. help me pls

2007-07-01 Thread Jeromy Evans
Guys, please read a classpath tutorial. There's a decent one here: http://www.kevinboone.com/classpath.html The following section is especially relevant that I've copied from that page for you: JARs on the classpath The java compiler and run-time can search for classes not only in s

Re: Problem in JSP. help me pls

2007-07-01 Thread bindhu
hi, i hv done what u said n now my calsspath is CLASSPATH=C:\Program Files\Java\jre1.6.0_01\lib\* still i face the error. bindhu wrote: > > hai, > > when trying to open my jsp page in browser i get this error. can > anyone plas help me. > type Exception report > > message > > descr

Re: Problem in JSP. help me pls

2007-07-01 Thread gundakiran
Hi.. Remove servlet-api and struts lib and apache tomcat libe jar files from the classpath... bindhu wrote: > > hi, > > thank u . i removed what u said > > so now my classpath looks like this > > CLASSPATH=C:\Program > Files\Java\jdk1.6.0_01\lib\servlet-api.jar;C:\struts1.3.8\l > ib\*;C:\

Re: Problem in JSP. help me pls

2007-07-01 Thread Li
try to clean up all in your classpath make sure your JAVA_HOME and CATALINA_HOME is available. On 7/2/07, bindhu <[EMAIL PROTECTED]> wrote: hi, thank u . i removed what u said so now my classpath looks like this CLASSPATH=C:\Program Files\Java\jdk1.6.0_01\lib\servlet-api.jar;C:\struts1.3.

Re: Problem in JSP. help me pls

2007-07-01 Thread bindhu
hi, thank u . i removed what u said so now my classpath looks like this CLASSPATH=C:\Program Files\Java\jdk1.6.0_01\lib\servlet-api.jar;C:\struts1.3.8\l ib\*;C:\apache-tomcat-6.0.13\lib\*;C:\Program Files\Java\jre1.6.0_01\lib\* but i face the same problem. i dont use any IDE right now. bi

Re: Problem in JSP. help me pls

2007-07-01 Thread Li
Hi bindu, you dont have to put your tomcat\lib, and your jre\lib onto your classpath, when tomcat load up your JSP, its classloader will checkout libs that are needed ... also, it is a very bad idea to export same jar from different location ... Clean up your classpath, it should work. Regards

Re: Problem in JSP. help me pls

2007-07-01 Thread gundakiran
If you see your classpath, you have two different versions of servlet-api.jar.. and moreover in the systems classpath, I suggest not to keep any tomcat or any specific jar files except your JDK/JRE jar files.. and whe n you deploy your web-app and if you have all jars included in your web-inf/lib

Re: Problem in JSP. help me pls

2007-07-01 Thread bindhu
hi kiran, thank u for ut reply. i have all the dependencies in my WEB-INF\lib directory. struts-trmplate, struts-logic, struts-form, struts-bean, struts. still i face thsi same error. and my class path is as follows CLASSPATH=C:\apache-tomcat-6.0.13\lib\servlet-api.jar;C:\Program Files\Java

Re: Problem in JSP. help me pls

2007-07-01 Thread gundakiran
Hai Bindhu, This org.apache.struts.taglib.html.FormTag is in struts core jar file.. Check if this jar and all its dependents exist in your web-inf/lib.. Kiran bindhu wrote: > > hai, > > when trying to open my jsp page in browser i get this error. can > anyone plas help me. > type Except

Re: Problem in JSP. help me pls

2007-07-01 Thread Li
check your struts jar file see if the tag handler classes there ... On 7/2/07, bindhu <[EMAIL PROTECTED]> wrote: hai, when trying to open my jsp page in browser i get this error. can anyone plas help me. type Exception report message description The server encountered an internal error

Re: Problem in JSP. help me pls

2007-07-01 Thread Session A Mwamufiya
Hi, I'm still a newbie here, but I've encountered this type of errors before. From my limited experience, it seems to me that you are missing a .jar file in your WEB-INF/lib directory. The servlet filter can't find the FormTag class when a request is passed. Make sure you have the correspond