1. JSP in OSGi: How to load TLD from bundles? stackoverflow.comWe're building a JSP web application, which runs inside the Apache Felix OSGi container (the web app itself is a OSGi Bundle). Now, we're facing the following problem: According to the JSP ... |
2. How to get the value of a directive's attribute from properties file based on Locale? stackoverflow.comThe task is to conditionally include a css file based on the Locale. To do this, I am going to put the path to the Locale dependent css file in the ... |
3. is any jsp 2.0 implementation forcing an error if tagdir attribute has no trailing slash? stackoverflow.comIn JSP 2.0 specification it says about "tagdir" attribute of the taglib directive (JSP.1.10.2): Indicates this prefix is to be used to identify tag extensions installed in the ... |
4. Exporting function to TLD stackoverflow.comI want to export this function to my
|
5. problem opening taglib tld coderanch.comI have a question about tag library descriptor. I specified in my JSP a URI for the taglibrary descriptor as "/hello". And I placed the tld file in Web-inf directory. The question is when I tried to open the JSP. Tomcat says can not open library descriptor "C:\tomcat\webapp\thisWebApp\hello" I don't know why tomcat doesn't recognize the taglib's uri and trace to ... |
6. Reusing taglib tld files coderanch.com |
7. (Programming Taglib)Why I must place this object in constructor? coderanch.comIf I delete the "public BookManager(){ }".The code report error:"Can't solve the charactor tbook" It means I must place the object "Testfor tbook" in the constructor ?(Testfor is a class that I wrote. //////////////////////////////////My code is:////////////////////////////////// public class BookManager{ private static BookManager instance=new BookManager(); Hashtable hbook=new Hashtable(); public BookManager(){ //<--------------If delete the sentence the compiler report error/////////////////////////////////////////// Testfor tbook; tbook=new Testfor("345463463","Beginning ... |
8. How to pass values from JSP to TagLib attributes dynamicaly coderanch.comHI there first of all thank you for your help, I have already read a lot in your forums and learned a lot too! here my problem: i want a jsp page to pass attributes to a taglib dynamicaly my tld file looks like that: |
9. taglib.tld coderanch.com |
10. Getting error accessing attributes in custom taglib coderanch.comI'm using a custom taglib with an attribute. When I try to refer to the attribute in the tag, then I get an error of type: org.apache.jasper.JasperException: jsp.error.beans.property.conversion org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:885) org.apache.jsp.content.includes.treetest_jsp._jspx_meth_odin_showNavTree_0(treetest_jsp.java:148) org.apache.jsp.content.includes.treetest_jsp._jspService(treetest_jsp.java:114) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) Please help Below is some pertinent code info. Let me know if you need more. Thanks, Sean --- from jsp --- |
11. Problem with uri attribute of taglib coderanch.comI had similar problems until I found out that Websphere 5.x does not support jsp 2.0 or jstl 1.1. Instead I just removed everything taglib wise from my web.xml, WEB-INF/lib directory, and used the jstl 1.0 uri's. For instance: <%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %> Note the lack of the jsp in the uri. Also Websphere will help you out a little by ... |
12. Taglib directive: Mandatory attribute uri missing coderanch.com |
13. must name be taglib.tld in jarred taglibs + bug coderanch.com |
14. taglib to scriptlet attempt coderanch.com |
15. taglib.tld giving problems help! coderanch.comHi, I am using Jboss 3. Am writing a custom tag library. This is how my taglib.tld looks |
16. c.tld: (line 2, col -1): Element type "taglib" is not declared? coderanch.com |
17. Value of a Taglib as attribute for another Taglib? coderanch.com |
18. HashMap in taglib coderanch.com |
19. Taglib file outside WEB-INF coderanch.com |
20. Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV coderanch.comHi All, Again i need your help. Currently my application is on Tomcat5.0.16.I use struts1.2, jstl 1.1 , jsp-api 2.0. I tried to migrate my application from tomcat5.0 to tomcat 6.0.26.I didn't see any issue in deployment but when i tried to access jsp pages i got this exception. HTTP Status 500 - type Exception report message description The server encountered ... |