test.jsp here http://www.caucho.com/resin-3.1/doc/xslt-filter.xtp shows
you need to add this and the filter to the web-app in order for it to
trigger resin to performing the transformation. I'm having an issue
based on that example where basically I need to also control the
contentType for
();
}
}
public void init(FilterConfig filterConfig) throws ServletException {
this.filterConfig = filterConfig;
}
public void destroy() {
this.filterConfig = null;
}
}
-Anoop
John Steel wrote:
test.jsp here http://www.caucho.com/resin-3.1/doc/xslt-filter.xtp shows
you
Pablo Saavedra wrote:
The filter order is defined by the filter-mapping element in the
web.xml. Make sure that your filter-mapping is after the xslt filter's.
Regards.
Thanks - its like this, is this ok?
filter filter-name='xslt' filter-class='com.caucho.filters.XsltFilter'/
try
{
System.out.println (Within ContentType filter ... );
chain.doFilter (request, response);
((HttpServletResponse) response).addHeader(ContentTypeFilter,
PROCESSED);
response.setContentType(text/html);
} catch (Exception e) {
e.printStackTrace();
Resin 3.21 - If I add something like this system-property
site.footer.copyright='Copyright copy; 2001-2007 example.com.'/ I get
the error expected local reference at 'copy;' - whats wrong please?
--
--
http://www.phonewebcam.com
[EMAIL PROTECTED]
I know this was asked and answered on this list ages ago but am darned
if I can find it!
Resin 3.0.23.
--
--
http://www.phonewebcam.com
[EMAIL PROTECTED]
___
resin-interest mailing list
resin-interest@caucho.com
As a longtime resin user we have built up some scripts to control
running instances, some of which fail with 3.1.0.
Specifically, in 3.0.23
- in httpd.sh the args= isn't picked up, we used args=-Xmn100M
-Xms500M -Xmx500M -J-Duser.timezone=Europe/London
- a startup script (restart-a.sh) just
Hi, more funnies moving old resin code to 3.1.0.
This, in a servlet, works with 3.0.23 and has for literally years:
private Context env;
private DataSource pool;
private DataSource authPool;
private ServletContext sc;
public void init(ServletConfig sfg) throws ServletException {
sc
John Steel wrote:
Please ignore this - it was a misconfig during the upgrade.
Thanks
- John
--
--
http://www.phonewebcam.com
[EMAIL PROTECTED]
___
resin-interest mailing list
resin-interest@caucho.com
http
Adam Allgaier wrote:
We're having sever problems, so any help you have would be great! I'll take
you to dinner!
We had exactly this last week, and I'm really annoyed as its sent my
Google pagerank to 0 as they checked the site during the couple of days
it took to fix, saw the redirection
Just found (and corrected) a probable howler in a pretty busy servlet:
public void init(ServletConfig config) throws ServletException {
super.init(config);
sc = config.getServletContext();
try {
env = (Context) new InitialContext().lookup(java:comp/env);
pool =
I've been using this pattern for some time with excellent results:
%
if (user == null) {
%
%@ include file=/jsp/loginpanel.jsp %
%
} else {
%
%@ include file=/jsp/logoutpanel.jsp %
%
}
%
I'm curious how this affects performance. In once sense, the assembled
jsp is
Scott Ferguson wrote:
Our main development goals for Quercus for the rest of the year are
working towards getting 100 PHP applications running on Quercus and
closing bugs as they're reported.
Cool. Well I'd really appreciate news when Pligg is ok (the PHP Digg
clone).
Its at
John Steel wrote:
Resin 3.1.1 pro, developing under XP/Linux for production.
I use jfreechart to create jpg graphs. My jsp correctly updates the
graph on disk each time its loaded, which happens via a POST with
params. I guarantee the jpg is always updated because I'm monitoring
public class MyServlet extends HttpServlet {
private int nonThreadSafeInt = 1;
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
nonThreadSafeInt++;
try {
Thread.currentThread().sleep((long) Math.random() * 5000);
I know dropping a war to resin/webapps will deploy it for access with
the default url http://localhost:8080. I have configured a few empty
webapp locations and want to deploy variants of my war to them, such as
http://localhost:8080/stable, http://localhost:8080/snapshot etc. Where
do I copy
Hi all,
A recent attempt to upgrade some 3.1.2 Pro servers broke them due to
some changes in the
include handling of JSP's. The attempt was made to use 3.1.5, which
failed.
The simplest case of what we are doing:
--
index.jsp:
%@ include
Eric Kreiser wrote:
even *IF *that were true (which I doubt) there is more to choosing app
server.
do you really want to go with the company that designed java's date
handling API's
Ouch !
--
--
http://www.phonewebcam.com
[EMAIL PROTECTED]
18 matches
Mail list logo