On Jul 26, 8:26 pm, Arne Vajh?j <a...@vajhoej.dk> wrote:
Dave Miller wrote:
Prashanth wrote:
I am new to java programming. I need to know, where to put the .jar
files, because the taglib directive element inside a .jsp file/program
did not work, it gave an error message.
Also, where to place other addons.
Suggest any references to look into later....
Recommended practice depends on the container that you're using to run
the .jsp - which are you using?
WEB-INF/lib inside the war file should work with any container
since it i specified in the standard.
It requires one to deploy war files instead of messing
around directly in the file system - and deployment of war
file is still container specific. But still a good approach
IMHO.
The following statements give an error message....
<%@ page language='java' contentType='text/html' %>
<html>
<head><title>Taglib Directive'</title></head>
<body>
<b><u>Monthly Sales</u></b><br/>
<%@ taglib uri='taglib.tld' prefix='bar' %>
<bar:Vbar width='200' height='75'
bgcolor='#C0C0C0' fgcolor='#000000'
values='4,3,6,8,7' labels='J,F,M,A,M' />
</body>
</html>
What is wrong with the above ? .....