How to create a new Servlet in Web Logic Workshop 8.1?

Hi,
I am new to WebLogic. I am now using WebLogic 8.1 SP4. I want to use Servlets in my project. But I can't able add new Servlets. There is option to add JSP,Java Class, etc but no Servlet. Please help me.
Regards,
Venkatesh M. :-(

Hi Venkatesh ,
To create or import the Servlet in workshop and to run it, we need to follow the steps in workshop as given below.
1)Create the empty application
2)Create the webproject under the application
3)Right click on the webproject and choose the new -> java Class to write the
servlet in IDE Or choose import option and import the servlet file
4)Start the weblogic server
5)Go to tools menu->choose weblogic server->choose weblogic builder
6) In weblogic builder go to file menu->open your webproject
then it shows servlet ,filter,security Constriant and tag libraries folders in a builder at left side
7)Click on the servlet folder and click on the add button at right pane of the builder then you will give servlet name , servlet class name and url pattern.
After giving the Urlpattern click on the add button which is right to the urlpatern text field.
8)Click on ok button
9)click on the save button
then you will see the servlet mapping elements in web.xml file in workshop IDE what we given in builder.
10)Exit from the weblogic builder
11)Right click on the application and clean the application
12)Build the application
then it compiles the Servlets files automatically.
You can see the those class files in .workshop folder which is located under applicaton folder.
Note :go to the applicaton where it is stored.you should see these files manually because workshop ide shows the navigation from the webproject only. you can't see these files from workshop.
13)Go to tools menu->weblogic server->weblogic console and test the application using the weblogic console.
or Directly opent he internet explorer send a request for particular servlet by giving urlpattern.
Regards
Anilkumar kari

