How to use servlets in portal web application in Weblogic Portal 4.0

We are developing a Portal Web application using Weblogic Portal 4.0 where in we
have the following scenario. one JSP in webflow of a portlet calls the PipeLine
which does some processing and calls the servlet which is having the typical download
functionality. The servlet is supposed to read the data from the pipeline session
and create a CSV String that is dumped to the client browser. The problem is even
we are doing response.setContentType("application/save") in the servlet it is
still displaying the content as html in the portlet. I guess since all our request
are send to the webflow contolling servlet and it is setting the content type
and hence our servlet is not working. How do I solve this problem? Thanks Yogesh

Hi Renu
Please go through the SAP Content Management here you find the documents related to Wab page Compoer and knowledge mangement. Also search for article / blog for more details.
[http://www.sdn.sap.com/irj/sdn/nw-ecm|http://www.sdn.sap.com/irj/sdn/nw-ecm]
Hope it will helps
Best Regards
Arun Jaiswal

Similar Messages

  • How to use Swing in a web Application

    Can you suggest me some good PDF/tutorial or some good site for reading about using SWING in a Web Application.
    In our web application we plan to use JSP/Struts for the presentation layer. However there are a few screens that require some advanced UI like color coded assets and a graphical version of Outstanding Vs Available limit. We are wondering whether we should use SWING for these screens. Do you think this is a good idea or is there a better apprach to deal with this
    What are the disadvantages of using SWING VS JSP/Servlet in a Web environment. Is there a site or pdf where i can get information about this.

    I'd say the biggest disadvantage is that your client machines have to download and install the bloody java plug in.
    What you write about your UI ain't half vague. What the deuce is a "color coded asset"? Is it
    interactive? If not, could it be represented by an image? If so, even if it is a non-static image, it is a simple
    matter for your webapp to generate the image on the fly. Many web app tutorials demonstrate that.

  • Question about how to integrate struts web application into Weblogic Portal

    hi, I'm using Weblogic8.1 Portal and workshop to integrate my existing struts web applications. I know that the struts web application can be imported and integrated as a portlet. But I'm not sure how to integrate the corresponding EJB module into portal?
    any help appreciated!!

    should be simple...
    copy all the jpfs and other classes appropriately into a new portal app.
    Create a new Java Page Flow portlet.
    That should be it.
    The major thing to watch for is how your navigation etc change.
    Kunal Mittal

  • Migration of oracle portal contents/applications to Weblogic portal

    I have a website running on oracle portal. I want to migrate all those contents (applications/portlets) to weblogic portal. I dont know where to start from. Can somebody please guide me and give me some tutorials for this.
    Thanks
    Joseph

    Hi Ajay,
    If  the configtool is showing the old information of instances , it has got two things
    1.  JMT phase of your migration has not been performed correctly.
    2. If you are using the same hostname , SID , instance name , then it will calculate the same instance number.
    In JMT  phase it  should delete all the information of dialog instance  and calculated the new instance id
    on the basis of box number calculated from the file cluster_id_switch.properties while migrating the CI.
    checked the JMT folder inside sapinst_dir.
    Checked the below parameter in cluster_id_switch.properties
    src.ci.sid=
    src.ci.instance.number=
    src.ci.instance.name=
    src.ci.host=
    Checked the logs for java migration tool phase and java configuration parameter phase.Also do check the box number of the system.If the box number is not correct as per your input then you will not able to patch your system further.
    Now in second case, If you are keeping the same hostname , instance name and SID , then it will calculate the same instance id so you don't need to worry in this case.
    1644265 - "How to determine the correct box number of the instance"
    With Regards
    Ashutosh Chaturvedi

  • Help me!    How to use it as a web service from third party application?

    After using JDeveloper to develop BSSV object e.g. JP550010, how to use it as a web service from third party application?
    TKS!

    Obviously the OP is working on a project for the Bead Society of Southeastern Virginia http://www.bssv.org. Oh, wait, maybe he's researching the Blueberry Shoestring Plant Virus http://abbreviations.yourdictionary.com/bssv
    :D
    John

  • How to provide streaming in J2EE web application?

    Hi Friends,
    I want to build web application which will provide streaming of data.
    This data may be in raw data, binary, files, audio, video etc. As we are using HTTP protocol for web application, then how to do streaming between server and client using HTTP protocol i.e in request response manner.
    If we want to send response of ~1 GB to client using servlet, then it's good idea that we should use data streaming concept. For data streaming if we use request/response architecture then servlet should send ~1 GB data in one go. Is it possible? And if we use data streaming tech. Is it our responsibility to do framing, maintaining data sequence, encoding/decoding, merge data and then store on client side?
    Any help will be appreciated.
    Thanks

    One idea is RTP
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/

  • BEx Web Application Designer with portal...

    Dear all,
    Right now we are using EP for execution of reports.. till now we have used querydesiner only...
    Now the requirement is to use  BEx Web Application Designer with portal...can anyone give me some idea abt how to connect the EP with  WAD..
    Points will be awarded
    regards
    venu

    Dear Venu,
    Please check this link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a
    Regards,
    Ramkumar.

  • PortalAppAdmin shows no available portal web applications

    hi,
    I was wondering if someone had the same problem.
    I cant see my web app when I log into the portal Web app

    ...the same problem...
    On local development envirement was created some portal application, targeted to some 'managed server' (production mode),content and BEA DBs - Oracle 9i. All work correct, while I did need to inslall that application to some customer's app server(BEA connection pools - a used from adm server - targeted are to my managed server). On that server(customer's server) a have no permissions to make any changes to domain but have access to 'manage server' and its databases. I populated BEA DB,content DB, created all of 'connectionPools' and 'dataSources' (created NEW BEA connection pools, and NEW dataSources - targeted ONLY to managed server), deployed the same *.ear - successfully... But! - "portalAppAdmin shows no available portal web applications". Why, on local machine - its working, but on the remote - is not?
    How I must install/run fully new application on the customer's machine with access only to 'manage server', 'admin console', and BEA and content DBs? (*.ear file deployed to 'manage server')
    a) your Portal webapps are in the same application as >the portalAdminTools webapp
    b) your Portal webapps have customization enabled in WEB->INF/netuix-config.xml
    c) your Portal webapps have at least one .shell file >anywhere in their structureMessage was edited by:
    SVoloSH

  • How to use Swing in a Web applicatrion

    Can you suggest me some good PDF or some good site for reading about using SWING in a Web Application.
    In our web application we plan to use JSP/Struts for the presentation layer. However there are a few screens that require some advanced UI like color coded assets and a graphical version of Outstanding Vs Available limit. We are wondering whether we should use SWING for these screens. Do you think this is a good idea or is there a better apprach to deal with this
    What are the disadvantages of using SWING VS JSP/Servlet in a Web environment. Is there a site or pdf where i can get information about this.

    Applet/HTML page combinations are used often when a portion of a page requires Swing/AWT capabilities, e.g. administration consoles for Weblogic and JBoss are designed this way. The page is typically divided with frames that contain either applet or HTML code.
    A

  • How to use fp-2010 as web server

    how to use fp-2010 as web server
    mazhar 

    Hi Mazhar,
     It is fairly straighforward to set up front panels for your RealTime executable. This knowledgebase has the information on how to do this.
    Hope this helps!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • How to use JSP in apache web server

    hi all,
    can anybody tell me how to use JSPs in Apache Web Server.
    Thanks
    sir

    You would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
    HTH

  • DO we really use Servlet Filters in realtime applications where?

    DO we really use Servlet Filters in realtime applications where?
    Can any one give me somegood exampleor link where i can find required information.
    Regards
    Vijendra

    Yes people do use Servlet Filters in real applications. The most common usage is as a common entry point for security checks or for logging purposes.
    One thing you could do is search the forum for questions on filters. Often the poster has a problem that he believes can be solved using filters.
    If you want to learn how to develop filters check the Sun J2EE tutorial.

  • Cannot process an HTTP request to servlet [Faces Servlet] in [wcb] web application

    Hi All
    l am working on a Wcem 3.0 with Trex with ERP and WAS 7.3.
    When I logon to http://<host>:<port>/wcb/index.html url I am able to see wcbuilder_erp & wcbuilder_erp_ume application ids.
    But suddenly I am getting The website cannot display the page error message when I access the above mentioned URL.
    When I verify the developer log trace it showing as 500 Internal sever error issue.[EXCEPTION] java.lang.VerifyError: Bad return type
    In defaultTrace.trc file it is showing as Cannot process an HTTP request to servlet [Faces Servlet] in [wcb] web application exception.
    09 10 18:08:56:098#+0530#Error#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#
    com.sap.ASJ.web.000137#WEC-APP-BF#sap.com/wec~comm~wcb~leanapp#C0000A229CA7094A0000000000001188#2392750000000004#sap.com/wec~comm~wcb~leanapp#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##CFAFBF4C38E411E4B4750000002482AE#ffbcbcdd38e611e49d020000002482ae#ffbcbcdd38e611e49d020000002482ae#0#Thread[HTTP Worker [@455349581],5,Dedicated_Application_Thread]#Plain##
    Cannot process an HTTP request to servlet [Faces Servlet] in [wcb] web application.
    [EXCEPTION] java.lang.VerifyError: Bad return type
    Exception Details:
    Location: com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContextFactory.getExternalContext(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljavax/faces/context/ExternalContext; @17: areturn
    Reason: Type 'com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContext' (current frame, stack[0]) is not assignable to 'javax/faces/context/ExternalContext' (from method signature)
    Current Frame:
        locals: { 'com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContextFactory', 'java/lang/Object', 'java/lang/Object', 'java/lang/Object' }
        stack: { 'com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContext' }
      Bytecode:
        0000000: bb00 0359 2ab6 0004 2b2c 2db6 0005 b700
        0000010: 06b0                                
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446)
        at java.lang.Class.getConstructor0(Class.java:2756)
        at java.lang.Class.getConstructor(Class.java:1693)
    Any help?
    Regards
    Rami Reddy

    Hi Steffen,
    Thanks for promt response.
    But when I checked with Basis team as of now there are not yet configured TREX, only WCEM components has been configured in WAS 7.3. When they are configuring WCEM components HTTPS protocol not configured.
    But for past 2 weeks I am able to see the below screen using http://<host>:<port>/wcb/index.html url.
    But now I am getting The website cannot display the page error.
    Please clarify me if anything is wrong from my side. And also pl let us know which configurations I have to check for fixing the issue.
    Regards,
    Rami Reddy

  • Administration screen not finding my Portal Web Applications

    Hello All,
    Does anyone know why the portal administration screen might not find a Portal
    Web Application ? When I go to my administration screen, (http://.../MyAppAdmin/portal.portal)
    the drop-down box says 'No Available Portal Web Application'.
    When I go to http://.../MyWebProj/app.portal it loads fine!
    Also, this only happens when I deploy application as an .ear file. When I run
    it on my own machine from Workshop, it all loads fine. Also, my other applications
    are ok, I can not see what is different with this guy!
    Is there some build option I should include, to add something in a deployment
    descriptor to declare the Portal Web Application ? I am just using Workshops
    'build ear' menu option.
    thanks for any suggestions!
    -BD

    Doyle,
    This can occur in a cluster if the Portal Application has not been deployed
    to the admin server. Some special things happen during app deployment on
    the admin server, which result in extra information getting written to the
    database. This information is used by the portal admin tools to display the
    list of web-apps.
    If this is the environment you're running in, it might be helpful to look at
    the 'Deploying Portal Applications' guide on edocs.bea.com, which goes into
    more detail on deployment.
    -Steve
    "Doyle" <[email protected]> wrote in message news:40c74305$1@mktnews1...
    >
    >
    Hello All,
    Does anyone know why the portal administration screen might not find aPortal
    Web Application ? When I go to my administration screen,(http://.../MyAppAdmin/portal.portal)
    the drop-down box says 'No Available Portal Web Application'.
    When I go to http://.../MyWebProj/app.portal it loads fine!
    Also, this only happens when I deploy application as an .ear file. When Irun
    it on my own machine from Workshop, it all loads fine. Also, my otherapplications
    are ok, I can not see what is different with this guy!
    Is there some build option I should include, to add something in adeployment
    descriptor to declare the Portal Web Application ? I am just usingWorkshops
    'build ear' menu option.
    thanks for any suggestions!
    -BD

  • Bookmark Web application within NW2004s Portal

    Hello all,
    we are publishing BW Web Application in our NW 2004s Portal. So far we still using the BW release 3.5.
    Before we used the portal, we published our BW Web application in the Bex browser. After the user open and navigate within the appliaction he can bookmark the application and save the filtered and drilled status as favorite.
    Is it possible to create and save a bookmark in order to save the drill-down status of the report within the portal? After I have tried to bookmark the web application the URL still remains.
    Any help would be great.
    Best Regards,
    Stefan from Munich/Germany

    Hello Santosh,
    we already published the web application via iView in our portal.
    What I am looking for is to bookmark an already published web application within EP portal. E.g. I open the web application with specific filter and make some drills. Now I want to bookmark this report situation and save the generated url under my favorites.
    For me this is not working. When I click the bookmark option noting happened. My address bar url also not changed; no bookmark URL was created.
    Please help ......
    Regards,
    Stefan from Munich Germany

Maybe you are looking for