aspose file tools*
The moose likes Servlets and the fly likes JSP + iPlanet Problem - flushBuffer()` Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP + iPlanet Problem - flushBuffer()`" Watch "JSP + iPlanet Problem - flushBuffer()`" New topic
Author

JSP + iPlanet Problem - flushBuffer()`

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello,
please can someone shed some light on the following.
I am running iPlanet FastTrack 4.1 on NT. I have the latest servlets.jar from sun, and Ive removed every last b****y servlet / jsdk jar from my machine. When I try to execute a jsp page I get the java.lang.nosuchmethoderror flushbuffer()V not found:
I have read alot that this is because there is an old version of the sevlet api on the classpath being imported before the new one but this isnt the case here. Has anyone any other ideas about what could be causing this. I have jsp pages that work, but these few wont.
Thanks in advance,
Mike B
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Could it be that iPlanet FastTrack 4.1 does not support the servlet.jar version you are using?

I ran into a problem using iPlanet, in that it doesn't support the use of <param > tags inside of a <jsp:include > tag.

Further reading led me to discover that when iPlanet means "we support version x of Servlets and version y of JSP" that they really mean: "we support 98% of x and 95% of y".

Perhaps you have run into this problem.

I look forward to the day when iPlanet drops it's proprietary servlet runner and adopts Tomcat (which is the rumor for the next version).
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Thanks Mike, I think you may well be right. I was starting to question my own sanity. I think I may well install tomcat and kick iPlanet into touch.
Thanks again Mike
Mike B
Beksy Kurian
Ranch Hand

Joined: Jul 11, 2001
Posts: 254
I saw this in another java forum about the same issue. The specified method is added in the servlet API 2.2.
"Joshua Davies, Apr 24, 2001
This one took me quite a while to figure out; apparently Java, before actually searching your classpath, looks in %JAVA_HOME%\lib\ext, even if it's not in your classpath... check there first (this was the culprit for me)."
Regards
Beksy
 
Consider Paul's rocket mass heater.
 
subject: JSP + iPlanet Problem - flushBuffer()`