Unexpected Jasper Exception

2005-09-12 Thread A. Alonso Dominguez
Hi there! I'm developing a web application covered inside a security manager. The problem is that I left the right permissions to the commons libraries and now the jasper compiler can not initialize the tlds cache. This the exception: org.apache.jasper.JasperException: Unable to initi

Another Jasper precompile question

2005-09-07 Thread Sonja Löhr
Hi! I also use (or try to use) that tomcat-delivered jspc-task with tomcat 5.5.9. My problem is that whenever there is a character reference (like  ) in a jsp file, the compiled jsp contains nonsense at that location, and compile errors follow in javac. Is there a fix/update available or another

RE: jasper jsp precompilation error

2005-09-07 Thread Ramnish Kalsi
@jakarta.apache.org Subject: jasper jsp precompilation error 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

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

[jasper] compiling jsp in an osgi context

2005-09-05 Thread Gilles Dodinet
are javax.servlet as Import-Package (most prolly this seems to cause the issue) and jetty, jasper and related dependencies as bundled libs. Also as jasper seems to require an urlclassloader i've come up with a (pretty simple) custom urlclassloader which delegates all calls to either th

Re: Problem with Jasper-Need your help

2005-07-27 Thread Panagiotis Karvounis
lt;%= request.getParameter("testParam") %> may trow a null pointer so try > > > > > > <%= request.getParameter("testParam") == null ? "" : > > > request.getParameter("testParam") %> > > > > > > > > > Regards

Re: Problem with Jasper-Need your help

