Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

include question

Posted on 2003-11-17
1
Medium Priority
?
191 Views
Last Modified: 2013-11-18
I am trying to compile a .java file which inclucdes 'include' statments pointing to javax.servlet.jsp. I don't actually have the .jsp part. Where can I find it?
0
Comment
Question by:danBosh
1 Comment
 
LVL 4

Accepted Solution

by:
vk33 earned 80 total points
ID: 9762752
Do you mean import (not include) statement?
javax.servlet.jsp package is located in servlet.jar archive. Add it to your classpath like this:

#javac -classpath $CATALINA_HOME/common/lib/servlet.jar *.java

Regards!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question