Results 1 to 1 of 1
- 06-28-2009, 09:19 PM #1
Member
- Join Date
- Jun 2009
- Posts
- 7
- Rep Power
- 0
Problem Running in Simple JSTL example
Dear All,
This is my first thread. I am having problem in running simple jstl application
Here is the directory structure(with root as webapps) and its contents.
(simplejstl)
(WEB-INF)
(classes)
message_en.properties
(lib)
jstl.jar
standard.jar
(tld)
All tld files of JSTL taglibs
web.xml
(jsp)
index.jsp
Here are the contents of each of the file except tlds
web.xml
<web-app>
<context-param>
<param-name>
javax.servlet.jsp.jstl.fmt.locale
</param-name>
<param-value>
en-US
</param-value>
</context-param>
<context-param>
<param-name>
javax.servlet.jsp.jstl.fmt.localizationContext
</param-name>
<param-value>
messages
</param-value>
</context-param>
</web-app>
messgae_en.properties
index.title=Testing JSTL
index.greeting=Welcome, JSTL testing successful
index.jsp
<HTML>
<HEAD>
<TITLE>
<fmt:message key="index.title"/>
</TITLE>
</HEAD>
<BODY>
<H2><fmt:message key="index.greeting"/></H2>
</BODY>
</HTML>
The output which i am getting after running application as
???index.greeting??? for headingThis is a program from JSTL book. What wrong with the application
???index.title??? for title bar
Bye
Arpit
Similar Threads
-
JSTL problem
By mihir66 in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-05-2009, 02:28 PM -
Problem is getting the data to browser(JSTL)
By freddieMaize in forum JavaServer Pages (JSP) and JSTLReplies: 6Last Post: 07-15-2008, 03:04 PM -
Problem in running ant
By sireesha in forum New To JavaReplies: 4Last Post: 05-30-2008, 06:10 PM -
jsp running problem
By bharanikumariyerjava in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-29-2008, 10:48 AM -
Problem using jstl and displaytags
By NikhilSrivastava in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 02-18-2008, 11:01 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks