Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to import page from other website

 
nsathishbabu nagarajan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am using JSTL to import a page from other site.i have setted the jar files in classpath, tld files in WEB-INF folder and added the <taglib> in web.xml
After that when i am trying to access the page it gives following error,help me


org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:283)
org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:649)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:246)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
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)
 
Stefan Evans
Bartender
Posts: 1754
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have setted the jar files in classpath, tld files in WEB-INF folder and added the <taglib> in web.xml


Application servers ignore the system classpath when it comes to web applications.
To install JSTL correctly all you need to to is copy jstl.jar and standard.jar into the WEB-INF/lib directory of your application.

THATS IT!
- no tld files required
- no entries in web.xml
- NO PROBLEM!

My suggestions to you: undo everything you have done
- delete the tlds
- remove those entries from WEB-INF
- take those jars out of the classpath
- copy standard.jar and jstl.jar into your WEB-INF/lib directory.
- restart your app server.
[ January 25, 2006: Message edited by: Bear Bibeault ]
 
nsathishbabu nagarajan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it worked out ...thanks..

one more,the page i am imported contains a flash file,the file is playing but the values(i.e the data embedded in the flash file) are not displaying ...it says data loading and stands there..can u explain me about this...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic