Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

problem in jsp/jstl

Thread view: 
vasu - 07 Nov 2005 14:13 GMT
hi
i am new to jsp and i am learning it from oreilly JSP by Bergsten, the
psoblem is that when i try to run an example from book
....
1+2+3=<c:out value="{1+2+3}">
...
then only template text appears
i m using tomcat 4.1 and download jstl1.1 jar files, is it the possible
reason that jstl result is not visible, also as i don't have any idea
of XML so maybe my web.xml is wrong, i also have another question that
can't we made our jsp pages outside tomcat installtion directory ?
plz. help me
Bryce - 07 Nov 2005 14:24 GMT
>hi
>i am new to jsp and i am learning it from oreilly JSP by Bergsten, the
>psoblem is that when i try to run an example from book
>....
>1+2+3=<c:out value="{1+2+3}">

Don't forget to close your tag, its requirred in XML
1+2+3=<c:out value="{1+2+3}"/>

>...
>then only template text appears
[quoted text clipped - 3 lines]
>can't we made our jsp pages outside tomcat installtion directory ?
>plz. help me

Where did you put the jstl1.1.jar file?

No, you cannot run a JSP page outside the web app.

--
now with more cowbell
vasu - 07 Nov 2005 15:07 GMT
there is no jstl1.1 but jstl and there is another file called
standard.jar
i copy both of them in /common/lib and /webapps/Root/web-inf/lib
in /root/web-inf/ there was no lib directory previously so i made it


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.