Importing JSP in WebDynpro perspective

Is it possible to import JSP/HTML/BSP in WebDynpro perspective?

Hi Sowmya,
It is not possible to import any of the mentioed technologies in to Weddynpro Perspective.
Web Dynpro provides support for the development of web applications in the form of a declarative programming approach.
In a Web Dynpro application, every user interface is always made up of the same basic elements, with the exception of the individual interface elements for each application. You declare these elements of the metamodel statically using the Web Dynpro tools. It is also possible to implement elements of the metamodel in programs and integrate them dynamically at runtime. Using these implementations, you can make changes or enhancements to a user interface that has been created by declarative methods by generating new interface structures at runtime. This means that you can combine the declarative procedure with the implementation of source code.
Concepts of the Web Dynpro programming model ensure high-performance processing of the entire web application, clear separation of presentation and processing logic as well as data retrieval, extensive platform independence of interfaces, and a high level of reusability of programs or parts thereof.
regards
Anil

Similar Messages

  • Problem with importing jsp packages

    Hi guys. I'm having a problem compiling a class that imports jsp packages.
    I'm getting errors along the lines of:
    C:\>javac HelloTag.java
    HelloTag.java:4: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    ^
    HelloTag.java:5: package javax.servlet.jsp.tagext does not exist
    import javax.servlet.jsp.tagext.*;
    - I've copied jsp-api.jar and servlet-api.jar to a folder that's in my path: C:\Program Files\Java\jre1.5.0_03\lib\ext
    Any suggestion?
    Thanks.

    U have to add the path into the classpath
    set CLASSPATH=%CLASSPATH%;jsp-api.jar ....
    the compile in the same cmd window
    Do not use the CLASSPATH environment variable. Use the -classpath option while compiling and specify the path to your jar file.
    javac -classpath <path to jar file> filename.javacheers,
    ram.

  • There is no webdynpro perspective

    hello,
    i get the Sap Netweaver 7.2  from a friend but i cannot see the Webdynpro perspective in "Window-openPrespective" altough he uses that one and i have the plugins. why thats missing?
    thnx in advance.

    Hello,
    I think that you need to perform an update to your NWDS.
    Go to Help->Software Update->Find and Install then you will need to enter your S-user , and afterwards you will be able to download from SAP all kinds of perspectives and features . You also will be able to chose what you want to download and what not.
    Constantine

  • Webdynpro perspective

    After creaing a project in the webdynpro perspective I cant see any folder any dc. I just see
    nothing. Why does such a problem occur ?
    Regards
    erdem

    Hi Erdem,
    I guess you are trying to sync the DCs from the track. Just make sure that you would get the green colored icon besides your DC after sync itself but you need to right click those DCs and say create project. Once created, you can see that in your WD perspective.
    Regards,
    Murtuza

  • Any Automatic conversion from JSP to WebDynPro

    Is there is any Automatic approach to have conversion from JSP to WebDynPro

    +1
    Even for JSF (Java Server Faces) application this would be a manual process.
    Even both JSF and WD have a lot of similar concepts there are numerous differences in approaches used here and there, that cannot be automated. Or at least you'll spend more time for the tool then for the manual job.
    VS

  • How to Re-import model in webdynpro in NWDS 7.1 EHP1 version

    Hi All,
    We have webdynpro DC in NWDS 7.1 EHP1 version, we are trying to re-import the model which already exists in DC. actually in the BAPI ABAP people is added new field in the BAPI structure then we are trying to incorporate the same changes in webdynpro to reflect the new field in model  through the Re-import model.
    But when we right click on model and then selected the re-import then it is not happening any thing in studio its a kind of new action, but ideally in general  it should open the new window where the SAP r/3 credentials should be given to re-import the model. In our case nothing is happening after we right click on the model on selection of "Re-import" model.
    Please let me know what is the issue we have?, do we have any issue with our studio  NWDS 7.1 EHP1 version? or should we follow any other procedure to re-import model in NWDS 7.1 EHP1 version.
    In other versions of studio like earlier versions we were able to re-import the model thru re-import the model by right click on model. but the current version of studio NWDS 7.1 EHP1 should have problem for re-importing the model.
    Thanks,
    Portaluser100

    Hi,
    1.Its Simple way. Just Right click on your Model--- Choose Re-Import. Then choose your RFCu2026Click on Finish
    2. while re import the RFC u will get some error. By cache invalidation and Re Start the J2EE Engine Server you can solve the problem.
    After Re-Import the model you can do cache invalidation
    There is a need to restart the portal system to clear the cache. Once its done your application would work fine.
    Another thing that you can try to clear the cache is
    1. Go to link http://<servername> : <portname> /webdynpro/dispatcher/sap.com/tcwdtools/WebDynproConsole
    2. Click on the last link in detail navigation "Invalidation of ARFC Metadata Cache"
    3. From "Adaptive RFC Metadata Cache Invalidation " tray, choose the JCO that you are using
    4. From " Dictionaries Cache Invalidation" tray, choose the dictionary(model) whose cache you want to clear.
    The above option saves time but in case it doesnu2019t work, you can go in for Portal restart. It would surely work.
    If you have more clarification please read the [Document|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3b6df]
    Hope this helps!!
    Best Regards
    Vijay K

  • How to import jsp file in other jsp file

    I am using JSP for a website and my database is in Oracle. I want to connect to Oracle database in one jsp file such as connection .jsp.
    Then I want to use this same connection in all the jsp files by importing the jsp file. (I know in Core java we can do this by import statement e.g. import connection.java) but how can I do this in jsp. whwn i am importing connection.jsp using <%@ page import=connection.jsp%> It is showing errors.
    Plz help me. It's very urgent.
    Thanks in advance.

    Thats because import is for importing packages as any jsp tutorial could have told you. You are looking for include:
    <%@ include file="connection.jsp"%>

  • Importing Development Component - Webdynpro and Guided Procedures

    Hi All,
    I created a development component project of type  "Webdynpro". I created callable Object in guided procedures and the Process is working fine. I want to import the same project into another Nwds (another workspace).
    I tried the following steps.
    1. File - import - Multiple Existing project into workspace.
    2. Imported the DC.
    I have already added all the Gp jarfiles. But after importing, and rebuilding the project, it gives me only webdynpro and components,views.. It is not showing me as a normal webdynpro project. It is not showing me the GP Api's, the "USED DC's". which i created in the other project.
    When i am creating a new project, it is working fine.Can anyone please help me in resolving this issue? How can i import a DC (gp) into webdynpro?
    Thanx and Regards,
    Divya

    Hi,
    Take a look at this [thread|/thread/119966 [original link is broken];
    Dick.

  • How to import jsp files into other jsp files ?

    hi i have the following code mymainpage.jsp
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;" >
    <title>Sagem Module</title>
    </head>
    <body>
    <f:view>
    <rich:modalPanel id="panel" width="350" height="100">
            <f:facet name="header">
                <h:panelGroup>
                    <h:outputText value="Modal Panel"></h:outputText>
                </h:panelGroup>
            </f:facet>
            <f:facet name="controls">
                <h:panelGroup>
                    <h:graphicImage value="/images/modal/close.png" styleClass="hidelink" id="hidelink"/>
                    <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
                </h:panelGroup>
            </f:facet>
            <h:outputText value="This panel is called using Component Control Component"></h:outputText>
            <br/>
            <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
        </rich:modalPanel>
    <h:form>
        <h:outputLink value="#" id="link">
            Show Modal Panel
            <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
        </h:outputLink>
    </h:form>
    <f:view>
    </body>
    </html>can i put the model panel into another file for example modalpanel.jsp and then include it into my page mymainpage.jsp such
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;" >
    <title>Sagem Module</title>
    </head>
    <body>
    <f:view>
    //**** import modalpanel.jsp
    <h:form>
        <h:outputLink value="#" id="link">
            Show Modal Panel
            <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
        </h:outputLink>
    </h:form>
    <f:view>
    </body>
    </html>

    Use jsp:include.
    parent.jsp
    <f:view>
        <h1>Parent</h1>
        <jsp:include page="child.jsp" />
    </f:view>child.jsp
    <f:subview id="child">
        <h2>Child</h2>
    </f:subview>(note the f:subview!)

  • Export and Import functionality in WebDynpro ALV

    Hi Experts,
               I have done a webdynpro alv application and it is displaying the data as i wanted. However i have a requirement to get the alv displayed data in an excel sheet( which works with the export button on alv) and update that excel sheet which will be updated back in the alv table.(for eg any import button functinality on alv)
    Regards,
    Tashi

    Hi,
    For this you need to use file upload to upload the modified excel data back to ALV. Else why dont you make an ALV Editable.!
    For upload excel refer this wiki: [Upload excel in WDA|http://wiki.sdn.sap.com/wiki/display/WDABAP/ExcelFileUploadAndDisplayDataUsingWebDynPro+ABAP]
    hope this helps u.,
    Thanks & regards,
    Kiran.

  • Import jsp

    How to import a jsp present in a different package into another jsp?

    cncncn wrote:
    How to import a jsp present in a different package into another jsp?I think you probably mean include another jsp.
    http://java.sun.com/products/jsp/tags/11/syntaxref1112.html
    JSP fragments that are not complete pages should always use the .jspf suffix and should always be placed in /WEB-INF/jspf.

  • How to import Table from Webdynpro to RFC?

    In my application there is one RFC that has one import parameter String and a Table for import/export data from webdynpro.
    The context of model node and attributes is as follows
    A (Root Model Node for RFC)
    |....B (Model Sub Node for Output)
        |....C (Model Sub Node for Table)
            |....x (Model attribute)
            |....y (Model attribute)
    Table structure in RFC is same as Model node C.
    Before Executing RFC using
    wdContext.currentAElement().modelObject().execute();
    In Java end how to set or add data to x,y attribute so that RFC can get those values from table and insert into the ABAP table.

    Hi SBS,
    Try this code.
    IWDMessageManager msg = wdComponentAPI.getMessageManager();
    try {
    String empid = 10020;
    //or you can take empid from UI field also
    // String empid = wdContext.currentValueNodeElement().getEmployeeID();
    Bapi_Employee_Getdata_Input input = new Bapi_Employee_Getdata_Input();
    input.setEmployee_Id(empid);
    wdContext.nodeBapi_Employee_Getdata_Input().bind(input);
    // Calls remote function module BAPI_EMPLOYEE_GETDATA
    wdContext.currentBapi_Employee_Getdata_InputElement().modelObject().execute();
    // Synchronise the data in the context with the data in the model
    wdContext.nodePersonal_Data().invalidate();
    } catch (Exception e) {
    // TODO Auto-generated catch block
    msg.reportSuccess(“Message : “+e.getMessage());
    Re: RFC Issue - Cardinality and Selection problem
    Regards,
    Mithu

  • EPCF between JSP  and Webdynpro

    hi experts,
    i want to pass a value from one JSP iview to Webdynpro iview through EPCF.for ex: there is a string in JSP,i have to calculate the string length in JSP but the result will b display in webdynpro iview and vice versa.
    Can anybody help me regarding this?

    Hi Ranjit,
    Any chance you could share your answer with me. We need it urgently.
    Thanks,
    Vibhu

  • Import JSPs from one project to another (depends on or ??)

    I'd like to solve the large product problem: Broke up into several projects.
    The problem is most evident in unit testing with the internal container. Any jsp includes
    or forwards to JSP's in other projects just is not supported with local testing.
    I'd be very happy to live with the same solution I'm using for classes from other projects.
    I.E. a Project library that points to the output path of another project.
    The deployment config for project B who depends on project A's classes, includes the classes
    from A into the projB.ear.
    I can live with this. It supports use of Tester and Local running of JSPs.
    I'd like the same solution for JSPs too.
    I'm happy to forgo the URL distinction that's possible by deploying all modules to an
    external container. I'd be willing to live with all JSP's in proj A accessed as if they
    where local to proj B.
    Anybody have a solution?
    At present I'm living in HELL, with JSP src in both places. As the project grows into
    more modules, replication from A to B-->E just won't work. Plus, as JDev and SCM go,
    someone always screws up and adds these copied files to SCM and the project.
    It's currently a mess!
    Thanks, curt

    Although classes have the notion of a classpath, the HTML Root directories from several projects cannot be strung together like that. The OC4J server does not support multiple document roots for a single web module.
    There are a few possibilities for you though:
    1) Change the settings of each project so that they all point to the same HTML Root directory. In this configuration, a WAR profile in any one of the projects will deploy the entire contents of the HTML Root directory.
    2) If you can't put all the JSPs in the same HTML Root directory, formalize the boundaries between the web modules by defining a "J2EE Web Context Root" for each project according to your exact need. Then when JSPs include or forward to each other, use URIs that contain the context root as part of the URI.
    3) Keep everything in one project, but separate the JSPs into different directories. Then to get a filtered view of your JSPs in the JDev navigator. switch the navigator into "Category view" (Project | Show Categories). You can then selectively drill into a specific directory. If you select the project and then choose View | Display in New Navigator, you can get a separate navigator whose scope is narrowed onto your specific project.
    Hope that helps. If you have any specific suggestions on enhancements that would improve your productivity in this area, please let us know.

  • Passing a context value to BAPI Import parameter in WebDynpro!

    Hi All,
    I have a small doubt here!
    I am trying to create a sales order using Webdynpro through BAPI.
    There i want to hard code the value of order type like, i want to fix the value before running the porgram itself i.e., statically i want to pass the value.
    What i have done is,
    created a Context variable and has assigned the value in the init() of view like,
    <b>wdContext.currentUIElementsElement().setDocType("ZORD")</b>
    and also changed the value attribute of InputField to the context variable called "DocType".
    But now we need to pass this context value to the BAPI Structure called ORDER_HEADER_IN  i.e, to the class "Bapisdhd1". with out the hardcode value it is working, but i want to pass the value before executing it self. so What i can do, can any body pls give sample line of coding.
    Thanks in advance,
    Regards,
    Sireesha.B

    Hi
    Have you bound instantiated the Bapi class?If not then do like this.
    BapiClass input = new BapiClass();
    wdContext.node<BAPINODE>.bind(input);
    Above code can be written in your Custom Controller or View's doinit.
    Then you write the code for doctype as given in the post above.
    Regards,
    Ajay

Maybe you are looking for