Tim Puchala | 27 Oct 11:14
Picon
Favicon

JSTLExamples NetBean Sample Project

I’m trying to run explore SQL Tags section of the sample project provided by NetBeans called JSTLExamples
I changed the database url to use sample rather than the default jstl-sample because that is the databes in
the Services pane under Databases. The schema is APP and the user is app.
I used app and app for user and password.
I am getting an SQLException when executing the QueryIterate option (first on the page).
The description of the exception is “No suitable driver found for jdbc:derby://localhost:1527/sample;create=true
I have tried adding the jar file derbyclient.jar to the project library, but this doesn’t correct the error.
I would have thought the project shouldn’t need tweaking like this anyway if it’s a sample project
provided by Netbeans.
Any ideas, anybody?
Florian Kirchmeir | 6 Oct 17:19
Favicon

standard-1.1.3 Bugfix release?

Hi Devs!

Will there ever be any further 1.1.x releases of the standard JSTL library?
It's almost 7 years now since the last stable release, and there are some bufixes (like
https://issues.apache.org/bugzilla/show_bug.cgi?id=31789) sitting there that would be most welcome.
Unless there will be a stable 1.2 release the other day, I'd really appreciate another 1.1.x tag!

Best regards,
Florian Kirchmeir
Tony Anecito | 30 Jun 16:56
Picon
Favicon

Taglib and Tomcat 6 & 7

Hi All,

I was wondering for Tomcat 6 & 7 is the taglib support those versions since the 
support stopped at servlet spec 2.4 and Tomcat 6 is servlet 2.5.

Thanks,
-Tony
Paramjeet Singh Bawa | 22 Jun 12:09
Picon

Getting error during the compilation of JSP tag library using Jasper compliler of Tomcat.

Hi List,

I am trying to shift my project from Resin to Tomcat 7. Everything goes fine during deployment. But when I try
to access JSP page it is giving me SEVERE Error as follows.

Error details:
[jasper] Jun 22, 2011 2:32:19 AM org.apache.jasper.xmlparser.MyEntityResolver resolveEntity
      [jasper] SEVERE: Invalid PUBLIC ID: -//Sun Microsystems, Inc.//DTD JSP Tag Library

JSP Detail : (inside my application)
      <%@ taglib uri="http://www.myCompany.com/tld/paf/rswitch" prefix="rs" %>
      ...

TLD file paf-rswitch.tld (can't change, Code freeze belongs to other project)
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library"
                 "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
...

This tld is present inside a jar META-INF/tlds folder.

Here is some more detail about my environment :
Tag lib version : 1.0
JSP version 1.2
Tomcat : 7.0.14
JDK : 1.6_14

This will be great help if someone could help me in this issue.

I saw the jasper implementation of MyEntityResolver, it try to match the Cached Public id with supplied
(Continue reading)

Jonathan_Whitall | 3 May 19:06
Favicon

Jonathan Whitall is out of the office


I will be out of the office starting 05/03/2011 and will not return until
05/04/2011

HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at (312)
653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
Oklahoma; or (972)766-6900 in Texas.
Jake Swartwood | 3 May 18:33
Picon
Gravatar

I have a patch to add encode/decode to extended...

Where/how should I submit this?
Ferindo Middleton | 3 Sep 05:32
Picon

[email] Dynamic attachments in mailer taglib 2 using JavaBean

I've written a javabean that connects to a database, downloads a file,
and one of the getter methods returns the complete file path to the
file.

The problem I have is: when the JSP runs and gets to the part where it
gets the file path to pass to the taglib, I get an error message that
is typical of a reference to a nonstatic variable. This concerns me as
I thout getter methods in javabeans would inherently returns values
that are valid instance variables in a JSP.

I will paste my getter method below, the JSP call to that method and
the error message below: any guidance is welcome. Thank you:

Getter method in jsvabean (javabean compiles fine):

                public String getTempFilePath() {
                    this.downloadedfilename=tempFilePath;
                    return this.downloadedfilename;
                  }

JSP call to getter method above:

        <jsp:useBean id="getFilePath" scope="request"
        class="hall.RadTicketsFileDownloadForEmailAttachmentBean">
   <jsp:setProperty name="getFilePath"
      property="fileId"
      value="${all_attachments_for_this_ticket_row.id}" />

           <jsp:setProperty name="getFilePath"
      property="originalFileName"
(Continue reading)

Ferindo Middleton | 22 Aug 23:29
Picon

Mailer taglib: dynamic file attachments

I'm using the old Mailer Taglib (
http://jakarta.apache.org/taglibs/doc/mailer-doc/). Because the mailer tag
only provides a means to provide a path to the file, I'm trying to code it
so it dynamically attaches an attachment that was downloaded via a servlet I
wrote. The servlet retrieves the file from a database, downloads it, and
then my plan is to simply provide the the path to the JSP via the servlet.
I'm having difficulty embedding the servelt into the JSP page so I can throw
the path argument to the file property of the mailer tag.

Does anyone know what happened to the Mailer 2 taglib? I tried downloading
the svn (
http://svn.apache.org/repos/asf/jakarta/taglibs/deprecated-sandbox/mailer2/trunk/)
and building it using ant but I get an error message which appears to mean
the svn isn't finished because  ant says it can find files and I don't see a
.tld file in that svn either.

The mailer tag is working for me, I just need a way to get dynamically
created attachments embedded.
--

-- 
Ferindo
Picon

New taglib to script JSP pages in languages other than Java

Hello,

as I haven't posted here before, I hope I won't make a mistake by
posting to both of these lists. IMHO, this announcement is relevant to
both communities.

This is to inform the taglibs-user and tomcat-dev communities of a
small new taglib which allows to script JSP pages in languages other
than Java. Scriptlets and expressions using the taglib have access to
the same implicit objects normal JSP scriptlets have access to.
Internally, the taglib only depends on the javax.script interface
defined as part of JSR-223 and included in Java 6 onwards, although it
can also work with other implementations of javax.script on earlier
version of Java (such as, for instance, Bean Scripting Framework 3).
So for people who want to include scripts in their JSP pages, any
scripting language that exposes a javax.script interface can be used.

Given the nature of the project, and the existence of partial
alternatives at least for some languages (such as Quercus/Resin), I
expect interest to be quite small (if any), but if there's any
interest it could be included in the newly re-organized "Extended"
Taglib. Ideally, I would want Tomcat to support this kind of
functionality natively via the language attribute of the page
directive, but the taglib at least offers a simpler and
container-independent solution.

Source code can be found at:
http://stani.ryabenkiy.com/downloads/releases/script-taglib-1.0.tar.gz
The related thesis paper (with source code in appendix):
http://stani.ryabenkiy.com/downloads/papers/scripting_thesis.pdf
(Continue reading)

Adam Gordon | 13 Jul 20:41
Picon
Gravatar

Location of new Extended Taglibs project

Hi, I'm seeing through countless Google searches that the taglibs project
has been retired and an extended one created and moved to Tomcat.  However,
I cannot find a link to the new project anywhere and no amount of searching
on the Tomcat project page has been fruitful.  Any help/links would be
welcome.  Thanks.

--adam
Jeremy Boynes | 27 Jun 02:17
Picon
Favicon

JSTL 1.2 and JCP approval

On 11 Mar 2010, Henri Yandell wrote:
> It's not been tested against the TCK, primarily because:
> 
> a) there were a few things I wanted to dig into prior to trying testing and,
> b) running a TCK was not a simple task when I looked into it.

I would be interested in helping to run taglibs through the TCK; I have some experience with them from my time
with Geronimo.

What kind of things were you looking to dig in to or do you know still need to be done?

Gmane