File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes how to import page from other website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to import page from other website" Watch "how to import page from other website" New topic
Author

how to import page from other website

nsathishbabu nagarajan
Greenhorn

Joined: Jan 02, 2006
Posts: 6
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

Joined: Jul 06, 2005
Posts: 1018
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

Joined: Jan 02, 2006
Posts: 6
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...
 
Consider Paul's rocket mass heater.
 
subject: how to import page from other website