Re: JSP Newbie seeking guidance

2005-10-11 Thread Glen Mazza
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

Re: JSP Newbie seeking guidance

2005-10-11 Thread John Geiger
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

Re: JSP Newbie seeking guidance

2005-10-11 Thread Justin Jaynes
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

RE: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-11 Thread [EMAIL PROTECTED]
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

RE: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-11 Thread Mark Eggers
/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

JSP Newbie seeking guidance

2005-10-10 Thread John Geiger
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 now have my own Tomcat

Re: JSP Newbie seeking guidance

2005-10-10 Thread Glen Mazza
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

Re: JSP Newbie seeking guidance

2005-10-10 Thread John Geiger
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

Re: JSP Newbie seeking guidance

2005-10-10 Thread Mark Eggers
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

Re: JSP Newbie seeking guidance

2005-10-10 Thread Justin Jaynes
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

mysql connection with JSP

2005-10-06 Thread Cengiz Yazgan
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

RE: mysql connection with JSP

2005-10-06 Thread Mark Benussi
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

Issuing HTTP requests from inside JSP under Tomcat

2005-10-06 Thread Bandak, Mark
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

Re: mysql connection with JSP

2005-10-06 Thread Mark Thomas
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

Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-06 Thread [EMAIL PROTECTED]
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

Re: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-06 Thread Mark Eggers
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

Re: JasperException: Unable to compile class for JSP

2005-10-04 Thread Tim Funk
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

Tomcat JSP problem

2005-10-04 Thread Liubomir Dokov
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

Re: Tomcat JSP problem

2005-10-04 Thread Schalk Neethling
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

JasperException: Unable to compile class for JSP

2005-10-03 Thread Goo GGooo
: === 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

Re: JasperException: Unable to compile class for JSP

2005-10-03 Thread Goo GGooo
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

Re: Charset configurations for JSP pages

2005-10-01 Thread Mark Thomas
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

Re: Charset configurations for JSP pages

2005-09-29 Thread Mieke Banderas
Mark Thomas said: Read the spec. Where in the spec? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

PHP / JSP on Tomcat.

2005-09-28 Thread Lalit Batra
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

Re: PHP / JSP on Tomcat.

2005-09-28 Thread Hassan Schroeder
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

'touch'ing jsp files to force recompilation

2005-09-26 Thread steven
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

Re: 'touch'ing jsp files to force recompilation

2005-09-26 Thread Anto Paul
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

Re: session tracking in a context that contains JSP and servlets

2005-09-22 Thread Leon Rosenberg
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

RE: Charset configurations for JSP pages

2005-09-21 Thread Barbara.Townsend-Batten
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

session tracking in a context that contains JSP and servlets

2005-09-21 Thread Mark
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

Re: session tracking in a context that contains JSP and servlets

2005-09-21 Thread David Wall
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

Re: session tracking in a context that contains JSP and servlets

2005-09-21 Thread Mark
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

Charset configurations for JSP pages

2005-09-20 Thread T P
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

Re: Charset configurations for JSP pages

2005-09-20 Thread Mark Thomas
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

AW: JSP 2.1 in Tomcat 6?

2005-09-19 Thread Bernhard Slominski
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

JSP 2.1 in Tomcat 6?

2005-09-18 Thread Ron Kiat
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

trying to get jsp files in my IIS directory to work

2005-09-17 Thread David Thielen
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

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-16 Thread Peter Flynn
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

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-16 Thread Peter Flynn
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]

EFBFBDEF in sample JSP class files?

2005-09-15 Thread Edward Hibbert
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.

How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Peter Flynn
-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

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Michael Lai
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

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Peter Flynn
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]

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-14 Thread KEREM ERKAN
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

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-14 Thread Peter Flynn
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

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-14 Thread KEREM ERKAN
-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

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Michael Lai
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

Struts, JSP 2.0 and Jasper2 compiler/code generation error

2005-09-13 Thread Clark Wright
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

Tomcat 5.5.9 and JSP 2.0 runtime expressions in the attribute values of JSTL 1.1

2005-09-13 Thread Seva Popov
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

RE: Tomcat 5.5.9 and JSP 2.0 runtime expressions in the attribute values of JSTL 1.1

2005-09-13 Thread Seva Popov
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

Re: Tomcat 5.5.9 and JSP 2.0 runtime expressions in the attribute values of JSTL 1.1

2005-09-13 Thread Rahul Akolkar
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

RE: Tomcat 5.5.9 and JSP 2.0 runtime expressions in the attribute values of JSTL 1.1

2005-09-13 Thread Seva Popov
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

Asking Again: What's the best way to mix html jsp

2005-09-12 Thread David Thielen
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

RE: Asking Again: What's the best way to mix html jsp

2005-09-12 Thread Allistair Crossley
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

Disabling empty-element tag generation in jsp (pre)compilation

2005-09-10 Thread Taimo Peelo
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

JSP: empty lines in HTML output

2005-09-10 Thread Eugeny N Dzhurinsky
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]

Re: Disabling empty-element tag generation in jsp (pre)compilation

2005-09-10 Thread Robert Koberg
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

Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-09 Thread Peter Flynn
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

Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-09 Thread Peter Flynn
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

Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-09 Thread Steve Dodge
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

Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-09 Thread Peter Flynn
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

What's the best way to mix html jsp

2005-09-09 Thread David Thielen
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

JSP on RHEL4 with Apache httpd RPM?

2005-09-08 Thread Peter Flynn
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

Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-08 Thread Nikola Milutinovic
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

RE: jasper jsp precompilation error

2005-09-07 Thread Ramnish Kalsi
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

Re: Another JSP precompile question (KMM140684V88743L0KM)

2005-09-06 Thread eBay Deutschland Customer Support
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

jasper jsp precompilation error

2005-09-06 Thread Aaron Phillips
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

Another JSP precompile question

2005-09-05 Thread Sonja Löhr
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

[jasper] compiling jsp in an osgi context

2005-09-05 Thread Gilles Dodinet
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

[ANN] Servlet and JSP APIs have moved to subversion

2005-09-02 Thread Mark Thomas
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/

Re: Making a Database Image Show Up on a Jsp Page

2005-08-26 Thread Philip Cote
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

Re: Making a Database Image Show Up on a Jsp Page

2005-08-26 Thread Philip Cote
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

Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Philip Cote
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

Re: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Larry Meadors
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

Re: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Edmund Urbani
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

Re: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Wade Chandler
--- 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

org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Seva Popov
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

Re: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Rahul Akolkar
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

RE: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Seva Popov
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

Re: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Rahul Akolkar
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

RE: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Seva Popov
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

Re: org.apache.jasper.JasperException using jsp expression inside the c:set /

2005-08-24 Thread Rahul Akolkar
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

Re: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Philip Cote
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

RE: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Caldarale, Charles R
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

JSP 2.1 support?

2005-08-23 Thread Jonathan Eric Miller
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]

Re: JSP 2.1 support?

2005-08-23 Thread Tim Funk
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

AW: JSP Precompilation

2005-08-18 Thread Bernhard Slominski
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

JSP-Servlet: make JspWriter to be final ?

2005-08-18 Thread Nikolay Georgiev
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

JSP Precompilation

2005-08-17 Thread Ramnish Kalsi
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

Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Gary Zhu
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

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Allistair Crossley
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

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Gary Zhu
:[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

Re: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Jon Wingfield
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

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Allistair Crossley
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

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Gary Zhu
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

RE: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Allistair Crossley
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

Re: Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9

2005-08-12 Thread Jon Wingfield
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

Configuring webapps (or, bean access in ServletContext and JSP?)

2005-08-11 Thread Richard Gaywood
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

[OT] JSP 1.2 JAR

2005-08-08 Thread Frank W. Zammetti
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

Re: [OT] JSP 1.2 JAR

2005-08-08 Thread Jon Wingfield
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   2   3   4   5   6   7   8   9   10   >