[Jasper/Orion] compile JSP servlets

2005-07-21 Thread Romain Thouvenin
I'm trying to write an ant task to pre-compile JSP pages, but I have the following problem. Here is a piece of page : # (itlBean.getIdy() returns a Long.) Then I try to transform the JSP page into a servlet with the jasper task, which gives the following java code : # _jspx_th_form_inpu

RE: Thread Safe JSP/Servlets

2003-12-29 Thread Merrill Cornish
>>> you have to go out of your way to declare instance variables in a JSP (by putting >>> them in a <%! //declaration block %> John, After I posted the question, I started browsing the generated _jsp file in earnest. I had decided that <% ... %> stuff was safe since it gets up in its own m

RE: Thread Safe JSP/Servlets

2003-12-29 Thread Hume, John - NA US HQ Delray
-declarative scriptlets and all static page content go into the service method of the JSP, so they're threadsafe. -john. -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Thread Safe JSP/Servle

Thread Safe JSP/Servlets

2003-12-29 Thread Merrill Cornish
s is despite my occassionally referencing the generated *_jsp files while debugging), and those servlets DO have instance fields. My specific question is whether Tomcat keeps the instance fields for JSP servlets separate by session. My more general request is for a pointer to "best practices&qu

Re: memory and cpu jsp/servlets abuse

2002-11-11 Thread Tim Funk
You can always nice the untrusted JVMs. That way, even if the JVM is taking 100% - the system will give priority to any other process which is also not nice'd. -Tim Jose Antonio Martinez wrote: hi, i am thinking about developing a multidomain tomcat hosting with private jvm. One of the possibl

memory and cpu jsp/servlets abuse

2002-11-11 Thread Jose Antonio Martinez
hi, i am thinking about developing a multidomain tomcat hosting with private jvm. One of the possible problem here are the bad programmed servlets/jsp wich can abuse of memory and cpu resources. There is an easy way for cutting memory abuse (whith apropiate value for the JAVA_OPTS at the 'startup.

Re: J2EE, JSP, SERVLETS

2002-11-03 Thread Wally Masterson
- Original Message - From: "August Detlefsen" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, 27 February, 2002 4:06 AM Subject: Re: J2EE, JSP, SERVLETS There are a couple of reasons to pick JSP. I usually tell bosses that w

JSP & Servlets

2002-10-21 Thread Chris Wolcott
To get a servlet to work directly, use JkMount commands like these in Apache: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /HelloWorldServlet ajp13<= Add this type of line The first passes all *.JSP pages to Tomcat, the second passes all URLs starting w

Apache/mod_jk half works (JSP/Servlets do not).

2002-09-24 Thread Nathan Coraor
Hi all, I've recently gotten mod_jk integrated with Apache and it allows me to browse actual webpages via http://server/examples, etc. However, trying to run an actual JSP or Servlet causes the browser to hang indefinitely. By that, I mean it continually attempts to load the page but never mana

uugh stuck again =P getting client side information with JSP/Servlets

2002-09-06 Thread Richard Diaz
Is it possible to NOT use JavaScript and JUST use JSP Script alone? Specifically I need the user's screen size and images that are placed on their browser window (for click and drag functionality) Maybe use a client-side applet? Or can I get the above info in the servlet Response object? If I ha

Re: JSP & Servlets error: NullPointerException

2002-04-30 Thread Todd Kaplinger
Keep the generated java code from the jsp file and look at line 81. org.apache.jsp.inicio$jsp._jspService(inicio$jsp.java:81) This should provide some insight. >From: hector De Caceres <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To:

Re: R: JSP & Servlets error: NullPointerException

2002-04-30 Thread hector De Caceres
--- Grava <[EMAIL PROTECTED]> escribió: > > > > -Messaggio originale- > > Da: hector De Caceres [mailto:[EMAIL PROTECTED]] > > Inviato: martedì 30 aprile 2002 13.43 > > A: [EMAIL PROTECTED] > > Oggetto: JSP & Servlets error: > NullPoint

Re: R: JSP & Servlets error: NullPointerException

2002-04-30 Thread hector De Caceres
--- Grava <[EMAIL PROTECTED]> escribió: > > > > -Messaggio originale- > > Da: hector De Caceres [mailto:[EMAIL PROTECTED]] > > Inviato: martedì 30 aprile 2002 13.43 > > A: [EMAIL PROTECTED] > > Oggetto: JSP & Servlets error: > NullPoint

R: JSP & Servlets error: NullPointerException

2002-04-30 Thread Grava
> -Messaggio originale- > Da: hector De Caceres [mailto:[EMAIL PROTECTED]] > Inviato: martedì 30 aprile 2002 13.43 > A: [EMAIL PROTECTED] > Oggetto: JSP & Servlets error: NullPointerException > > > hello! > I'm tryng to serve JSP pages and Serv

JSP & Servlets error: NullPointerException

2002-04-30 Thread hector De Caceres
hello! I'm tryng to serve JSP pages and Servlets. For that I'm using Tomcat4.0 configured in stand-alone mode , and JDK1.3.1 for Linux. I have put JSP pages under the $CATALINA_HOME/weapps/myAplication directory and the servlets are hunging under $CATALINA_HOME/webapps/myAplication/WEB-INF/classe

JSP & Servlets error: NullPointerException

2002-04-30 Thread hector De Caceres
hello! I'm tryng to serve JSP pages and Servlets. For that I'm using Tomcat4.0 configured in stand-alone mode , and JDK1.3.1 for Linux. I have put JSP pages under the $CATALINA_HOME/weapps/myAplication directory and the servlets are hunging under $CATALINA_HOME/webapps/myAplication/WEB-INF/classe

Re: J2EE, JSP, SERVLETS

2002-02-26 Thread Cathy Ooi
- From: "August Detlefsen" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, 27 February, 2002 4:06 AM Subject: Re: J2EE, JSP, SERVLETS There are a couple of reasons to pick JSP. I usually tell bosses that we use java becau

Re: J2EE, JSP, SERVLETS

2002-02-26 Thread August Detlefsen
need to write in my report the major advantages my web > application has > > over the others. I noe jsp/servlets are the best around but i cant > quite > > explain. > > > > However, some kind souls have emailed me and explained to me and > help clear > > some

Re: J2EE, JSP, SERVLETS

2002-02-26 Thread hanasaki
missing out on some of the capabilities, which > i did not implement > 2) i need to write in my report the major advantages my web application has > over the others. I noe jsp/servlets are the best around but i cant quite > explain. > > However, some kind souls have emailed me and

