If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-22-04, 12:54
pranav610 pranav610 is offline
Registered User
 
Join Date: Jan 2004
Posts: 25
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 13:02.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On