English 中文(简体)
使用 Webshere 共享图书馆. Issue: 无法定位 uri 的标签库 http:// struts.pache.org/tags-html 为什么?
原标题:Using Websphere Shared Library..Issue: Unable to locate tag library for uri http://struts.apache.org/tags-html why?

我用 struts1.3.8 和 spring2.5 开发了网络应用程序, 在 Webshere7 中部署了战争文件, 没有罐子。 我将罐子保存在共享的库中。 当我运行应用程序时, 它会扔出以下错误 。

com.ibm.ws.jsp.JspCoreException: JSPG0047E: Unable to locate tag library for uri http://struts.apache.org/tags-html  
at com.ibm.ws.jsp.translator.visitor.tagfiledep.TagFileDependencyVisitor.visitCustomTagStart(TagFileDependencyVisitor.java:76)  
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:366)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:419)    at
 com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:234)    
at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:216)  

I googled and i came to know that in web.xml we have to do the configuration.
so what kind of configuration i have to do???
Any Idea???
Thanks in Advance.
Laxman Chowdary

最佳回答

简而言之,不要把这些JARs放在共用图书馆;把它们放在WEB-INF/lib。

问题回答

暂无回答




相关问题
Convert typed-in Text to lowercase

I ve got an index.jsp with [snip] <% String name = request.getParameter("name"); String pass = request.getParameter("pass"); String globalname = "webeng"; String globalpass = "2009"; ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

Setting the default value in Struts2

I am setting the value(kind of default value) for a drop down select value from action class in a page(given below). When the page loads the value is beig displayed but the other elements of the ...

Evaluate dynamically constructed JSP at runtime

I have a requirement where in the JSP page itself is created by the user and stored in the database. When viewing results we need to render this JSP to the client, evaluating all tags inside this JSP. ...

How to Pack/Encrypt/Unpack/Decrypt a bunch of files in Java?

I m essentially trying to do the following on a Java/JSP-driven web site: User supplies a password Password is used to build a strongly-encrypted archive file (zip, or anything else) containing a ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

ArrayList to Table in JSP

I have an ArrayList and i am trying to display it in a table ..... ArrayList rows = .... ..... <table cellspacing="1" cellpadding="4" border="3"> <tr> <TH>...

热门标签