tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Ousley <jous...@gmail.com>
Subject Re: jstl not working when i use a web.xml file
Date Thu, 19 Aug 2004 22:34:01 GMT
ok...i think i'm clearer now. this thread helped:

http://forum.java.sun.com/thread.jsp?forum=45&thread=506444

thanks all!

On Thu, 19 Aug 2004 17:25:12 -0500, Jeff Ousley <jousley@gmail.com> wrote:
> very cool! that worked...but why? none of other suggestions did. any
> sort of web.xml seemed to cause the page not to work. but placing this
> line in allowed it to work. i'm assuming this turns off expression
> language?
> 
> 
> 
> On Thu, 19 Aug 2004 23:18:06 +0100, Mark Page <mark@weballistics.co.uk> wrote:
> > or stick <%@ page isELIgnored ="false" %> in your jsp.
> >
> > On Thu, 2004-08-19 at 22:30, Simon Benzekri wrote:
> > > Hello Jeff,
> > >
> > > Try this as the top line  in  web.xml file.
> > >
> > >  <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
> > >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > >     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
> > >     version="2.4">
> > >
> > >       all other declaraqtions
> > > </web-app>
> > >
> > > Simon
> > >
> > > -----Original Message-----
> > > From: Jeff Ousley [mailto:jousley@gmail.com]
> > > Sent: Thursday, August 19, 2004 4:59 PM
> > > To: taglibs-user@jakarta.apache.org
> > > Subject: jstl not working when i use a web.xml file
> > >
> > > Hello!
> > >
> > > 1st of all, b gentle w/ me...i'm just getting into this stuff. i'm
> > > trying to use jstl stuff in a webapp on jakarta 5.0.27. i created my
> > > directory in webapps and placed the two .jar files in the WEB-INF/lib
> > > directory. from there, i just copied the SimpleRange.jsp file from the
> > > examples into my webapps directory. i then stop and restart jakarta
> > > and run the page. it works great! i get this returned:
> > >
> > >
> > > Simple Range Iteration
> > > 1 to 10
> > > 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 *
> > >
> > >
> > > however, if i create any sort of web.xml file inside WEB-INF for my
> > > webapp (at least the variations i tried), the page does not work
> > > properly. i created a very simple empty web.xml file like this:
> > >
> > > <web-app>
> > >
> > > </web-app>
> > >
> > >
> > >
> > > anyway, with a web.xml file present, i get the following when trying
> > > to run the page (after starting and stopping):
> > >
> > >
> > > Simple Range Iteration
> > > 1 to 10
> > > ${i} * ${i} * ${i} * ${i} * ${i} * ${i} * ${i} * ${i} * ${i} * ${i} *
> > >
> > >
> > > what in the world am i doing wrong? also (unrelated) how do i force a
> > > recompile of my pages?
> > >
> > >
> > > thanks!
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> > >
> > > NOTICE: This email contains privileged and confidential information and is
intended only for the individual to whom it is addressed. If you are not the named addressee,
you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this transmission by mistake and delete this communication
from your system. E-mail transmission cannot be guaranteed to be secured or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses.
> > >
> > > AVIS: Le prsent courriel contient des renseignements de nature privilgie et
confidentielle et nest destin qu' la personne  qui il est adress. Si vous ntes pas le destinataire
prvu, vous tes par les prsentes aviss que toute diffusion, distribution ou reproduction de
cette communication est strictement interdite. Si vous avez reu ce courriel par erreur, veuillez
en aviser immdiatement lexpditeur et le supprimer de votre systme. Notez que la transmission
de courriel ne peut en aucun cas tre considr comme inviolable ou exempt derreur puisque les
informations quil contient pourraient tre intercepts, corrompues, perdues, dtruites, arrives
en retard ou incompltes ou contenir un virus.
> >
> >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> >
> >
>

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


Mime
View raw message