Re: Easy Question - If you know the answer.



GArlington wrote:
On Jan 17, 2:29 pm, "gwoodho...@xxxxxxxxx" <gwoodho...@xxxxxxxxx>
wrote:
Hello everyone,

All im trying to do is set up a small app right now. Very simple jsp
page.

My problem is the project refuses to use the taglib files that in jars
in my build path!

"org.apache.jasper.JasperException: The absolute uri:http://struts.apache.org/tags-html
cannot be resolved in either web.xml or the jar files deployed with
thi"

This is annoying me because i have struts.jar in my projects buildpath
and it explicitly contains both the tld's in its META-INF folder and
everything these tags need.

Has anyone had this problem before? Please help! >.<

The path you show (uri:http://struts.apache.org/tags-html) gets 404
response, so, what is your question?

That is completely irrelevant. It's a URI, not a URL. Even as a URL you'd have to strip the leading "uri:" off the string.

The question is why the namespace is not recognized. I am no expert but it usually takes no more than putting the Struts JAR in the WEB-INF/lib/ for the taglib descriptors and all just to snap into place.

It's not the build class path that counts as much as the run class path. Make sure the Struts libs are either in the Tomcat shared libs, or equivalent for your app server, or in the app libs, the WEB-INF/lib/ directory of the *deployed* application.

--
Lew
.



Relevant Pages

  • Re: DLL vs Shared Library
    ... shared libraries and/or files, when installing an app or library, ... should be outside the package manager's control. ... any standard libs it needs. ... be packages as one .deb for libs and another for the app, ...
    (Ubuntu)
  • where to put .so files ?
    ... users will install the app with those libs, I compiled them with the -R. ... started from a script file that will change the working directory to where ...
    (comp.unix.programmer)
  • Re: How to eliminate multiple declaration error for a symbol present in both libs( without modifying
    ... I have two libs. ... gcc -o app libFirst.a libSecond.a app.c. ... way to tell the linker which func() declaration it must select. ... ld' at the command prompt. ...
    (comp.lang.c)
  • merge module weirdness
    ... I have a libs merge module consumed by an app merge module. ... If I install the result to the default directory all ... Adam Benson ...
    (microsoft.public.dotnet.framework)
  • Re: Easy Question - If you know the answer.
    ... All im trying to do is set up a small app right now. ... Very simple jsp ... My problem is the project refuses to use the taglib files that in jars ... everything these tags need. ...
    (comp.lang.java.programmer)