Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JSP Custom Tags using VisualAge/Web Sphere

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look here.
Kyle
 
ashna
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kyle,
I am using Visual Age 3.5.3 and WebSphere 3.5
Ashna
    Bookmark Topic Watch Topic
  • New Topic