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 :
# form:input type=hidden name=idy value=%= itlBean.getIdy() %/
(itlBean.getIdy() returns a Long.)
Then I try to transform the JSP page into a servlet with the jasper
task,
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
documentation on how
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/Servlets
I understand how
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 method
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
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
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
we use java because it is easy to replicate across
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
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
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
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
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
-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 Servlets.
For that I'm using Tomcat4.0 configured
--- 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:
NullPointerException
hello!
I'm tryng to serve JSP pages
--- 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:
NullPointerException
hello!
I'm tryng to serve JSP pages
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: [EMAIL PROTECTED]
Subject: JSP Servlets
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
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 explained to me and help clear
some of my doubts
; [EMAIL PROTECTED]
Subject: Re: J2EE, JSP, SERVLETS
--- 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
: 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 because it is easy to replicate across multiple hardware
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
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
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
explained to me and help clear
some of my doubts.
Please share your conclusions
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: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
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
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
/
- 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, ...)?? If
so, I got it to run straight out of the box with out
, 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, ...)??
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
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
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 right. It's the same one I used
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
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 direction?
thanks
sachin
Hi!
Has anyone setup MSSQL 7.0 with TC?
Can anyone point me in the right direction?
thanks
sachin
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 me, on practice
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)
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 received
"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
-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 Brajnik wrote:
Hi.
I'm
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
, at 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 using
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
my_application_context/lib
/usr/java/jdk1.3.0_01/lib/
in the
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 contain?
42 matches
Mail list logo