Parse Error in the tag library

2001-02-06 Thread Paolo Barolat-Romana
I get the following error when I try to access a jsp that has tags in it. My tag library resides in $app_home$/jsp/taglib.tld. I know that the jsp and tags work properly because I have used them on WebSphere (which also uses the Jasper parser). Could someone explain this? I think it has to do w

Re: Parse Error in the tag library

2001-02-06 Thread Paolo Barolat-Romana
nitely has to be a config problem. Does anyone know what I need to change? Paolo - Original Message - From: "Paolo Barolat-Romana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 06, 2001 8:08 PM Subject: Parse Error in the tag library > I get

No root directory

2001-02-08 Thread Paolo Barolat-Romana
When I hit a servlet in my webapp, I get the following message from tomcat: No root directory specified in XML file, using "". The directory specified by is incorrect. In server.xml, I have the following: Shouldn't this declaration take care of the root directory? Thanks, Paolo

server.xml

2001-02-08 Thread Paolo Barolat-Romana
This is the top of the web.xml file in the conf directory: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> As far as I know, the xml parser will look for the dtd and verify that the xml file conforms to the description in the dtd. Why doesn't the server.xml has such a declaration at the top?

request.sendRedirect()

2001-03-08 Thread Paolo Barolat-Romana
I am trying to understand the behavior of sendRedirect(). The Servlet Spec states: The sendRedirect method will set the appropriate headers and content body to direct the client to a different URL. It is legal to call this method with a relative URL path, however the underlying container must t

context.getInitParameter()

2001-03-09 Thread Paolo Barolat-Romana
I must be doing something wrong here. In my code, I have the following line: ServletContext servletContext = getServletConfig().getServletContext(); String fileName = (String) servletContext.getAttribute("filename"); Now, this should return a string which I've setup in web.xml. Here is the

Re: context.getInitParameter()

2001-03-09 Thread Paolo Barolat-Romana
Milt- Thanks for pointing that out. When you look at something a zillion times, the obvious seems to be so difficult to see! It's always helpful to have another pair of eyes. Thanks again, Paolo Milt Epstein wrote: > On Fri, 9 Mar 2001, Paolo Barolat-Romana wrote: > > > &g

JSP init param

2001-03-09 Thread Paolo Barolat-Romana
I am trying to add the jspCompilerPlugin initialization parameter to my jsp container. I adding this in conf/web.xml, but this did nothing. After reading the e-mail entitled Re:web.xml, which states that the conf/web.xml file is no longer read in the 3.2.1, I proceeded to add the jsp servlet an

Re: can anyone help

2001-03-09 Thread Paolo Barolat-Romana
Jeremy- That is a very broad request. This e-mail list is geared toward helping people with specific problems. I think that you should try executing servlets on your own and when you run into a problem, post it here. Paolo [EMAIL PROTECTED] wrote: > I am knew at this and can anyone tell me h

Re: What is causing this error?

2001-03-09 Thread Paolo Barolat-Romana
It seems that the class org.xml.sax.EntityResolver is not in your classpath. Make sure that all of the appropriate jar files are in your classpath. These jar files are located in %TOMCAT_DIR%/lib. EntityResolver is stored in Parser.jar. Paolo Kemp Randy-W18971 wrote: > Can anyone tell me wh

Re: Tomcat context problem

2001-03-09 Thread Paolo Barolat-Romana
Nico- Just as a side note, the servlet name does not have to be the fully qualified class name. The servlet name is used internally by tomcat and can be whatever you like. Note that the servlet name in the servlet tag and the servlet name in the servlet mapping tag are what connect the two tags

Re: Parser.jar now in classpath, so what is causing this error

2001-03-12 Thread Paolo Barolat-Romana
Here is the definition of the java.lang.NoClassDefFoundError class: Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class coul

Re: JSP init param

2001-03-12 Thread Paolo Barolat-Romana
Hi, I wrote this message a week ago, but never received any response. I am still trying to figure this out. Currently, I have changed the source in tomcat so that it always uses a particular compiler, but obviously this is not the optimal solution. Paolo > I am trying to add the jspCompilerPl