• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help getting Struts to run  RSS feed

 
Melisa Mitchell
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

I went through some of the issues that other people where having with Struts, I found a few that where similar to mine, but not quite. Here is the .jsp file that I'm trying to use..



and here is the error

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/struts/tags-logic cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
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:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
Apache Tomcat/5.0.28

Im new to struts and just wanted a bit of help if anyone knows what I'm doing wrong. Any more questions that need to be answered, just let me know. Thank you to all who can help

Melisa
[ September 15, 2008: Message edited by: Melisa Mitchell ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66258
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "Struts" in a forum completely dedicated to questions on Struts isn't very helpful, and better titles will tend to attract people that might be able to help you to your post.

Please go back and change your post to add a more meaningful subject by clicking the .
[ September 15, 2008: Message edited by: Bear Bibeault ]
 
Melisa Mitchell
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "Struts" in a forum completely dedicated to questions on Struts isn't very helpful, and better titles will tend to attract people that might be able to help you to your post.

Please go back and change your post to add a more meaningful subject by clicking the .

[ September 15, 2008: Message edited by: Bear Bibeault ]


Sorry bout that, I changed the title.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66258
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. Good luck with your question.
 
Tom Rispoli
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure which version of struts you are using but I think in more recent versions they've switched the URI of the TLDs to http://struts.apache.org/ - so you might want to try changing your import to something more like this:

 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you declared the logic JSP tag library?

In order to use JSP tag libraries, they must be declared. And you must have a JSP tag library descriptor somewhere under WEB-INF.


[ September 15, 2008: Message edited by: James Clark ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!