****** Message from InterScan E-Mail VirusWall NT ****** ** No virus found in attached file noname Mail Scanned For Virus At ITLInfosys ***************** End of message ***************
Well I did some more tinkering around with this stuff and had my Apache server (on Windowze) handle .jsp pages and the server redirected it to the jsp servlet on my Tomcat. This way I could call the URL like http://localhost/examples/snoop.jsp . The redirection maps it to http://localhost:8080/servlet/gnujsp/examples/snoop.jsp Now the prob with this is it wont accept POST requests to a JSP page mapped like this. and still I got to call a jsp page twice if it is has been changed. It recreates class and java files on the first call and loads on second call. dunno why;-> BTW I'm on JDK1.2 and the JSDK is 2.0 not 2.1 Now u may be wondering why the hell am I doing it like this way. Heck I got the GNUJSP stuff properly installed and working on my Linux/Apache/JServ in a matter of minutes. I wanted to see it on Windows also but it just does not seem to get in place. > -----Original Message----- > From: Luc Saint-Elie [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 18, 1999 6:06 PM > To: [EMAIL PROTECTED] > Subject: Re: GNUJSP with TomCat??? > > > Jebu, > > I've exactly the same problem with Tomcat and Cocoon (that is > the same kind > of stuff, a servlet processing a specific extension, xml in > cocoon's case) > under NT. > > I can use cocoon with > http://my_server/my_webapp/servlet/cocoon/news.xml > > But not with the logical (logical because I have a mapping.properties > stating .xml=cocoon) > > http://my_server/my_webapp/news.xml > > Not big deal.. but strange deal :-)) > > > > Le 15:18 18/08/99 +0530, Jebu Ittiachen a écrit: > >Hi, > > Is there anyway I can get Tomcat to work with > GNUJSP?? ie; how do I > >map the .jsp extension to jsp servlet under the reference > kit provided by > >Sun?? > >I was able to load the jsp pages by tricking the servlet > into loading it by > >giving a url of this form > >http://localhost:8080/servlet/gnujsp/examples/snoop.jsp > >This way the servlet was generated and compiled but I have > to reload the > >page to see the contents of the jsp. All futher calls go on fine. > > +------------------------------------------------+ > | Luc Saint-Elie | > | 53, rue Caulaincourt | > | 75018 Paris France | > | Tel: 01 42 52 09 62 / 06 12 90 19 65 | > | email : [EMAIL PROTECTED] | > +------------------------------------------------+ > | Java Server Side Open Source technologies | > | http://www.interpasnet.com/JSS | > +------------------------------------------------+ > > ______________________________________________________________ > _____________ > To unsubscribe, send email to [EMAIL PROTECTED] and > include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html