Justin Jaynes wrote:
I would HIGHLY recommend using SuSE Linux 10 which can
be purchased or download from Novell directly at
suse.com. Also, see the openSuSE project (essentially
the open source community effort half of the
SuSE/novell team).
I used to run RedHat but was disappointed in the
Not at all, Justin. Thank you, thank you!
Also, thank you, Mark Eggers.
As I am so new to this, I run the risk of veering off-topic, which I realize
is inappropriate. That said, I will get my newbie noggin back into the
woodshed so that I may be true to this list.
Best wishes,
John G.
on
John,
If you need help with setting up the environment I
described (and BOY could I have used help my first
time--mostly I tutored myself and failed and failed
before succeeding) you can ask me and I will know at
least where to point you for relevant information. I
assume you have done your own
of this?
-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 06, 2005 10:54 PM
To: Tomcat Users List
Subject: Re: Mod_jk + Apache on RHEL3 gives 503 for jsp only
--- [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I have jakarta-tomcat-5.5.9 installed and working
/application1
will be found by Apache. Until you set up JkMount
statements, all jsp pages will be served as source.
In general this works pretty well. The files in
/usr/local/tomcat/jakarta-tomcat/5.5.9/webapps must be
readable by the user that runs Apache.
3. Separate installations
If you use an IDE
Hello:
This is a little intimidating, but I am eager. I hope I am in the right
place.
I am a DHTML developerintermediate level. I¹ve been exposed to JSP on an
iPlanet server, Sun OS 5.8 (but it is my client¹s production server, and I¹m
reluctant to mess around there!)
I now have my own Tomcat
John Geiger escribió:
Hello:
This is a little intimidating, but I am eager. I hope I am in the right
place.
I am a DHTML developer‹intermediate level. I¹ve been exposed to JSP on an
iPlanet server, Sun OS 5.8 (but it is my client¹s production server, and I¹m
reluctant to mess around there!)
I
in the right
place.
I am a DHTML developer‹intermediate level. I¹ve been exposed to JSP on an
iPlanet server, Sun OS 5.8 (but it is my client¹s production server, and I¹m
reluctant to mess around there!)
I now have my own Tomcat install kind-of-working on a Fedora Core 2 box. It
is Tomcat 5.0.x
to place
the jar file containing the MySQL driver in
$CATALINA_HOME/webapps/app-name/WEB-INF/lib, where
app-name is the name of your application.
You can pick up the MySQL jdbc driver from:
http://dev.mysql.com/downloads/connector/j/3.1.html
If you are just starting out on jsp/servlet
programming
to JSP on an
iPlanet server, Sun OS 5.8 (but it is my client¹s
production server, and I¹m
reluctant to mess around there!)
I now have my own Tomcat install kind-of-working on
a Fedora Core 2 box. It
is Tomcat 5.0.x with Apache 1.3.
I am studying an APress book called ³JSP 2.0 Novice
Hi everybody
I want to connect a mysql database with jsp code.
Can anybody help me to write a connection string.
Thx.
Cengiz YAZGAN
Sistem Mühendisi/System Engineer
DorukNet
Tel / Phone : +90 212 326 92 00 / 447
Fax : +90 212 227 28 11
E-mail : [EMAIL PROTECTED]
http://www.doruk.net.tr
http
jdbc:mysql://hostname:3306/database?user=usernamepassword=password
However on a design front I would never personally look up a database
connection in a JSP. Others may disagree.
-Original Message-
From: Cengiz Yazgan [mailto:[EMAIL PROTECTED]
Sent: 06 October 2005 11:46
To: 'Tomcat
Folks:
I'm relatively new to the world of Tomcat, but ...
Have locally 'made' (make) Apache 2.0.54. Binary Tomcat 4.1.29. Locally built
mod_jk (1.2.14). Platform is Solaris 9.
Have a vendor supplied JSP application. Runs beautifully under Tomcat
'standalone'.
Need to add to an existing
ignore any messages that hijack another thread.
The correct procedure is to create a new message with a new subject.
This will start a new thread.
Mark
tomcat-user-owner
Cengiz Yazgan wrote:
Hi everybody
I want to connect a mysql database with jsp code.
Can anybody help me to write
server, access to jsp based pages give a 503
error.
The main page, home.jsp, loads fine in the servlet if no page is given.
http://webserver/PI/ The home.jsp spawns a 503 if is in the URL.
http://webserver/PI/home.jsp I can successfully get images from the
page from the tomcat instance. It does
is given.
http://webserver/PI/ The home.jsp spawns a 503 if
is in the URL.
http://webserver/PI/home.jsp I can successfully
get images from the
page from the tomcat instance. It does not like the
.jsp extension.
By successfully getting images, do you mean:
http://webserver/PI/image.png
Put it in a package ... http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Tim
Goo GGooo wrote:
On 10/4/05, Wendy Smoak wrote:
From: Goo GGooo [EMAIL PROTECTED]
An error occurred at line: 1 in the jsp file: /name.jsp
Generated servlet error:
UserData cannot be resolved
Hi, I am using Tomcat and I have the following problem: when I develop
and test my
applications on my local computer everything is OK. But a few days
ago, when I
uploaded my .war file to the server where I host my domain something
is wrong. A request to the first(index.jsp) page returns nothing in
Liubomir
I have experienced the same problem.
Are you including any servlets in this JSP? Or are you using any
filters? Any java type that has been pre-compiled locally, is what I am
basically asking? If so, you will have a major/minor mismatch.Best to
develop and compile to the same version
:
===
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 1 in the jsp file: /name.jsp
Generated servlet error:
UserData cannot be resolved or is not a type
===
Files webapps/tut/name.jsp and
webapps/tut/WEB-INF/classes/UserData.java are attached. Of course I've
got
On 10/4/05, Wendy Smoak wrote:
From: Goo GGooo [EMAIL PROTECTED]
An error occurred at line: 1 in the jsp file: /name.jsp
Generated servlet error:
UserData cannot be resolved or is not a type
===
Files webapps/tut/name.jsp and
webapps/tut/WEB-INF/classes/UserData.java are attached
Mieke Banderas wrote:
Mark Thomas said:
Read the spec.
Where in the spec?
JSP.4 Internationalization Issues would seem to be a blinding
obvious place to start.
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Mark Thomas said:
Read the spec.
Where in the spec?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi!
Is it a good Idea to have PHP enabled on tomcat ? As Tomcat is for Java/JSP.
Sorry if the question is very basic. I am not too sure if running PHP
is a good option on Tomcat.
thanks,
Lalit
-
To unsubscribe, e-mail: [EMAIL
Lalit Batra wrote:
Is it a good Idea to have PHP enabled on tomcat ?
In my limited experience using the PHP4 servlet, some errors cause
the whole JVM process to exit, so good idea depends on how badly
you want to run PHP applications :-)
Personally, I just run Apache on a different IP
I was using the 'touch' command to force a recompile
of some jsp files. After a while, I checked lsof and
noticed some files being left open:
java 25139 fdblahh 21r REG3,3
1214916783806
/home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website
On 9/27/05, steven [EMAIL PROTECTED] wrote:
I was using the 'touch' command to force a recompile
of some jsp files. After a while, I checked lsof and
noticed some files being left open:
java 25139 fdblahh 21r REG3,3
1214916783806
/home/fdblahh/jakarta-tomcat-5.5.9/work
On 9/22/05, Mark [EMAIL PROTECTED] wrote:
I would think that this is possible. I have been writing servlets for
over a year, but have not written a single line of JSP.
Technically speaking each JSP is actually a servlet... more or less.
Everything that works in the server works in the jsp
Please remove me from this reply list. Thanks
-Original Message-
From: T P [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 20, 2005 4:28 PM
To: tomcat-user@jakarta.apache.org
Subject: Charset configurations for JSP pages
Hello,
How to configure the character sets on JSP pages/HTTP
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page to authenticate users. I will probably use
one of the Tomcat supported authentication modules.
I am wondering if it is possible for tomcat to properly manage session
information when going between
Mark wrote:
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page to authenticate users. I will probably use
one of the Tomcat supported authentication modules.
I am wondering if it is possible for tomcat to properly manage session
information when
I would think that this is possible. I have been writing servlets for
over a year, but have not written a single line of JSP.
On 9/21/05, David Wall [EMAIL PROTECTED] wrote:
Mark wrote:
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page
Hello,
How to configure the character sets on JSP pages/HTTP replies so that
browser connecting to tomcat displays pages correctly? Currently i'm using
Tomcat-5.0.28.
I am unable to find any decent documentation on this. I have
JSP pages with character set ISO-8859-1 on disk. I reinstalled
T P wrote:
There are bunch of parameters and finding the right combination does not
seem to be trivial. For example there seems to be the following
parameters, for which it is hard to find extensive documentation:
On jsp page %page%-directive:
contentType
pageEncoding
Read the spec
Hi Ron,
I don't know about the JSP 2.1 Support in Tomcat, but if you want to try it
out just use Glassfish: https://glassfish.dev.java.net/
Cheers
Bernhard
-Ursprüngliche Nachricht-
Von: Ron Kiat [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 18. September 2005 18:16
An: Tomcat
I understand that Tomcat 5.5 supports JSP 2.0. I heard that JSP 2.1 has a
slightly different syntax for the Expression Language, and Java 5 EE is
coming. Will the next build of 5.5 suppport JSP 2.1? Or will there be Tomcat
6?
Thanks,
Ron
need to have links between my jsp pages and my static pages, I don't
know if I need to add in that extra directory. If I could just process jsp
files that are in the IIS directory, then it would not be a problem because
they would all be ./filename to each other.
I tried the following in my
On Wed, 2005-09-14 at 13:22, KEREM ERKAN wrote:
OK, start with downloading and installing a binary version of Tomcat for
your OS and also download the 1.2.10 version of mod_jk. I think we should
handle the rest off list not to bother the list anymore.
Yes, that's lot's already installed and
a dozen isolated JSP files.
Can ProxyPass hand off *.jsp to Tomcat rather than a whole
directory?
///Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've downloaded and built Tomcat 5.5.9. The samples it builds (e.g.
./webapps/servlets-examples/WEB-INF/classes/filters/ExampleFilter.class)
seem to be bad class files - they have EFBFBDEF rather than CAFEBABE at
the start.
Anyone seen this?
Regards,
Edward.
-config'd into mod_jk.conf are
relative to the Tomcat webapps directory. How do I write a url pattern
that can be interpreted as relative to Apache's document root, so that
JSP files in there will be passed to Tomcat for serving?
If you have a tomcat webapp that serves jsp's such as
http
Peter Flynn wrote:
If you have a tomcat webapp that serves jsp's such as
http://localhost:8080/mywebapp, then you can map jsp requests to that
webapp using JkMount /mywebapp/*.jsp
Ah...this exposes the gap in my understanding.
Where do I get a tomcat webapp that serves jsp's
need is the trick to make Apache httpd hand off any .jsp
files to Tomcat.
///Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Unfortunately I have to keep the main port 80 httpd, as it's
serving 20Gb of other material (the entire campus web site).
All I need is the trick to make Apache httpd hand off any
.jsp files to Tomcat.
As I am newly subscribed to this list, I don't know if you have got a
satisfactory
On Wed, 2005-09-14 at 12:19, KEREM ERKAN wrote:
Unfortunately I have to keep the main port 80 httpd, as it's
serving 20Gb of other material (the entire campus web site).
All I need is the trick to make Apache httpd hand off any
.jsp files to Tomcat.
As I am newly subscribed
-Original Message-
From: Peter Flynn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 14, 2005 2:40 PM
To: Tomcat Users List
Subject: RE: How to serve just JSP (was: Re: JSP on RHEL4
with Apache http d RPM?
On Wed, 2005-09-14 at 12:19, KEREM ERKAN wrote
KEREM ERKAN wrote:
OK, start with downloading and installing a binary version of Tomcat for
your OS and also download the 1.2.10 version of mod_jk. I think we should
handle the rest off list not to bother the list anymore.
Just to give you another option if you like. I don't even use
I am running into a class hierarchy mismatch with taglibs and jasper2 out
of tomcat 5.5 and precompiling jsp pages built with the struts taglibs.
I have:
Jboss AS 4.0.2
Tomcat 5.5 (bundled)
Struts 1.2.4
The error I am getting at compile time is:
[javac]
F:\Sandboxes\Projects\rainier-1
Hi,
I need to use the JSP 2.0 runtime expressions in the attribute values of
JSTL 1.1 tags but I am getting the exception when I try to use them.
My jsp page:
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page;
xmlns:c=http://java.sun.com/jsp/jstl/core;
xmlns:fmt=http
BTW, I understand that I can use a different syntax with the runtime
expressions. So, if I change my jsp (not use the xml syntax) it's
working fine:
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; %
%@ taglib prefix=fmt uri=http://java.sun.com/jsp/jstl/fmt; %
%@ taglib prefix=fn uri
On 9/13/05, Seva Popov [EMAIL PROTECTED] wrote:
BTW, I understand that I can use a different syntax with the runtime
expressions. So, if I change my jsp (not use the xml syntax) it's
working fine:
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; %
%@ taglib prefix=fmt uri=http
It is funny.
Once I talked with you a while ago I found in the spec that I indeed should use
%= exp % in a JSP documents (i.e. with xml syntax) instead of %= exp %
in a JSP page. I tried it then and it did not work for me.
So I've decided that it's implemented differently in Tomcat.
I've
Hi;
I have websites which are 95% html and 5% jsp/jsf. Any suggestions on the
best way to mix this? What I have always done to date is put the jsp/jsf
stuff under the Tomcat webapps dir and the rest under the IIS
inetpub/wwwroot dir. It's a little disjointed during development but seems
to work
type file extensions.
Allistair.
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: 12 September 2005 17:03
To: 'Tomcat Users List'
Subject: Asking Again: What's the best way to mix html jsp
Hi;
I have websites which are 95% html and 5% jsp/jsf. Any
Hi,
i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps.
It generates empty-element tags where generation of start-tag followed by
immediate end-tag would be needed/preferred. For example there are includes
like:
jsp:include page=includes/scripts.jsp/ where scripts.jsp
Hello! Is there any way to suppress the empty lines in JSPs at the scriplet
positions/JSP tags?
--
Eugene N Dzhurinsky
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
You could do:
script ...///script
So the parser won't see an empty element. (and you will see your XHTML
rendered in the browser)
best,
-Rob
Taimo Peelo wrote:
Hi,
i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps.
It generates empty-element tags where
On Fri, 2005-09-09 at 06:13, Nikola Milutinovic wrote:
Peter Flynn wrote:
I need to add JSP ability to a RHEL4 server running the
current Apache httpd from the Red Hat RPM. Apparently the
httpd RPM available from Red Hat doesn't have the hooks
needed to allow JSP files to be passed
On Fri, 2005-09-09 at 06:13, Nikola Milutinovic wrote:
Peter Flynn wrote:
I need to add JSP ability to a RHEL4 server running the
current Apache httpd from the Red Hat RPM.
[...]
Has anyone managed to serve JSP with Tomcat on a RHEL4
machine running their stock httpd?
You're looking
Peter Flynn wrote:
On Fri, 2005-09-09 at 06:13, Nikola Milutinovic wrote:
Peter Flynn wrote:
I need to add JSP ability to a RHEL4 server running the
current Apache httpd from the Red Hat RPM.
[...]
Has anyone managed to serve JSP with Tomcat on a RHEL4
machine running
directory. How do I write a url pattern
that can be interpreted as relative to Apache's document root, so that
JSP files in there will be passed to Tomcat for serving?
If you have a tomcat webapp that serves jsp's such as
http://localhost:8080/mywebapp, then you can map jsp requests to that
webapp
Hi;
I have websites which are 95% html and 5% jsp/jsf. Any suggestions on the
best way to mix this? What I have always done to date is put the jsp/jsf
stuff under the Tomcat webapps dir and the rest under the IIS
inetpub/wwwroot dir. It's a little disjointed during development but seems
I need to add JSP ability to a RHEL4 server running the
current Apache httpd from the Red Hat RPM. Apparently the
httpd RPM available from Red Hat doesn't have the hooks
needed to allow JSP files to be passed to Tomcat (or if it
does, I can't find them).
Has anyone managed to serve JSP
Peter Flynn wrote:
I need to add JSP ability to a RHEL4 server running the
current Apache httpd from the Red Hat RPM. Apparently the
httpd RPM available from Red Hat doesn't have the hooks
needed to allow JSP files to be passed to Tomcat (or if it
does, I can't find them).
Has anyone managed
This method was added in Servlet API version 2.3.
Can you check if you are using that version ?
Have a look at whats in your classpath at JSP precompilation time !!!
-Original Message-
From: Aaron Phillips [mailto:[EMAIL PROTECTED]
Sent: 06 September 2005 23:27
To: tomcat-user
Hallo,
unter Ihrer E-Mail-Absenderadresse tomcat-user@jakarta.apache.org liegt
uns leider keine Anmeldung vor.
Ich bitte Sie, uns Ihre Anfrage noch einmal von der E-Mail-Adresse zu
senden, die bei uns registriert ist.
Aus datenschutzrechtlichen Gruenden duerfen wir nur dann persoenliche
Hi
I am trying to do JSP precompilation as described at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html. I can run
the application fine if I do not precompile, but when I do attempt to
precompile the JSP, I get the message:
BUILD FAILED
/home/aaron/projects/cdquery/build.xml
Hi!
I just read about your Jasper2 precompiling...
Do you do it via ant?
I tried tomcat's JspC task (tomcat 5.5.9), but jasper generates rubbish
wherever a character reference like #160; is encountered. Compile
errors follow.
A bug, isn't it?
Is there a solution/upgrade/fix available?
How comes
hi-
resending a mail i inadvertently sent to commons-user..
i'm trying to execute jsp in an osgi context with no luck as of today.
i've embedded jetty as an osgi bundle and registered a BundleListener
which registers installed bundles as webapp if they contain a web
descriptor file. so far
The following CVS modules have been migrated to subversion
jakarta-servletapi
jakarta-servletapi-4
jakarta-servletapi-5
These modules are now read only in CVS.
The new SVN locations are:
http://svn.apache.org/repos/asf/tomcat/servletapi/branches/servlet2.2-jsp1.1-tc3.x/
Thank you, Wade and everyone else. ServletOutputStream worked perfectly.
Wade Chandler wrote:
--- Edmund Urbani [EMAIL PROTECTED] wrote:
Philip Cote wrote:
I'm trying to write to binary data from a MySQL
database into a jpeg
file so I can show it on a jsp page
Caldarale, Charles R wrote:
From: Philip Cote [mailto:[EMAIL PROTECTED]
Subject: Re: Making a Database Image Show Up on a Jsp Page
My only sticking point is how I'm supposed to write that
binary data to the jpeg file.
I think the point people are trying to make is that you don't
I'm trying to write to binary data from a MySQL database into a jpeg
file so I can show it on a jsp page but I'm not having much luck. My
bean can create files outside the servlet / jsp context using the usual
java.io classes. As I understand it, java.io classes aren't allowed for
EJBs
to write to binary data from a MySQL database into a jpeg
file so I can show it on a jsp page but I'm not having much luck. My
bean can create files outside the servlet / jsp context using the usual
java.io classes. As I understand it, java.io classes aren't allowed for
EJBs. Does this apply
Philip Cote wrote:
I'm trying to write to binary data from a MySQL database into a jpeg
file so I can show it on a jsp page but I'm not having much luck. My
bean can create files outside the servlet / jsp context using the
usual java.io classes. As I understand it, java.io classes aren't
--- Edmund Urbani [EMAIL PROTECTED] wrote:
Philip Cote wrote:
I'm trying to write to binary data from a MySQL
database into a jpeg
file so I can show it on a jsp page but I'm not
having much luck. My
bean can create files outside the servlet / jsp
context using the
usual java.io
Hi,
The following line:
c:set var=admin value=%=request.getParameter(admin)%/
gives me the below exception under Tomcat 5.5.9:
org.apache.jasper.JasperException: /test.jsp(11,29) The value of
attribute value associated with an element type c:set must not
contain the '' character.
Is
with an element type c:set must not
contain the '' character.
Is this a bug in Tomcat or am I missing something?
(I did not have any problems using the above syntax in Resin.)
Not sure what the prefix c is bound to, but I'd use JSTL 1.1 with TC
5.5.x and use EL and the implicit JSP 2.0 param object like
Hi Rahul,
Thanks for pointing me to the implicit JSP 2.0 param object. This worked
for me perfectly with the JSP 2.0 JSTL URIs:
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page;
xmlns:c=http://java.sun.com/jsp/jstl/core;
version=2.0
c:set var=admin value=${param.admin
On 8/24/05, Seva Popov [EMAIL PROTECTED] wrote:
Hi Rahul,
Thanks for pointing me to the implicit JSP 2.0 param object. This worked
for me perfectly with the JSP 2.0 JSTL URIs:
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page;
xmlns:c=http://java.sun.com/jsp/jstl/core
Well,
JSTL l.0 spec
Supporting the EL in a JSP 1.2 environment
There were quite a few issues involved with the support of an expression
language
within JSTL given the constraint that it had to work with JSP 1.2
containers. In order
to be able to support both the scripting (rtexprvalues
On 8/24/05, Seva Popov [EMAIL PROTECTED] wrote:
Well,
JSTL l.0 spec
snip/
/JSTL l.0 spec
As you see runtime expressions were quite valid in jstl 1.0 tags.
snap/
They still are, but IMO in the JSP 2.0 XML syntax, it gets tricky to
use them in attribute values. EL has taken over
Edmund Urbani wrote:
Philip Cote wrote:
I'm trying to write to binary data from a MySQL database into a jpeg
file so I can show it on a jsp page but I'm not having much luck. My
bean can create files outside the servlet / jsp context using the
usual java.io classes. As I understand
From: Philip Cote [mailto:[EMAIL PROTECTED]
Subject: Re: Making a Database Image Show Up on a Jsp Page
My only sticking point is how I'm supposed to write that
binary data to the jpeg file.
I think the point people are trying to make is that you don't need to
write any file at all
Does anyone know when JSP 2.1 support is expected? Will that be in Tomcat 6?
Jon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There has been no talk of tomcat 6. It is expected that once the 2.5 version
of the servlet spec is announced (in draft form) - work would begin on tomcat6.
-Tim
Jonathan Eric Miller wrote:
Does anyone know when JSP 2.1 support is expected? Will that be in
Tomcat 6
Maybe there are a few classfiles missing, which are only used with these two
jsps.
Bernhard
-Ursprüngliche Nachricht-
Von: Ramnish Kalsi [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 17. August 2005 20:52
An: 'Tomcat Users List'
Betreff: JSP Precompilation
I am trying to use
Hello Everyone,
PROBLEM DESCRIPTION: I'm developing a JSP page which lunches a JFrame
(basically it's a panel with a button). There is a listener to the
button and when the user click it, it calls a boolean function. And I
want depending on the returned result from this function to show
different
I am trying to use jasper2 to pre-compile the JSPs as part of build process.
The compiler is complaining with the message:
ERROR - the file 'blah/blah/jsp' generated the following general exception:
java.lang.NullPointerException'
After spending some time, i realized that the jsp files which had
Hi all,
I am having difficulties to figure out the solution for this issue. Jsp
pages with log4j logging statements that worked perfect on Tomcat 4.1.30
could not compile on Tomcat 5.5.9. I commented out the log4j statements
for these problematic pages, then, tomcat 5.5.9 could compile them
Can you post the JSP directives, and the scriplet that calls log4j? Also, you
have been given a line number 39 .. can you work out which line this is in the
work directory.
Allistair.
-Original Message-
From: Gary Zhu [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 16:17
To: Tomcat
:[EMAIL PROTECTED]
Sent: August 12, 2005 11:20 AM
To: Tomcat Users List
Subject: RE: Cannot compile jsp pages with log4j statements -- Tomcat
5.5.9
Can you post the JSP directives, and the scriplet that calls log4j?
Also, you have been given a line number 39 .. can you work out which
line
It doesn't like the agent_report_all_in_jsp classname.
I'm guessing that's supposed to be the name of the servlet class
generated from the jsp. Are you sure it's correct? If it is then you may
have to use a String argument instead of a class when calling the Logger
factory method.
Gary Zhu
I think Jon maybe onto something ... to use agent_report_all_in_jsp.class your
JSP would need to be called
agent_report_all_in.jsp
Is that the case?
Allistair/
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 16:44
To: Tomcat Users List
First of all, I am not the one who did this app.
Second, it is the case that the JSP file is called
agent_report_all_in.jsp.
The question is: Why it runs perfect on Tomcat 4.1.30, and has issues
with Tomcat 5.5.9? The JasperCompiler on Tomcat5.5.9 has introduced some
bugs that JasperCompiler
this error
therefore I think we can rule out the Jasper compiler.
%!
static private org.apache.log4j.Logger logger =
org.apache.log4j.Logger.getLogger(_5_jsp.class);
%
Have you definately cross-checked the class filename in the
tomcat_home/work/Catalina/localhost/_/org/apache/jsp location
One major change between the 4.1.x branch and the 5.x.x branch is
packages in generated servlets. In tc4.1.x all the jsps were in the
org.apache.jsp package irrespective of the structure of the site.
From 5 onwards the jsp directory structure is also part of the package
name. So, my guess
they could point me to I'd be very happy, but I
couldn't find any after googling for a while, and you folks all seem
to know so /much/.
I have a webapp that has a single JSP page. The JSP page scrapes data
from two remote HTML pages and presents it. This scraping needs to
only happen on demand (i.e. when
Hi all... does anyone know where I can grab a copy of the JSP 1.2 spec
JAR? I've checked iBiblio, they only have 2.0 in the Maven repository. I
also looked in the entire directory tree of my Tomcat 4.1.31 install,
which I believe is at that spec level, and I can't find it there (it
clearly *must
For Servlet 2.3 containers both the JSP and Servlet APIs are in
servlet.jar.
It's only later they were split out into servlet-api.jar and jsp-api.jar
Frank W. Zammetti wrote:
Hi all... does anyone know where I can grab a copy of the JSP 1.2 spec
JAR? I've checked iBiblio, they only have 2.0
1 - 100 of 6472 matches
Mail list logo