RE: J2EE, JSP, SERVLETS

2002-02-26 Thread Gregor Kovaè
Hi! Usually the good separation (called Model 2) between business logic, data and presentation is the best reason you can give them. Plus you can switch the vendor of your middleware(database, application server, ). A lot of these thing you can find in JSP, Servlets specs. Best regards

RE: J2EE, JSP, SERVLETS

2002-02-25 Thread Rick K
> the capabilities, which > i did not implement > 2) i need to write in my report the major advantages > my web application has > over the others. I noe jsp/servlets are the best > around but i cant quite > explain. > > However, some kind souls have emailed me and >

RE: J2EE, JSP, SERVLETS

2002-02-25 Thread Keith Ng
advantages my web application has over the others. I noe jsp/servlets are the best around but i cant quite explain. However, some kind souls have emailed me and explained to me and help clear some of my doubts. -Original Message- From: Rick K [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February

Re: J2EE, JSP, SERVLETS

2002-02-25 Thread Rick K
--- Keith Ng <[EMAIL PROTECTED]> wrote: > Hi guys > > There has been a question thats bugging me for qute > some time. I noticed > many bank sites, or big companies use JSP/SERVLETS > for their websites. Is > there a particular reason why jsp/servlets are > preferre

J2EE, JSP, SERVLETS

2002-02-25 Thread Keith Ng
Hi guys There has been a question thats bugging me for qute some time. I noticed many bank sites, or big companies use JSP/SERVLETS for their websites. Is there a particular reason why jsp/servlets are preferred over asp/php/coldfusion? I even realise a site (dbs.com.sg)using applet textfield as

Removing Generated JSP Servlets

2001-11-13 Thread BacardiWasabi
1. Ok...im looking for some option ...so that jsp is compiled every time.. __ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com -- To unsubscribe: For additional commands:

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
OK, there should be more info in the logs at webapps/cocoon/WEB-INF/logs. Check it out and maybe post relevant parts to the cocoon-users list to see what they say since this isn't a Tomcat issue any more. Plus that list probably has one or two of the developers around who can offer expert adv

Re: Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
loper EsotericRealm http://www.esotericrealm.com/~hstewart/ - Original Message - From: "David Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 01, 2001 1:33 PM Subject: Re: Using jsp / servlets for main web site? > The build command looks ri

Re: Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
I just started over from scratch and have everything working right except for c2. I've google'd the 'net as much as I can google and haven't found a solution. I've tried several things people have done to get it working (like below), but to no avail: Here's what I've done so far (from the install

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
Stewart > Systems Administrator / Developer > EsotericRealm > http://www.esotericrealm.com/~hstewart/ > - Original Message - > From: "David Smith" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 01, 2001 10:43 AM > Subject: Re:

Re: Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
ww.esotericrealm.com/~hstewart/ - Original Message - From: "David Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 01, 2001 10:43 AM Subject: Re: Using jsp / servlets for main web site? > Is this on the default install of Cocoon2 (no edits, mods, etc, ..

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
Is this on the default install of Cocoon2 (no edits, mods, etc, ...)?? If so, I got it to run straight "out of the box" with out a problem. I'm using RC1 at the moment with TC4, Apache 1.3.19, and mod_webapp.so under Mandrake 8. Presently in a development environment until I can learn enough

Using jsp / servlets for main web site?

2001-10-01 Thread Heath Stewart
I've been running apache for years and want to move to an xml-based operation. I found cocoon sported the best features (without having to move to IIS - God help us). I got Jakarta / Tomcat installed and running fine but cocoon2 always bombs out saying, "The sitemap handler's sitemap is not availa

RE: MSSQL & Tomcat JSP / Servlets

2001-05-11 Thread Sean Pritchard
rks, but I can't remember them offhand. -Original Message- From: Sachin Phatak [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 11:09 PM To: [EMAIL PROTECTED] Subject: MSSQL & Tomcat JSP / Servlets Hi! Has anyone setup MSSQL 7.0 with TC? Can anyone point me in the right

MSSQL & Tomcat JSP / Servlets

2001-05-10 Thread Sachin Phatak
Hi! Has anyone setup MSSQL 7.0 with TC? Can anyone point me in the right direction? thanks sachin

all together: JSP + Servlets + XML => Howto to beginner!!!

2001-03-31 Thread Gilson do N. D'Elrei
Hi, I have to developed dinamic web pages a long time using ASP e Oracle Web Server. Now I'm migrating to Java technology. I know something about Java, but I don't to get understand what's to behind of the JSP, Servlets and XML. I have been to looking for any tutorial that teach

Re: mod_jk, Apache=html, Tomcat=jsp, servlets

2001-01-02 Thread e_teer
It is not spelled out in one spot. You have to read the docs then read them again and pick out the relevant pieces using the JServ examples as a model. Basically you point your DocumentRoot in apache to your tomcat document root. You will have to Alias any web app specific paths and deny all ac

Re: mod_jk, Apache=html, Tomcat=jsp, servlets

2001-01-02 Thread Dave Smith
the contents of /doc/mod_jk-howto.html.   Regards,   Dave     - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 02, 2001 6:24 PM Subject: mod_jk, Apache=html, Tomcat=jsp, servlets I asked this question previously and recei

mod_jk, Apache=html, Tomcat=jsp, servlets

2001-01-02 Thread guyr
I asked this question previously and received no working solutions.  Is it possible to configure Apache and Tomcat, using mod_jk, such that   (1) both Apache and Tomcat use the same document root (2) jsp and html files are mixed together in a single directory (e.g., mycompany/html) (3) Apa

Re: RES: importing javax.mail.* from within JSP servlets

2000-12-07 Thread Craig R. McClanahan
"Jose Euclides da Silva Junior - DIGR.O" wrote: > Hi Craiq, > what do you about using java mail api to upload a multipart-form/data into a > JSP or servlet? > Thanks Craiq > The JavaMail API itself doesn't do everything you need to deal with uploaded files. You should try Jason Hunter's library

RES: importing javax.mail.* from within JSP servlets

2000-12-05 Thread Jose Euclides da Silva Junior - DIGR.O
> -Mensagem original- > De: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]] > Enviada em: Segunda-feira, 27 de Novembro de 2000 21:22 > Para: [EMAIL PROTECTED] > Assunto: Re: importing javax.mail.* from within JSP servlets > > Giorgio Bra

