Bookmark Topic Watch Topic
  • New Topic

package

 
gaurav chhabra
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Report post to moderator
i have the code


import javax.servlet.http.*;
import javax.servlet.*;

public class greeting
{
public static void main(String args[])
{
System.out.println("jai shri ram");
}
}


as soon as i try to compile it it says that above package does not exist.

from where to download this package.

please tell me .i m gettin frustrate

thank you
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Report post to moderator
Gaurav,
you need to have the servlet.jar in your classpath .

Raj
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Report post to moderator
you should be able to download it from

http://www.mycgiserver.com/~ranab/download/
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is basically a duplicate post of your other thread called "Package" So I am going to close this thread.

Please refrain from duplicate postings.

Thanks

Mark
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!