2005-07-27 Thread Panagiotis Karvounis
er("testParam") == null ? "" : > > request.getParameter("testParam") %> > > > > > > Regards > > Guru > > > > -Original Message- > > From: Panagiotis Karvounis [mailto:[EMAIL PROTECTED] > > Sent:

Re: Problem with Jasper-Need your help

2005-07-27 Thread Panagiotis Karvounis
r so try > > <%= request.getParameter("testParam") == null ? "" : > request.getParameter("testParam") %> > > > Regards > Guru > > -Original Message- > From: Panagiotis Karvounis [mailto:[EMAIL PROTECTED] > Sent: 27 July

RE: Problem with Jasper-Need your help

2005-07-27 Thread Raghupathy,Gurumoorthy
MAIL PROTECTED] Sent: 27 July 2005 13:23 To: tomcat-user@jakarta.apache.org Subject: Problem with Jasper-Need your help Hi.I am new with Tomcat and JSP and I need your help. I am trying the following simple jsp: JSP Expressions JSP Expressions Current time: <%= new java.util.Date(

Problem with Jasper-Need your help

2005-07-27 Thread Panagiotis Karvounis
Hi.I am new with Tomcat and JSP and I need your help. I am trying the following simple jsp: JSP Expressions JSP Expressions Current time: <%= new java.util.Date() %> Your hostname: <%= request.getRemoteHost() %> Your session ID: <%= session.getId() %> The testParam form parameter: <%= requ

[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

How can I using Jasper 2 JSP Engine back-compile the java file to jsp file?

2005-06-17 Thread Kingfish (Wang Yu)
I deleted all my project files by misoperation. Using the FinalDate+GoogleDesktop makes all java and xml files back. But some jsp ... ;-( Thanks In Advance

Jasper introspectHelper Error

2005-06-08 Thread Scott Dudley
I'm attempting to migrate an application from Orion to Tomcat and have encountered my first error. It is as follows: An error occurred at line: 27 in the jsp file: /index.jsp Generated servlet error: The method introspecthelper(Object, String, String, ServletRequest) in the type J

Jasper generating garbage? new String() in generated code?

2005-05-28 Thread Kevin Burton
This is another smaller issue. yields: _jspx_th_c_set_0.setValue(new String("bar")); If this is a constant string why does it need to continually call new String("bar") here? This is just going to waste CPU and cause more garbage to be generated which the GC will eventually have to

5.5.9 jasper ant compile options

2005-05-20 Thread Pfingstl Gernot
I want to compile my jsps before depolying my war, so I'm using the standalone deployer build.xml. In the web.xml (for the jsp servlet) I can set some options eg. genStrAsCharArray or trimSpaces. How can I set these compile options in the ant task? Thx Gernot -

RE: Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
PropertyMessageResourcesFactory and found that struts.jar did in fact contain this. I'm at a loss. The class is there, the JAR files in WEB-INF/lib are included in the jspc.classpath for the jasper taskdef. And I keep coming back to the fact that this works against the tomcat4 libs and not agains

Re: Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Tim Funk
odd ... yet against tomcat4, this works fine, but tomcat5, it fails. What the heck?! Is this a classloader issue?! -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 11:57 AM To: Tomcat Users List Subject: RE: Jasper throws

RE: Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
fails. What the heck?! Is this a classloader issue?! -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 11:57 AM To: Tomcat Users List Subject: RE: Jasper throws ExceptionInInitializerError?! One thing I forgot to mention - when I do turn on debug

RE: Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
l 01, 2005 11:21 AM To: tomcat-user@jakarta.apache.org Subject: Jasper throws ExceptionInInitializerError?! Good morning, I am migrating an automated build process from a Windows 2K system to a RedHat EL 3 system, with some trouble. When I run a particular build via Ant, that uses the JSP precompiling ta

Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
directory for the jasper task, the first .java file is created ... it bombs out, though, at the place in the JSP where the Struts html:html tag is first encountered. What's more frustrating, is that on the RHEL3 system, I have tomcat4 and tomcat5 installed (4.1.31 and 5.0.30). When I prov

RE: Pre-Compilation in Tomcat & Jasper

2005-02-28 Thread Sng Wee Jim
t; BV Karthik Subject: Re: Pre-Compilation in Tomcat & Jasper there is one jspc.bat in bin directory or an Ant task - JspC is available for pre compiling jsp. Using this you can compile JSP to Servlets and put it in WEB-INF/classes directory. It has parameter to generate the required web.xml mappings.

Re: Pre-Compilation in Tomcat & Jasper

2005-02-28 Thread Antony Paul
classes into org.apache.jsp. rgds Antony Paul On Mon, 28 Feb 2005 12:25:46 +0530, BV Karthik <[EMAIL PROTECTED]> wrote: > Hi, > > Is there anything in Tomcat which will pre-compile our JSP's? > What jasper has to do with Tomcat? > Pls help. Thanks in advance.

Pre-Compilation in Tomcat & Jasper

2005-02-27 Thread BV Karthik
Hi, Is there anything in Tomcat which will pre-compile our JSP's? What jasper has to do with Tomcat? Pls help. Thanks in advance. Regards, Karthik BV - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Jasper 2 problem with core taglibs in 5.5.7?

2005-02-16 Thread David Kennedy
David Kennedy wrote: Remy Maucherat wrote: On Wed, 16 Feb 2005 16:40:25 +, David Kennedy <[EMAIL PROTECTED]> wrote: I have a Ant build which includes pre-compilation of JSPs. This has been working happily during prototyping with Tomcat 5.5.4, but has broken now that we have moved to Tomcat 5.5.

Re: Jasper 2 problem with core taglibs in 5.5.7?

2005-02-16 Thread David Kennedy
Remy Maucherat wrote: On Wed, 16 Feb 2005 16:40:25 +, David Kennedy <[EMAIL PROTECTED]> wrote: I have a Ant build which includes pre-compilation of JSPs. This has been working happily during prototyping with Tomcat 5.5.4, but has broken now that we have moved to Tomcat 5.5.7 [snip] http://issue

Re: Jasper 2 problem with core taglibs in 5.5.7?

2005-02-16 Thread Remy Maucherat
On Wed, 16 Feb 2005 16:40:25 +, David Kennedy <[EMAIL PROTECTED]> wrote: > Hi folks, > I have a Ant build which includes pre-compilation of JSPs. This has been > working happily during prototyping with Tomcat 5.5.4, but has broken now > that we have moved to Tomcat 5.5.7 as the latest stable bu

Jasper 2 problem with core taglibs in 5.5.7?

2005-02-16 Thread David Kennedy
Hi folks, I have a Ant build which includes pre-compilation of JSPs. This has been working happily during prototyping with Tomcat 5.5.4, but has broken now that we have moved to Tomcat 5.5.7 as the latest stable build, which worries me a lot. The error I get during the build is: org.apache.jasper

jasper: PageContextImpl.include(String, boolean) method blocks?

2005-02-03 Thread A B
I'm using Tomcat 5.0.28 and WindowsXP. The PageContext.include(String, boolean) method seems to just block in the Jasper impl (goes off into never never land) irrespective of whether I pass true or false as the second argument. Can someone confirm this? If someone has encountered this b

Jasper extension

2005-01-14 Thread Heath Borders
Is Jasper designed so that it could be used to compile JSP files into other contexts? I am a MyFaces developer (we are in the incubator right now, but will soon be moving to a top-level). Currently, development and maintanence of custom JSF tags is pain for the same reasons that development of

RE: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-05 Thread Jerry Rodgers
Sunday, December 05, 2004 3:46 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions "Jerry Rodgers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Oh so close :> I thought you had it. Now my Tomcat

Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-05 Thread Bill Barker
om: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker > Sent: Saturday, December 04, 2004 12:17 PM > To: [EMAIL PROTECTED] > Subject: Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from > evaluting > JSTL expressions > > Try: > <[EMAIL PROTECTED] isELIgnore

RE: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-04 Thread Jerry Rodgers
IL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, December 04, 2004 12:17 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions Try: <[EMAIL PROTECTED] isELIgnored="true" %> "Jerry Rodgers" <[EMAIL

Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-04 Thread Bill Barker
Each tag is actually the .toString() version of my > collection. This appears to be because the servlet code generated by > Tomcat > - Jasper actually evaluates the expression and then use the coerce to > string > on my collection. I was under the impression that the generated jsp code > s

Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-04 Thread Jerry Rodgers
Hi, I am having a problem where the parameter this is passed to my setItems() method of the jstl forEach tag is actually the .toString() version of my collection. This appears to be because the servlet code generated by Tomcat - Jasper actually evaluates the expression and then use the coerce

Tomcat 5.0.28 Jasper compiler error SimpleMenuItem?

2004-12-01 Thread Jerry Rodgers
my JSP looks like this (jstl tags - partial): my tiles def looks like this (partial): and the generated servlet code looks like this - Is Jasper not compiling this correctly??? _jspx_th_core_when_0.setTest((java.lang.S

Jasper SMAP and JSP<->Java line info

2004-11-29 Thread Tonis
Hi! I'm trying to use jasper for converting jsp-s to java to run some java seach on jsp. For that I need exact java element position in JSP(line nr, column number). In some old jasper version there was JspLineMap and JspLineMapItem classes and I could get linemap for jsp from ServletW

Jasper and Axis

2004-11-15 Thread Daniel Herbison
I'm using Axis to connect to some soap services but when I try to instantiate the locator from a JSP I get the exception: // Axis locator call CoiDWACLApiServiceLocator coiDWLocator = new CoiDWACLApiServiceLocator(); I get: org.apache.jasper.JasperException at org.apache.jasper.servle

Precompiling jsps in different directories does not produce right servlet mappings (jasper issue)

2004-11-03 Thread Shweta Agarwal
Hi all, I have tried to google to find solution to my problem, but had no luck, and thus I am writing to this list. Also, I tried to search through archives and did not hit on any solution yet. I am using these two tasks (shown at the end of this email) in the ant file with Tomcat version 4.1.31 f

Re: jasper error compiling jsp

2004-10-26 Thread Sarath PS
thanks for your replay. But i am using linux ! No i got what went wrong. Actually it a Java Error.  When we use classes with out package in jsp file, Jasper will create import statement with out class name. If we are using jdk1.4 it will through error since after 1.4 Java is more strict about

RE: jasper error compiling jsp

2004-10-22 Thread Steve Kirk
2:55 > To: 'Tomcat Users List' > Subject: RE: jasper error compiling jsp > > > Scroll down to point 8 under "Incompatibilities Between Java > 2 Platform, > Standard Edition, v1.4.0 and v1.3", read the second bullet. > This confirms > Alan's c

RE: jasper error compiling jsp

2004-10-22 Thread Steve Kirk
rum=31&message=2145193 > &forum=31&message=2145193 -Original Message- From: Flisch, Alan [mailto:[EMAIL PROTECTED] Sent: Friday 22 October 2004 12:23 To: Tomcat Users List Subject: RE: jasper error compiling jsp I wouldn't think so. The changes necessary to the app are

Re: jasper error compiling jsp

2004-10-22 Thread Sarath PS
l, although you never know what else might be lurking in there. -Original Message- *From:* Sarath PS [mailto:[EMAIL PROTECTED] *Sent:* 22 October 2004 11:06 *To:* Tomcat Users List *Subject:* Re: jasper error compiling jsp Thanks alan, So you say it's not

RE: jasper error compiling jsp

2004-10-22 Thread Flisch, Alan
I wouldn't think so.  The changes necessary to the app are likely to be pretty trivial, although you never know what else might be lurking in there. -Original Message-From: Sarath PS [mailto:[EMAIL PROTECTED]Sent: 22 October 2004 11:06To: Tomcat Users ListSubject: Re: j

Re: jasper error compiling jsp

2004-10-22 Thread Sarath PS
rgiving at some point. I think getting the application fixed somehow, is your best option. -Original Message- From: Sarath PS [mailto:[EMAIL PROTECTED]] Sent: 22 October 2004 09:43 To: Tomcat Users List Subject: Re: jasper error compiling jsp hi, Thanks for the replay . But t

RE: jasper error compiling jsp

2004-10-22 Thread Flisch, Alan
t: 22 October 2004 09:43 To: Tomcat Users List Subject: Re: jasper error compiling jsp hi, Thanks for the replay . But this not an application i develop. I just want to deploy it on my tomcat. It seems the app is developed for some other container. Is there any work around to run it on t

Re: Sv: jasper error compiling jsp

2004-10-22 Thread Sarath PS
hi, Thanks for the replay . But this not an application i develop. I just want to deploy it on my tomcat. It seems the app is developed for some other container. Is there any work around to run it on tomcat ? regards, Sarath PS Roland Carlsson wrote: Hi! I'm not sure but I don't think you

Sv: jasper error compiling jsp

2004-10-22 Thread Roland Carlsson
Hi! I'm not sure but I don't think you can import classes from the root-level. Try to create a package and then import mypackage.Account; Or import mypackage.*; Regards Roland Carlsson Den 04-10-22 09.03, skrev "Sarath PS" <[EMAIL PROTECTED]>: > hi all , >I get an an error l

jasper error compiling jsp

2004-10-22 Thread Sarath PS
hi all , I get an an error like this. org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file /usr/java/tomcat-5.0.25/work/Catalina/localhost/qwe/org/apache/jsp/inde

Re: Jasper compilation of included files

2004-10-15 Thread Dave Minter
On Fri, 15 Oct 2004 14:11:54 +0200, Michael Schuerig <[EMAIL PROTECTED]> wrote: > On Friday 15 October 2004 13:52, Dave Minter wrote: [snip] > > I've given JSP segments (fragments) a .jspf extension and that does the > trick for me. See the spec JSP.1.1.8. > > Michael And indeed that seems to wo

Re: Jasper compilation of included files

2004-10-15 Thread Michael Schuerig
On Friday 15 October 2004 13:52, Dave Minter wrote: > I'm trying to get Jasper to pre-compile my JSP pages. I've got an Ant > task (swiped from the manual) kicking this off, and it works pretty > well up to a point. However... > > This application has a number of pages

Re: Jasper compilation of included files

2004-10-15 Thread Tim Funk
File A should *not* be called fileA.jsp. It should be called fileA.jspf An added advanatage is you know what what all your incoded fragment files are by looking at the file name. -Tim Dave Minter wrote: I'm trying to get Jasper to pre-compile my JSP pages. I've got an Ant task (swipe

Jasper compilation of included files

2004-10-15 Thread Dave Minter
I'm trying to get Jasper to pre-compile my JSP pages. I've got an Ant task (swiped from the manual) kicking this off, and it works pretty well up to a point. However... This application has a number of pages that are built out of JSP fragments. Something like this: <% St

Jasper Exception unable to rewrite URL

2004-09-20 Thread Sebastian Ho
Hi I have this error when running my JSP. Any advise? javax.servlet.ServletException: Cannot create rewrite URL: java.net.MalformedURLException: You must specify exactly one of "forward", "href", "page" or "action" Thanks Sebastian Ho --

Re: jsp:useBean problem (bug?) with Jasper

2004-09-13 Thread Michiel Toneman
Just replying to myself here, upgrading to 5.0.28 solved the problem. If anyone else is having this problem with 5.0.25, please note that the jasper that comes with that release is 'borken'. Sing with me: happy, happy, happy, joy, joy, joy Michiel Michiel Toneman wrote: We are us

Re: Jasper JSP Loading

2004-09-05 Thread Viktor Malytskyy
Hi! I guess the only way is this: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/resources.html Regards, Viktor On Sun, 05 Sep 2004 09:14:41 +0200, Massimo Ferrari <[EMAIL PROTECTED]> wrote: > Hello, > what is the best way (if there is one) to make Jasper Load JSP sour

Jasper JSP Loading

2004-09-05 Thread Massimo Ferrari
Hello, what is the best way (if there is one) to make Jasper Load JSP sources from a database? Thank you Massimo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Shapira, Yoav
Hi, >So the niglies are not 5.0 branch, they are 5.5. Yup, nightlies are always built from CVS HEAD, which is the latest 5.5 stuff. If someone wanted to do a "latest 5.0" build they'd use the TOMCAT_5_0 CVS branch, not HEAD. Yoav This e-mail, including any attachments, is a confidential bus

Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Vic
Shapira, Yoav wrote: Hi, How many times do I have to post this? ;) 5.5.1 is NOT AVAILABLE YET. It's looking like I'll cut it Tuesday. A. OK! Nightlies are available at the usual place, http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/, but they're "use at your own risk" of course. Note

RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Shapira, Yoav
PROTECTED] >Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues >(jasper, ROOT, jndi, logging)) > >That is 5.5.0. >But 5.5.1 has bug fixes, where is that? >And where can I get the 5.5.x nighlies? > >tia, >.V > > >Shapira, Yoav wrote: >

Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Vic
:[EMAIL PROTECTED] On Behalf Of Vic Sent: Friday, September 03, 2004 6:53 AM To: [EMAIL PROTECTED] Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)) Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this

RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Shapira, Yoav
ect: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues >(jasper, ROOT, jndi, logging)) > >Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? >They are not here, this looks like the 5.0 brach. >http://cvs.apache.org/builds > >Where can I get

Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Vic
Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this looks like the 5.0 brach. http://cvs.apache.org/builds Where can I get the new 5.5s from? Do I have to go to cvs and build? tia, .V Vic wrote: Yes, but where? What URL? (the commons download link I think

Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Vic
Yes, but where? What URL? (the commons download link I think is for the 5.0 trunk? or is that 5.5?) .V ps: Thax tomcat team on very nice product! Remy Maucherat wrote: On Thu, 02 Sep 2004 11:52:48 -0500, Vic <[EMAIL PROTECTED]> wrote: Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since th

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Shapira, Yoav
PM >To: Tomcat Users List >Subject: Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) > >On Thu, 02 Sep 2004 11:52:48 -0500, Vic <[EMAIL PROTECTED]> wrote: >> Where can we get 5.5.1? Or 5.5 nightlies? > >Don't worry: since this is heavy development mode, new bina

Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Remy Maucherat
On Thu, 02 Sep 2004 11:52:48 -0500, Vic <[EMAIL PROTECTED]> wrote: > Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since this is heavy development mode, new binaries are going to be released often (unless Yoav doesn't have time to do the releases). -- x Rémy Mauc

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Shapira, Yoav
Message- >From: Allistair Crossley [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 02, 2004 12:07 PM >To: Tomcat Users List >Subject: RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) > >yes, TC 5.5 needs Java 5.0 SDK. Remy also suggested privately that this >must be the c

Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Vic
ssage- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 12:05 PM To: Tomcat Users List Subject: RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) Did you change the jdk (vendor/version) ? As this looks more like an error message that's generated by the jav

Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Remy Maucherat
On Thu, 2 Sep 2004 12:05:13 -0400, Shapira, Yoav <[EMAIL PROTECTED]> wrote: > > Hi, > Well, Tomcat 5.5 uses the Eclipse JDT compiler for JSPs. I think we > mistakenly treat the compiler warnings as errors in 5.5.0, and Remy's > fixed it for 5.5.1. Right, it's fixed now. Thanks for the testing.

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
:p cool, thanks Remy! ADC > -Original Message- > From: Remy Maucherat [mailto:[EMAIL PROTECTED] > Sent: 02 September 2004 17:01 > To: [EMAIL PROTECTED] > Subject: Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) > > > On Thu, 2 Sep 2004 16:41:14 +0100, Alli

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Shapira, Yoav
CTED] >Sent: Thursday, September 02, 2004 12:05 PM >To: Tomcat Users List >Subject: RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) > > >Did you change the jdk (vendor/version) ? > >As this looks more like an error message that's generated by >the java compiler (jv

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
yes, TC 5.5 needs Java 5.0 SDK. Remy also suggested privately that this must be the cause, that the warnings given by the compiler are being interpreted by Jasper as exceptions... "About that, I think it's that the warnings are reported as issues by the compiler, and so Jasper

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Ralph Einfeldt
o: Remy Maucherat; [EMAIL PROTECTED] > Subject: RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) > > > As regards the JasperException, I have just placed an unused > package import to org.apache.struts back into my error page > so that I can post it to you; > > org.apache.

Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Remy Maucherat
On Thu, 2 Sep 2004 16:41:14 +0100, Allistair Crossley <[EMAIL PROTECTED]> wrote: > Hi Remy, > > > > > > 1/ Jasper has an issue with JSP page imports where the > > > > imported packages are not used. This is throwing an exception. > > >

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
) > -Original Message- > From: Remy Maucherat [mailto:[EMAIL PROTECTED] > Sent: 02 September 2004 16:15 > To: Allistair Crossley > Subject: Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) > > > On Thu, 2 Sep 2004 15:11:38 +0100, Allistair Crossley > <[EMAI

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
Hi Remy, > > > > 1/ Jasper has an issue with JSP page imports where the > > > imported packages are not used. This is throwing an exception. > > > > > > Did you look at the generated source ? > > > > No, I just removed the imports from my JS

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Jacob Kjome
Quoting Allistair Crossley <[EMAIL PROTECTED]>: > > > 4/ The logging suggestion at > > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/logger. > html did not work for me. I have log4j.properties in my webapp classes ... > does this override any other log4j config like in this example? > >

Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Jonathan Eric Miller
I ran into the same issue with DBCP and JNDI. Jon - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 02, 2004 8:32 AM Subject: TC 5.5 - 4 issues (jasper, ROOT, jndi, lo

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
> > 1/ Jasper has an issue with JSP page imports where the > imported packages are not used. This is throwing an exception. > > Did you look at the generated source ? No, I just removed the imports from my JSP that it was complaining about and it went away. Would you like me t

Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Remy Maucherat
On Thu, 2 Sep 2004 14:32:18 +0100, Allistair Crossley <[EMAIL PROTECTED]> wrote: > Hi Guys > > Decided to give TC 5.5 / JDK 5 B2 a whirl today with our web application on my local > machine and am having some teething troubles; > > 1/ Jasper has an issue with JSP page im

TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
Hi Guys Decided to give TC 5.5 / JDK 5 B2 a whirl today with our web application on my local machine and am having some teething troubles; 1/ Jasper has an issue with JSP page imports where the imported packages are not used. This is throwing an exception. 2/ Had the error mentioned earlier

RE: Problems with Jasper and ojspc

2004-08-13 Thread Shapira, Yoav
Hi, Tomcat 4.x implements the Servlet Specification v2.3 and the JSP Specification v1.1. It's not guaranteed that code produced on Jasper on Tomcat 4.x will run on a servlet container that doesn't support those specification versions. Yoav Shapira Millennium Research I

Problems with Jasper and ojspc

2004-08-13 Thread Edson Alves Pereira
( linux ), the specification Servlets 2.2, but OAS cannot run a Jasper pre-compiled page ( even a very simple Hello World ). Doe anyone here know why? Regards, Edson

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Sternbergh, Cornell
. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 10:57 To: Tomcat Users List Subject: Re: jasper exception in jsp -- please help.. Cool. I would never have suspected missing tags to cause that error. Glad to help. --David Shilpa

Re: jasper exception in jsp -- please help..

2004-07-28 Thread David Smith
28, 2004 10:33 AM To: Tomcat Users List Subject: Re: jasper exception in jsp -- please help.. Well... worth a shot. This appears to be the stock, standard application.properties file. Got me. I even ran this snippet through an XML validator and other than missing ... around the row for lastname

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Shilpa Nalgonda
yeah, that helped just by adding closing html and missing tags...thanks for ur help. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 10:33 AM To: Tomcat Users List Subject: Re: jasper exception in jsp -- please help.. Well... worth a shot

Re: jasper exception in jsp -- please help..

2004-07-28 Thread David Smith
BillingInfo.lastName=Last Name === -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 10:02 AM To: Tomcat Users List Subject: Re: jasper exception in jsp -- please help.. Hmm the jsp appears

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Shilpa Nalgonda
ist Subject: Re: jasper exception in jsp -- please help.. Hmm the jsp appears to be alright. What's in your application.properties file for properties used in the tag? Shilpa Nalgonda wrote: >org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol >expected > >

Re: jasper exception in jsp -- please help..

2004-07-28 Thread David Smith
Hmm the jsp appears to be alright. What's in your application.properties file for properties used in the tag? Shilpa Nalgonda wrote: org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol expected I am getting the above error, i am using struts tags in my BillingInfo.jsp. Be

RE: jasper exception in jsp -- please help..

2004-07-28 Thread Shilpa Nalgonda
org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol expected I am getting the above error, i am using struts tags in my BillingInfo.jsp. Below is my BillingInfo.jsp... <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" pr

obtaining Jasper errors

2004-07-19 Thread Jason Novotny
Hi, Sometimes when I include a JSP file like so: try { getServletConfig().getServletContext().getRequestDispatcher(jsp).include(request, response); } catch (Exception e) { log.errror("Unable to include JSP"); } I get an error during JSP page compilation or including and the error is us

Jasper XML encoding support

2004-07-19 Thread Zog TheBogue
Hi I'm using tomcat-4.1.30 on a Japanese windows machine. I believe I found a problem with the way XML JSP syntax is handled in Jasper. It seems the 'encoding' attribute in the In org.apache.jasper.compiler.ParserController#figureOutJspDocument() there is this comment: //

Re: <%@ include %> files and Jasper/Ant

2004-07-08 Thread simon colston
Filip Hanik - Dev wrote: This is an ant script I wrote to precompile JSPs for tomcat, http://cvs.apache.org/~fhanik/precompile.html I have an ant script very similar to this but it does not report JSP errors in the same way as when compiled under tomcat. Is there any way to get jasper to

Re: <%@ include %> files and Jasper/Ant

2004-07-08 Thread Robert Hunt
Thanks Layton. Makes sense. Looking back now, when I read the Jasper How-to page (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html) the implication (at least, how I comprehended it) was that Jasper would produce the "same output" including the seemingly prescient

RE: <%@ include %> files and Jasper/Ant

2004-07-08 Thread Berry, Layton
. Try giving FileB.jsp a different extension. Layton >-Original Message- >From: Robert Hunt [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 08, 2004 11:28 AM >To: [EMAIL PROTECTED] >Subject: <%@ include %> files and Jasper/Ant >Importance: High > > >I&#x

Re: <%@ include %> files and Jasper/Ant

2004-07-08 Thread Robert Hunt
stion remains: How do Jasper/Ant running behind the scenes under the Tomcat webserver know *NOT* to emit (and thus compile) the dependent files? And why would Jasper/Ant running standalone (I'm using Ant 1.6.1 as-is from the .ZIP distribution) NOT produce s

Re: <%@ include %> files and Jasper/Ant

2004-07-08 Thread Filip Hanik - Dev
lt;[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 2:27 PM Subject: <%@ include %> files and Jasper/Ant > I'm trying to use Ant (in stand-alone fashion) to build a set of JSPs. The > JSPs compile, execute and serve up HTML fine when compiled under Tomcat > 5.0.25; only

<%@ include %> files and Jasper/Ant

2004-07-08 Thread Robert Hunt
en requested through the Tomcat web server, only FileA_jsp.java and FileA_jsp.class are created. However, when I run Ant (or JspC) from the command line (using the sample from "http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html#Web Application Compilation" for build

jsp:useBean problem (bug?) with Jasper

2004-06-25 Thread Michiel Toneman
o-argument constructor. If I remove the constructor from the Bean, the JSP can be compiled normally. If I use the jasper-compiler.jar from 5.0.19 instead of the one that comes with 5.0.25, everything compiles normally. Am I right to conclude that this is a bug in jasper-compiler? Michiel Ex

RE: Tomcat compile vs. jspc/jasper compile (was: 0 length .java files generated by jspc?)

2004-06-04 Thread Shapira, Yoav
n't know, you'd have to look through the JSPC code (it's in the jakarta-tomcat-jasper CVS module). Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e

RE: Tomcat compile vs. jspc/jasper compile (was: 0 length .java files generated by jspc?)

2004-06-03 Thread Jason Palmatier
o precompile it and it > keeps > >failing. > > Your assumption is correct. You can add debug-level > logging to the > org.apache.jasper package to see exactly what it > does. If you're unsure > about configuring tomcat's logging, see > http://jakarta.apache

  1   2   3   4   >