IOException: Stream closed error when using custom tags

2004-04-15 Thread shanmugampl
Hi All, I have a custom tag, which iterates through a data and provides a url to be included during every iteration. When i display the url as a string, everything works fine. But when i try to include it through the tag i am getting the following error. java.io.IOException: Stream closed

Removing a value from a map present in Session

2003-08-11 Thread shanmugampl
Hi, I have a map in session scope which contains an entry with key "name". I want to remove that entry from the map <%= ((Map)session.getAttribute("map")).remove("name") %> How do i achieve this in jstl el ? Thanks Shanmugam PL ---

Utility tags.

2003-07-17 Thread shanmugampl
Hi All, Jakarta previously had utility tags for displaying the source of a Jsp page in a Web Client. Now this set of tags have been deprecated. Can any one tell me where i could find alternate tags. I tried downloading the deprecated version. But it led to a File Node Found exception. Ca

expressions or Jstl tags, which is better

2003-07-16 Thread shanmugampl
Hi, I am using Jstl and I also have some own tags. The out put of my tags are some variables. Which one of these methods is best to expose these variables 1. To give them as TEI variables in a separate class 2. Use them directly in the jsp page using the I am interested in knowing which

[Fwd: Having an expression in an set tag]

2003-07-05 Thread shanmugampl
--- Begin Message --- Hi All,        I used to construct a link as follows <% String link = request.getRequestURL() + "?nodeclicked=" + NODEID + "&firstChild=true"; %>        I want to replace this with the set tag. I tried it as follows Grtting an Error while using forEach tag
Dear All, I am using forEach tag for iterating over an ArrayList present in the session scope. The code I have used is -- -- When i execute this page I get the following error An error occurred while evaluating custom action attribute "items" with value "${TREE-IMAGES}"

are there any tld converter

Hi, I am developing some custom tags and want to validate them using the Tagunit framework. The problem is that my tags are of 1.1, but tagunit supports only version 1.2. I have more than 5 tld files and changing them to the latest version is difficult. Is there any tool which converts a

Issue in giving runtime expression for custom tag attributes

Hi All, I am developing some custom tags for my application. For one of my tag attributes i have the rtexprvalue set to true. The following scenario does not work Usage: <% String userName = "Shan" %> When i see the generated code, the value for userName is not replaced, and the who

General question about Custom Tags

Dear All, I am using Tomcat 4.1.10. I am in the process of developing jsp pages using some of our own custom tags. For this i have copied the required jars into my application context and put the tld files in the META-INF directory. Everything works fine. Similar to this application I have