David, I don't know the answer to your question, but I have a related
question.

I put the following directive in my .jsp file:

<%@ extends = "SuperClassServlet" %>

where SuperClassServlet is in the default package of my project in
VisualAge 3.0.

When I try to run this JSP I get the following message:

com.livesoftware.scripting.CompilerException:
Found 18 semantic errors compiling
"/home/soldalma/jrun/jsm-soldalma-soldalma/services/jse/servlets/jsp/subclas
s.java":

24. public class subclass extends SuperClassServlet
<---------------->
*** Error: Type jsp/SuperClassServlet was not found.

This looks like a classpath problem. How can I deal with it?

Thanks.

Fernando


At 04:23 PM 2/18/00 -0800, you wrote:
>Guys -
>         The problem I'm having is as follows:
>
>1) All of my jsp pages have many things in common. A header, A footer, a
>copyright message, etc. These things are static in nature and will not
>change from page to page.
>
>2) I want to include all these items, without having to produce code
>clutter, by placing these common things in a base jsp page which will can be
>inherited by other jsp pages.
>
>What is the best way to do this?
>
>-David
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to