RES: importing javax.mail.* from within JSP servlets

2000-11-29 Thread Jose Euclides da Silva Junior - DIGR.O
least i live as i believe. - -Mensagem original- De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Enviada em: Quarta-feira, 29 de Novembro de 2000 10:21 Para: [EMAIL PROTECTED] Assunto:importing javax.mail.* from within JSP servlets I'm

importing javax.mail.* from within JSP servlets

2000-11-29 Thread Giorgio Brajnik
I'm using tomcat3.1+apache and jdk1.3.0_01 on linux redhat 6.2. I'm not using j2ee but usually (i.e. outside servlets) import its packages. I'm trying to write a jsp that imports javax.mail.* (from j2ee.jar) but jasper complains with "Package javax.mail not found in import. import javax.mail.*

Re: importing javax.mail.* from within JSP servlets

2000-11-27 Thread Craig R. McClanahan
Giorgio Brajnik wrote: > Hi. > > I'm trying to write a jsp that imports javax.mail.* but jasper complains > with > "Package javax.mail not found in import. > import javax.mail.*;" > > I tried to put the i2ee.jar file almost everywhere, including > What is the "i2ee.jar" file, and what does it co

importing javax.mail.* from within JSP servlets

2000-11-27 Thread Giorgio Brajnik
Hi. I'm trying to write a jsp that imports javax.mail.* but jasper complains with "Package javax.mail not found in import. import javax.mail.*;" I tried to put the i2ee.jar file almost everywhere, including /tomcat/lib /lib /usr/java/jdk1.3.0_01/lib/ in the classpath environment var u