Questions tagged [taglib]

TagLibs is a shortened form of "Tag Libraries". Tag Libraries are libraries that include "tags". Tags are usually used to address presentation concerns and encapsulate view-specific logic.

TagLibs is a shortened form of Tag Libraries. Tag Libraries are libraries that include tags. Tags are usually used to address presentation concerns and encapsulate view-specific logic.

Taglibs usually contain tags that encapsulate different kinds of view components (for example, data grids or form elements). These tags can also contain view-specific logic that allows for binding of server-side values to client-side form elements. Some taglibs also contain tags that can be used for logging or for security (authentication).

960 questions
-1
votes
1 answer

How to change BitsPerSample of wav file using Taglib#?

I have sample wav file.I want to change BitsPerSample of it. I have tried with Taglib#. I have changed source code of taglib to make BitsPerSample editable. it's showing as changed in file.Properties.BitsPerSample Field while debugging but when I…
-1
votes
1 answer

servlet insde a JSP

I am working in Spring Framework MVC application with WebLogic server. I am using jstl 1.2. and I have a custom taglib created by me. I have created the below Tag: public class DisplayImageTag extends SimpleTagSupport { private…
Amadeu Cabanilles
  • 913
  • 3
  • 19
  • 47
-1
votes
1 answer

Get all property names from a custom tag

I have this two custom tags in my JSP - gf,ctag : This code works fine and puts in a tooltip the value of property name. What I need to do is to get the…
Andrei Maieras
  • 696
  • 5
  • 15
  • 34
-1
votes
1 answer

Use jstl core as a local resource

I would like to download those libraries and import them from the computer to the application. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib…
user4676340
-1
votes
1 answer

Grails custom tag library out multiple lines

I am making a custom tag library in which I have to output html contents to the view using tag library. And we can output the contents like- def globalCSS = { attrs, body -> out << '' out << '
Chetan
  • 1,707
  • 10
  • 17
-1
votes
1 answer

Taglib flac Cover

Hi when I try to get the album cover from a flac file using Taglib I get this error Index was outside the bounds of the array. Even though I know that the flac file contains an image. I'm using this code: TagLib.File f = TagLib.File.Create(path);…
Kyeman
  • 57
  • 1
  • 5
-1
votes
1 answer

JSP/JSTL Error in Eclipse - Undefined attribute name

Servlet code snippet: // check/get session HttpSession session = request.getSession(); ArrayList transactions = (ArrayList)session.getAttribute("transactions"); ..... // set session session.setAttribute("transactions",…
Justin Heist
  • 13
  • 1
  • 2
-1
votes
1 answer

Which design pattern should I use for my custom JSP tag to report an error

I am writing some custom tags in a tag library (Java, not JSP snippets). Some of them depend on backend services to return data. Given that the tags will be used by other developers, I would like to help them as much as possible if, for example,…
Vihung
  • 12,947
  • 16
  • 64
  • 90
-1
votes
1 answer

Build-in Grails tags do not work

During grails application upgrade from 1.3.8 to 2.3.9 I run into the problem that grails build-in tags are ignored. For example lets say that GSP page has two tags: OK then the result of…
-1
votes
3 answers

What code executes when I use JSTL?

When I develop jsp pages I use jstl. For example I use same constructions ... ${object.name} ... I know that prefix c defines when I make include page. For c prefix: <%@ taglib…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
-1
votes
1 answer

jsf - el function with bean

Hi i can define functions like this for el: areAllGranted org.springframework.faces.security.FaceletsAuthorizeTagUtils boolean…
wutzebaer
  • 14,365
  • 19
  • 99
  • 170
-1
votes
1 answer

Should I code with no servlets?

I am working on a study project. There is JDBC. I do know that JSP translates to a servlet. I see that I can avoid almost all the servlets using JSP taglibs, EL... Should I do that?
chicout
  • 937
  • 7
  • 16
-2
votes
1 answer

TagLib crashes when destructing TagLib::File and couldn't close opened TagLib::File

I am trying to make a music player using TagLib library (1.11.1) in Qt5 C++. I opened multiple files and read tags. And I encountered with two difficulties. After opening a file and reading the tags I couldn't close the file and deallocate memory…
-2
votes
1 answer

why file "web.xml" has useless

Why file "web.xml" has useless ? Now I use tomcat 7 and surprisingly finding out I can use taglib in web.xml,but when I finally know what it means,I really think it useless. I want tomcat design in this way,if I configure taglib in web.xml…
Sibling
  • 1
  • 2
-2
votes
1 answer

Metadata of audio file

hi all i am extracting metadata of an audio file using Taglib library . i am getting many fields properly but not able to extract name of source device by which the audio file has been created. Please suggest any way to get out of it. Code used is…
Luky
  • 5
  • 5
1 2 3
63
64