Similar Messages

  • How to create a new selection screen IN LOGICAL DATABASE PNPCE

    how to create a new selection screen LDBS PNPCE

    Hello Ankit,
    Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
    For later (which is more common), you can use HR Report Category.
    Hope this helps.
    Best Regards,
    Biraju Rajyaguru

  • Does anyone know how to create a new folder in web...

    There seem to be a  number of options to do this.
    Right click on an existing folder.
    Use the + labelled new folder
    Use Ctrl+ Shift+E
    However although boxes "create new folder" open a new folder is not created.
    I have done this in the past with no problem but it seems to have stopped working. I have tried the usual things loging off and back on and trying different browsers.
    Solved!
    Go to Solution.

    Hi Bob1001,
    Thanks for posting. Take a look at Help with BT Yahoo! Mail and let us know if it helps.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • How To Create The New VO in Standered Page?

    Hi Gurus,
    Pl z help me how to create the new Custom VO in slandered page,and how to attach that VO in custom RN in all are slandered page only.
    Regards,
    Srini

    Hi Sara,
    <i>1. Could you please tell me how to create the new webservice in XI?</i>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    <i>2. What tools we have to use to create it.?</i>
    /people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    Altova is also a good option
    <i>3. How to send the SOAP request to XI?</i>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    SAP Note 856597
    An Add-on
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Regards,
    Prateek

  • How to create the new webservice in XI?

    Hi All,
    1. Could you please tell me how to create the new webservice in XI?
    2. What tools we have to use to create it.?
    3. How to send the SOAP request to XI?
    Regards
    Sara

    Hi Sara,
    <i>1. Could you please tell me how to create the new webservice in XI?</i>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    <i>2. What tools we have to use to create it.?</i>
    /people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    Altova is also a good option
    <i>3. How to send the SOAP request to XI?</i>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    SAP Note 856597
    An Add-on
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Regards,
    Prateek

  • How to create a new session in JSP file

    Usually a child IE window uses same session with parent window. Dose someone know how to create a new session when creating a new IE window by clicking a URL in parent window? The web page is writen by jsp file.

    I am not sure of your question. Are you wanting to have 2 Session objects (one for the parent window and another for the child)?
    A session is usually created once per client and is stored on the server the session id is carried around in a cookie or a URL rewrite so that everytime the user submits a page you will be able to store/access information.
    // this will create a new session object if one doesn't already exist.
    HttpServletRequest.getSession( true );
    Hope this helps

  • How to create a new value for template classification??

    I want to classify a workflow template, I mean I will not classify my template as a general task. Using TA PFTC_CHG I get a list with all the entries that a customized in my system. My question is how to create a new entry in that list? System is 46C.
    thanks in advance for any hints
    Jochen Winler

    Hi Jochen,
    Follow the customiztion path:
    SAP Web Application server->Business Mgmt->SAP Business WF->Basic Settings->Maintain task classes
    (For 4.6c the path is:
    Basis Components->Business Mgmt->SAP Business WF->Basic Settings->Maintain task classes)
    By this you can maintain task class entry as you required.
    Hope this helps.
    Pls. close the thread once your problem is solved.
    Regds,
    Akshay Bhagwat
    Note: Pls. reward with points if it helps:)
    Message was edited by: Akshay Bhagwat
    Message was edited by: Akshay Bhagwat

  • How to create a new user account?

    Hi,
    Could you point me to the document/maunal on
    how to create a new user account for OS X 10.4?
    I somehow couldn't find that from Apple web site.
    And I found one here:
    http://www.mcelhearn.com/article.php?story=2004110211244242
    and followed the instruction:
    # echo 'henry::512:512::0:0:Henry James:/Users/henry:/bin/bash' | sudo niload -v passwd /
    but nothing happened. Either this doesn't work with
    V10.4 (which I use), or I missed something.
    Any pointer would be much apprecaited.
    Thanks.
    Macbook Pro   Mac OS X (10.4)  

    Hi Allan and Simon,
    Thanks for your responses.
    Sorry I didn't make my question clear. I meant:
    "How to create a new user account with command line"?
    The GUI (System Preference) would work. But I'd like
    to how to do it from command line (just like on Unix).
    Any inputs would be appreciated.
    Thank you.
    Macbook Pro Mac OS X (10.4)
    Macbook Pro Mac OS X (10.4)

  • How to create a new user over HTTPS

    Hi. I have set up conf.xml and web.xml so that when the user accesses a page in the secure area of the website, then they are taken to a login page where they enter their username and password and the form calls j_security_check on the server. All this happens over SSL as the transport garauntee is CONFIDENTIAL. But how to create a new user over HTTPS? If I have a create new account pages in the secure area of the website, then the only way the user can access these pages is by logging in, but they don't have a login as yet.

    An update. It looks that if the auth-constraint section (which lists the roles that can access this area) is missing, then everyone can access the region and it is over HTTPS. So far, the following seems to be working
       <security-constraint>
          <display-name>View My Account</display-name>
          <web-resource-collection>
             <web-resource-name>My Account Area</web-resource-name>
             <url-pattern>/myaccount/*</url-pattern>
          </web-resource-collection>
          <auth-constraint>
             <role-name>myrole</role-name>
          </auth-constraint>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>
       <login-config>
          <auth-method>FORM</auth-method>
          <realm-name>Form-Based Authentication Area</realm-name>
          <form-login-config>
             <form-login-page>/newaccount/login.html</form-login-page>
             <form-error-page>/newaccount/loginerr.html</form-error-page>
          </form-login-config>
       </login-config>
       <security-role>
          <role-name>myrole</role-name>
       </security-role>
       <security-constraint>
          <display-name>Create New Account</display-name>
          <web-resource-collection>
             <web-resource-name>New Account Area</web-resource-name>
             <url-pattern>/newaccount/*</url-pattern>
          </web-resource-collection>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>

  • How to create a new System Data

    Hi guys.
    I need to create a new System Data with which to filter a list output using a field derivated from siebel marketing. This data isn't between the standard system data like CampaingCode, SegmentId .....
    Now i discover one .XML file (someting like Marketing....xml), in the OracleBIData/web/config directory, in which there are defined all the standard System data like:
    <WebExpression>
    </WebExpression>
    Can I try to modify this file and add a new system data? if the answere is YES, hao i can do this? My real problem is how take a system value, from siebel marketing, to assign at this new systme data.
    Thanks in advance
    Best reguards

    Hi
    thanks for your solution,
    i created a new Data carrier type AC for viewing auto cad files and given the path as, C:\Program Files\AutoCAD 2006\acad.exe"
    and at Define serveres and files or folders,
    defined the data carrier as Autocad type was default as AC,
    at Identify frontend computers i could not enter any thing it is only in display form and no values were there and niether could be entered.
    and my datacarrier created is not there to be selected while creating documents.
    through CV01N create documents.
    i suppose this is because i have already defaulted PC as the data carrier type. default system as my data carrier.
    please clarify my Below douts also
    as in my configuration i have defined only one Datacarrier ie Default PC, will this do all the need full, or will lead to to any complication in any aspect,
    i want to know what is the Advantages of defining many datacarriers or the Limitation of a single Datacarrier.
    iam facing a situation where a particular software say PDF reader or AutoCAD, is not installed in all the System. and iam thinking of installing this Software in a particular System or say in the Content Server system.
    can this software be made used to view these cad and Pdf files on the front end system where this software is not installed,
    Say in a particular PC the software AutoCAD is not installed and if he wants to View the AutoCAD file,
    another problem iam facing is
    while Creating a New AutoCAD file in my system through DMS Create, it gives a message "Drawing file is not Valid"
    while i can create a Word Doc File, but it is not possible to create a new AutoCAD file throuh DMS, (AutoCAD is Installed in my system)
    also i have no idea of how to create a New Data carrier type,
    what exactly have to be filled in
    1, define data carrier type
    2, define server and files or folder
    3, identify frontend computers
    please provide configuration details or if possible screen shot details
    points will be awarded for sure.
    Thanks and Regards
    Sathish

  • How to create a new blog

    Hi people,
    I know that are a stupid question, but here I go. Anayone can help how to create a new blog in Owc Wiki? I can just create new Wiki Pages. There's a blog created when I create a new domain, I would like delete this and create new blogs.
    I'm using URL http://172.20.1.210:8890/owc_wiki/domain/activities.jz to acess my administration. I won't use webcenter custom application to create a new blog, I just want create in Blog tool.
    Thks in advance
    Nelson

    First of all, there's no such a thing as "stupid question". If you have this question we might not have it well documented.
    Wiki Server and Blog Server is the same thing. When you login to owc_wiki, there is a item on the top menu called owc_wiki Blog. Click there and on the left menu you will see:
    Entries
    Blog Home
    Add New Entry
    Click on "Add New Entry" to create a new post.
    Now comes my tips:
    1. There are web services that you can invoke to manipulate the blogs if you don't want to use Oracle's Interface.
    2. If you only want to remove the outerframe you can add "&inline=1" at the end of the url. Try it on your browser.
    Have fun.

  • How to create a new file

    hello
        how to create a new file myfile.txt in folowing URL
         http://www.mydomain.com/upload/myfile.txtregards

    the_Orient wrote:
    corrected code
    I will to create a text file on webserver
    this file hasethe content "Hello World"
    </div>
    try
    String  S="Hello World"
         URL url = new URL("http://www.mydomain.com");
         URLConnection hpCon = url.openConnection();
         hpCon.setDoOutput(true);
         File file = new File("http://www.mydomain.com/studentes/info.txt");
         file.createNewFile();
    // how to use FileOutputStream  here
    OutputStreamWriter out = new OutputStreamWriter(hpCon.getOutputStream());
         out.write(content);
         out.close();
    }catch(Exception ex){ex.printStackTrace();}     
    Exception :
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    {code}
    regards
    Whoa! Do you know what you're doing? Do you have permission to write on that URL? Or does the pathname parameter you passed on File is correct? How about let the server-side handle the creation of file for you by just requesting it? Do you know how to create a server-side Java program (e.i. Servlet)? Umm.. There's a Java tutorial for this for you to get started: [Reading from and Writing to a URLConnection|http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html].
    Ron
    Server-Side Development Team
    [Java-Man 2004|https://sites.google.com/site/raisoftware6/]

  • How to Create a new column from two different result sets

    How to Create a new column from two different result sets, both the result set uses the different date dimensions.

    i got solutions for this is apply filters in column formula it self, based on the requirement.

  • How to create a new connection from SAPGUI to Test drive?

    Hi,
    I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
    I entered the following values for my new connection entry
    Description: SAP Netweaver
    Application server: 192.168.1.160
    Instance number: 01
    System ID: DB2
    SAProuter: /H/192.168.1.160/S/3201/H/
    But it does not work. Any idea about the values needed  for creating a new entry?
    Thanks in advance,
    Dariyoosh

    >
    Dibya R Das wrote:
    > Why are you entering a router string? Can't you reach a box directly from your machine?
    >
    > Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
    >
    > Remove the router string you wont need if the above works.
    >
    > - Regards, Dibya
    Hello there,
    Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
    Kind Regards,
    Dariyoosh

  • How to create a new facebook account in iphoto?

    How to create a new facebook account in iphoto?

    Instructions can be found by selecting iPhoto Help from the Help menu within iPhoto.

Maybe you are looking for

  • How to protect a pdf-file in a pdf-portfolio against extraction?

    How to protect a pdf-file in a pdf-portfolio against extraction?

  • Convert external documents to PDF and print

    Hi, I have a SAP script and with some help from SDN I am at point where I can convert this SAP script to PDF using the function module below CALL FUNCTION 'CONVERT_OTF' EXPORTING FORMAT = 'PDF' * MAX_LINEWIDTH = 132 * ARCHIVE_INDEX = ' ' * COPYNUMBER

  • How to update the loggedin user details using iuser

    Hi, our requirement is to edit and save the logged in user details retrieved from iusercontext. Please anyone help me out. please provide any sample code snippet regarding the same. Thank you, Hareesh Edited by: hareeshvenkat on Aug 30, 2011 12:42 PM

  • How to edit ALV report using function modules

    I have a ALV report , i want to edit the report using function modules. how can i do that... Edited by: ms kumar on Mar 6, 2008 3:24 PM

  • Making a FaceTime call on the touch

    SO how does that work with making a FT call from an iPod Touch to an IP4, when there is no data plan or "paid service" for the iPod Touch? Or is there? Or will the only one being charged be the IP4 owner? What if the call is enjoyed between two 2 tou