tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmk...@earthlink.net (David M. Karr)
Subject Re: JSTL & Struts
Date Fri, 05 Apr 2002 06:26:02 GMT
>>>>> "Jeff" == Jeff Ling <jeffreyling@hotmail.com> writes:

    Jeff> Hi,
    Jeff> I am using struts with JSTL. In one place I write something like this:

    Jeff> <c:import value="mytestprogram.do"/>

    Jeff> It throws an JSP exception at runtime.

    Jeff> Is this because struts will forward to the actual page when it sees *.do? Is
    Jeff> there any workaround?

In general, it's kind of hard to help someone if they say something breaks, but
they don't say clearly what happened.  In particular, if you get an exception,
listing the first few lines of the stack trace, including the initial message,
could be very important.  Although, if the exception has a "root cause" (often
further down in the printout), that's often more important than the top
exception.

Despite that, as a weak guess, you might try:

  <c:import value="/mytestprogram.do"/>

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
dmkarr@earthlink.net


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message