Skip to Content
author's profile photo Former Member
Former Member

JSP/JSTL and SAP Functionality

Hello Friends,

while going through the artical "Java Server Page Tag Libraries and SAP" the author Jeff Marin has made the following statements


Web Application Server 6.2 will allow Web Developers to access SAP functionality through JSP Tags. SAP will supply libraries of JSP Tags to access BAPIs and RFCs. Web Developers will use these tags to bring the power of SAP to the Internet without needing a formal education in Java.


I am not aware of such TAG LIBs which are offered by SAP inorder to do JSP programming, ??

If some one know about this , pls point out the electronic resource or Libs!

Many thanks!

Haider Syed

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 19, 2005 at 10:42 AM

    hi syed,

    Steps to create a Tag Libraries in WAS

    1) First Create a Web Module Project

    a) Next a java class (

    import javax.servlet.jsp.JspTagException;

    import javax.servlet.jsp.PageContext;

    import javax.servlet.jsp.tagext.Tag;


    public class HelloWorldTag implements Tag{

    private PageContext pageContext;

    private Tag parent;

    public HelloWorldTag(){



    public void setPageContext(PageContext pageContext) {

    this.pageContext = pageContext;


    public void setParent(Tag parent) {

    this.parent = parent;


    public Tag getParent() {

    return parent;


    public int doStartTag() throws JspTagException {

    return SKIP_BODY;


    public int doEndTag() throws JspTagException {

    try {

    pageContext.getOut().write("Hello World!");

    } catch(IOException e) {

    throw new JspTagException("IO Error: " + e.getMessage());


    return EVAL_PAGE;


    public void release() {



    b)Next create a HelloWorldTag.tld file


    <tlibversion> 1.0 </tlibversion>

    <jspversion> 1.2 </jspversion>

    <shortname> hello </shortname>


    Some info here.



    <name> HelloWorld </name>

    <tagclass> HelloWorldTag </tagclass>

    <bodycontent> empty </bodycontent>

    <info> A Hello World tag </info>



    c) Now modify the Web.xml file





    d) Next create a Tg.jsp file

    <%@ taglib uri="HelloWorldTag" prefix="hello" %>


    e) create a warfile

    2) Now create Enterprise module project

    a) Add the above web module project

    b) modify the context root of the Appilication.xml file

    c) create a ear file

    d) Deploy

    e) Run the J2ee Application

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.