Results 1 to 1 of 1

Thread: Linux

  1. #1
    Join Date
    Jan 2004
    Posts
    25

    Unanswered: Linux

    havent worked with liux in a while, especially sed function. Wondering if someone could help me with the following:

    in a servlet, i want to add the following:

    @web.servlet name = "xxx" display-name = "xxx" @web.servlet-mapping url-patern = "/xxx.xxx/*"

    code in the servlet looks:

    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;

    /**
    *Description of the classes
    *
    *@author
    *@created
    */

    After adding, the code should look:

    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;

    /**
    *Description of the classes
    *@web.servlet name = "xxx"
    *display-name = "xxx"
    *@web.servlet-mapping url-patern = "/xxx.xxx/*"
    *@author
    *@created
    */

    i know i should look for imports followed by /**, go the the next line and add the code.

    again, it has been a while since i have worked with linux, escpecially sed function.

    help will bw geatly appreciated.

    thank u
    Last edited by pranav610; 01-22-04 at 14:02.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •