struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Schnelle" <t.schne...@catwesel.de>
Subject AW: getting the servlet context
Date Mon, 01 Oct 2001 20:00:19 GMT
Try this
ServletContext con = pageContext.getServletContext();
regards
Thomas

-----Urspr√ľngliche Nachricht-----
Von: Johnson, Nathaniel [mailto:natjohns@indiana.edu]
Gesendet: Montag, 1. Oktober 2001 21:49
An: 'struts-user@jakarta.apache.org'
Betreff: getting the servlet context


Does anyone know how to get the servletContext from within a custom tag
(public class MyTag extends SupportTag...)

Thanks!
Nate





Mime
View raw message