File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes JSP Custom Tags using VisualAge/Web Sphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JSP Custom Tags using VisualAge/Web Sphere" Watch "JSP Custom Tags using VisualAge/Web Sphere" New topic
Author

JSP Custom Tags using VisualAge/Web Sphere

ashna
Greenhorn

Joined: Aug 15, 2002
Posts: 4
Hi,
Can anybody tell me how to use JSP custom tag library in visual age. I need to know where to place the jar file so that the jsp pages are able to find the classes. Using WebSphere test environment to test the application.
Any help is greatly appreciated
Thanks
Ashna
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Look here.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
ashna
Greenhorn

Joined: Aug 15, 2002
Posts: 4
Thanks Kyle.
The link was very useful. But I am facing some problems when i am trying to add Appache Tomcat Test environment to visual age.
The error I am getting is
The package org.apache.jasper.compiler cannot be specified by both IBM Websphere Test Environmnet and Apache Tomcat Test Environment.
The package javax.servlet cannot be specified by both servlet api and apache tomcat test environment.
Do I need to delete these 2 packages from the features in order to add apache tomcat test environment or is there any other way to get it done??
Thanks in advance.
Ashna
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
If you want to use the Tomcat test environment, you'll have to remove the WTE test environment feature. They can't reside in VAJ at once.
Kyle
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
You also might be able to glean some hints from my struts article: http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&p=1&BCT=3&Footer=1
Kyle
ashna
Greenhorn

Joined: Aug 15, 2002
Posts: 4
Thanks for the reply.
I added the tomcat test environment but i am not able to get the example custom tag running(from the above link).
Get the following error message
Unable to open taglibrary http://station.auction.net/as-taglib : Could not locate TLD META-INF/taglib.tld
The tld path is located in web.xml
<taglib-location>/WEB-INF/as-taglib.tld</taglib-location> .
Also we are using lot of packages from websphere test environment. Is there a way to get custom tags working in websphere test environment without tomcat test environment?
Ashna
ashna
Greenhorn

Joined: Aug 15, 2002
Posts: 4
Kyle,
I am using Visual Age 3.5.3 and WebSphere 3.5
Ashna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Custom Tags using VisualAge/Web Sphere