Help about JSTL
can u please help me out.......
i am new to JSTL can u plese tell me do i requirements like jars for implementing JSTL
Thanks in advance........
Bye..............
You need to install JSTL.
You can download from here:
http://jakarta.apache.org/site/downloads/downloads_taglibs.html
Download:
JSP1.2 container (eg Tomcat 4) : Standard 1.0 Taglib
JSP2.0 container (eg Tomcat 5) : Standard 1.1 Taglib
Make sure you get the right version for your server.
Read the readme with the download. It details any requirements.
Most of them are included as standard with java 1.4.2
To install: copy standard.jar and jstl.jar to your web-inf/lib directory
Good luck,
evnafets
Similar Messages
-
Help about JSTL: I can't use c:if .. in option.. !
Hi, all
I build my project on STRUTS before, and using the tableligs of struts,But now ,I find it is a good choice using JSTL.However ,problems accurred as follows:
(my project is on Eclipse and Tomcat)
In the page , I have already include that:
<%@ taglib uri="/jstl/core" prefix="c" %>
<%@ taglib uri="/jstl/fn" prefix="fn" %>
<%@ page isELIgnored="false"%>
In web.xml, I added that :
<taglib>
<taglib-uri>/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/jstl/fn</taglib-uri>
<taglib-location>/WEB-INF/fn.tld</taglib-location>
</taglib>
Problem occur here:
<select name="category">
<option value="IM1" <c:if test="${CCOption == 0}"> selected</c:if> ><bean:message key="IM1"/></option>
but the system told that " undefined attribute name <c:if .... " that is to say, they cannot find the tag in this page,but I have try to put the <c:if to ..>out , not in the <option...> ,then that is OK.
But in fact ,we can use the tag <c:if....> in such as <option...> and so on . I don't know why I can't.
By the way, in jslt 1.1, JSTl.jar/standard.jar have 15 .tld files , I don't
know what are the differences among the file c-1_0-rt.tld, c-1_0.tld and c.tld(which are inclued in the 15 tld files)?How can I set up JSTL in my Tomcat?
Look forward for your help!
Many thanks in advance!You may find it useful to go and read [url http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0] this post. (reply #6)
Basically you are making a whole lot of work for yourself that you don't need.
JSTL doesn't need the tld files in WEB-INF.
It doesn't need entries in web.xml
All it needs is you to use the standard import URI: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
So get rid of those tlds. Leave them hidden inside the jar file. Tomcat will find them there.
The other thing of not is the <%@ page isELIgnored="false"%> attribute you have.
You only need this because your web.xml is defining itself as version2.3.
If you update your web.xml to version2.4, EL is enabled by default
Hope this helps,
evnafets -
Hi,all
I have a question about JSTL configure. I' m learning jsp ,but i don't know how can i use the JSTL under the tomcat5.0 and jdk1.5 in the windows os.
I have installed the Tomcat 5.0 and jdk1.5 in the windows sys right, copyed the standard.jar and the jstl.jar to my working forlder'WEB-INF/lib forlder,and copyed the 15 .ltd file to the WEB-INF forlder. And i have configure the web.xml file .
But JSTL did not worked.
I come from china,is a new. Who can help me,giving me some advises?Make sure that you have the version 1.1 of jstl. Go to [url http://jakarta.apache.org/site/downloads/downloads_taglibs.html] this jakarta page and click on the jstl 1.1 taglibs.
Copy the jstl.jar and standard.jar onto WEB-INF/lib of your web application.
You neednt copy the tlds seperately. The server will pick up the tlds from the jar files. Neither need you have to have web.xml entries.
Specify that your web application complies to servlet 2.4 standards. Note Tomcat 5.x and above implements the servlet 2.4 spec.
Also your web.xml should have the following declaration
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
//other elements
</web-app>Finally open a jsp, define the following taglib directive and you are on your way -
<%@page import="java.util.*" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
List data = new ArrayList();
data.add("A");
data.add("B");
data.add("C");
request.setAttribute("col",data);
%>
<c:out value = "${col}"/><br>
<u>Using a for loop</u>
<c:forEach items="${col}" var="eachItem">
${eachItem}
</c:forEach>ram. -
HELP about analog output video
Hello, I´m need help about analog output video in Premiere CS5 using Matrox RTX2. I need to crop a video with resolution in 1440x1080 to 4:3 in output analog. But what happens is wrong (I think). My video is in format anamorphic and the other option is 16:9 letterbox. Is there any way to crop the video without using effects. Thanks a Lot and sorry my bad english (my native language is Portuguese).
There are no 4:3 HD specifications. You'll have to put the video into a normal SD sequence, and scale it down till the top and bottom of the video meet the frame. That way the sides will be cut off.
-
Help about Warning Security IE 8.0
Hello Guys,
I need help about warning security IE 8.0.
When I try install a software from my webserver is display the following message:
I can't check the publisher.Are you sure install the software?
This file does not have a valide digital signature that verifies its publisher.
You should only install software from publishers you trust.
Well, I already enable:
Download signed ActiveX controls
Download unsigned ActiveX controls
Allow active content from CDs to run on user machines Enabled
Allow software to run or install even if the signature is invalid Enabled
Check for server certificate revocation Disabled
Check for signatures on downloaded programs Disabled
Is there somewhere I disable all settings warning's about IE or one specific GPO I need disable for this warning don't display for me?
In the same installation a lot of about file .cab are installed, only one specifc I don't have sucess.
I try some troubleshootings too:
https://social.technet.microsoft.com/Forums/windows/en-US/8f8293c4-0920-462f-9c69-0a8e3f92aa02/unknown-publishers-warning
https://www.youtube.com/watch?v=UknQn6tZZis
http://windows-3322.blogspot.com.br/2011/02/how-to-repair-activex-error.html
Thanks a lot who answer me or about any idea about my issue.This file does not have a valide digital signature that verifies its publisher.
Did you see your result
https://social.technet.microsoft.com/Forums/windows/en-US/8f8293c4-0920-462f-9c69-0a8e3f92aa02/unknown-publishers-warning
<quote>
Changing the time zone actually worked.
</quote>
Robert Aldwinckle -
This is the message when I Open Firefox:
"You're not on the latest version of Firefox. Upgrade today to get the best of the Web!"
At <Help> & <About Firefox>, it shows
Firefox
9.0.1
"Firefox is up to date"
"You are currently on the release update Channel"
One of those messages must be wrong. Either way Firefox seems to work fine otherwise. Thanks and regards, Peter SpielmanIs your homepage set to www.google.com/firefox? If so, that page is wrong. You should change your home page to about:home or some other site instead. The google.com/firefox page is no longer supported.
-
One of three user accounts on the same computer appears to not be updating to 8.0.1 correctly. One admin and one none admin user account says it is up-to-date. The other non-admin user account, under Help About Firefox says apply update, but won't.
As long as you installed MS Office into its default location (the top level /Applications folder) it will be available to all user accounts on the Mac.
As far as licensing is concerned you only have to enter the license code once, which you should do right after installing MS Office, in the same admin account you installed it from, by opening any one of the MS Office applications. There is no additional licensing required for additional user accounts on the same Mac.
Each user account is able to run the Office apps. The only thing you will have to do is go through an initial setup screen in each user account (but this setup does NOT involve entering any additional license codes).
You may have problems if you installed MS Office in a particular user account (i.e. NOT in the top level /Applications folder). -
Hi all,
DB:11.2.0.3.0
EBS:12.1.3
O/S: Sun Solaris SPARC 64 bits
I am not able to view Forms Server version in Help: About Oracle Applications after the forms upgrade 10.1.2.3.0 after the forms upgrade 10.1.2.3.0 as per note:Upgrading OracleAS 10g Forms and Reports to 10.1.2.3 (437878.1)
Java/jre upgraded to 1.7.0.45 and JAR files regenerated(without force option). Able to opne forms without any issues.
A)
$ORACLE_HOME/bin/frmcmp help=y
FRM-91500: Unable to start/complete the build.
B)
$ORACLE_HOME/bin/rwrun ?|grep Release
Report Builder: Release 10.1.2.3.0 - Production on Thu Nov
28 14:20:45 2013
Is this an issue? Could anyone please share the fix if faced the similar issue earlier.
Thank You for your time
Regards,Hi Hussein,
You mean reboot the solaris server and then start database and applications services. We have two databases running on this solaris server.
DBWR Trace file shows:
Read of datafile '+ASMDG002/test1/datafile/system.823.828585081' (fno 1) header failed with ORA-01206
Rereading datafile 1 header failed with ORA-01206
V10 STYLE FILE HEADER:
Compatibility Vsn = 186646528=0xb200000
Db ID=0=0x0, Db Name='TEST1'
Activation ID=0=0x0
Control Seq=31739=0x7bfb, File size=230400=0x38400
File Number=1, Blksiz=8192, File Type=3 DATA
Tablespace #0 - SYSTEM rel_fn:1
Creation at scn: 0x0000.00000004 04/27/2000 23:14:44
Backup taken at scn: 0x0001.db8e5a1a 04/17/2010 04:16:14 thread:1
reset logs count:0x316351ab scn: 0x0938.0b32c3b1
prev reset logs count:0x31279a4c scn: 0x0938.08469022
recovered at 11/28/2013 19:43:22
status:0x2004 root dba:0x00c38235 chkpt cnt: 364108 ctl cnt:364107
begin-hot-backup file size: 230400
Checkpointed at scn: 0x0938.0cb9fe5a 11/28/2013 15:04:52
thread:1 rba:(0x132.49a43.10)
enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000
Hot Backup end marker scn: 0x0000.00000000
aux_file is NOT DEFINED
Plugged readony: NO
Plugin scnscn: 0x0000.00000000
Plugin resetlogs scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Foreign creation scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Foreign checkpoint scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Online move state: 0
DDE rules only execution for: ORA 1110
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK'
(SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-01186: file 1 failed verification tests
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1:
'+ASMDG002/test1/datafile/system.823.828585081'
ORA-01206: file is not part of this database - wrong
database id
Thanks, -
How to Disable Check for updates button in Help/About in firefox 5.0
Hi the user should not manually check for updates so we want to disable the Check for updates button also in Help/About.
Thanks in advancedYou can hide that button with code in userChrome.css below the @namespace line.
* http://kb.mozillazine.org/userChrome.css
* http://kb.mozillazine.org/Editing_configuration
You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.
* ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html
<pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#aboutDialog #updateBox { display:none!important; }</nowiki></pre>
You can also choose to lock the related update pref(s) to false if you want to make sure.
See:
* http://kb.mozillazine.org/Locking_preferences
* http://kb.mozillazine.org/about:config -
Help about W2K Apache plug-in for WLS
Hi,everybody.
I want to use the W2K apache http server for redirect the dynamic request to
WLS. But i don't have the corresponding plug-in. Who can help me? or Who can
give me some hint about this?
Thanks in advance.
BR
Steven ZhaoHi Steven,
as far as I know there is no Apache Plugin for Windows Platform. Your
choice is either Unix->Apache or Windows->IIS. I think there is a
Netscape Plugin as well, but I don't know for which platforms.
Daniel
-----Original Message-----
From: Steven Zhao [mailto:[email protected]]
Posted At: Friday, October 20, 2000 6:02 AM
Posted To: management
Conversation: Help about W2K Apache plug-in for WLS
Subject: Help about W2K Apache plug-in for WLS
Hi,everybody.
I want to use the W2K apache http server for redirect the dynamic
request to
WLS. But i don't have the corresponding plug-in. Who can help me? or Who
can
give me some hint about this?
Thanks in advance.
BR
Steven Zhao -
Need help about Hidden Markov Model model
I want to make classification for EEG signal using Hidden Markov Model
algorithm based on neural network.
plz need help about how to implement this algorithm using LABVIEW.
if not I want another thing to make classification.
any one know information about this topic, send me a reply
thanksHave you derrived the HMM that you want to implement?
If so, post the algorithm and we can provide comments on how to implement it using LabVIEW.
Message Edited by Ray.R on 04-12-2010 12:54 PM -
Help about location based classes
Helo. i need some help about location classes(i use J2ME). i want to develop a gps compass application. when i connected to gps, orientation is shown on a compass.(for example if i go to northeast direction, compass indicator shows the direction between nort and east).
I made connecting GPS. Now i must draw a compass and show the direction informations on it. For doing this, which location classes i can use?
(i do search about this,but i didn't decide which class i should use. I thought that i can use Orientation class for this. I found a source code and tried it. According to this snippet source code about orientation class, my phone doesn't support Orientation class.But i found an application about gps compass, it works on phone. )i write this question CLDC{MIDP part.
Thanks... -
i am enrolled in the beta channel but because the notification popups are so quick i someties do not see that a new beta ver is available. i consult filehippo regularly to see what updates are out there but i want to have a way i can find what beta i'm at - Help|About Firefox doesn't get it - how can i find that? looked in registry but haven't found what i want
any idees?
ciao
sawI'm not trying to discredit your work. But I did actually read the workaround and it is valid. That is true. But still that's not an answer to my question nor an explanation for that design choice. It's a workaround for a software not displaying the exact version.
So why not jump in this thread if it exists? Why create a new thread with the same question? Also to apply your logic, why didn't anybody tell the user to use the stable version if he's incapable of figuring out the obvious? -
Which file in Omni.ja contains the version number in HELP | ABOUT
We are using Firefox in a corporate locked down environment.
we have made a number of changes to files in the OMNI.JA file to configure Firefox accordingly.
We now have a newer version of firefox to install/package however, when we replace the default omni.ja file in FF 10.0.10 and go into HELP | ABOUT it shows the version number of FF that the omni.ja file came from, ie 10.0.4.
Which file(s) need to be replaced in omni.ja so that when we select HELP | ABOUT it shows the correct version of 10.0.10 ?
regards
Billhello biffal, which changes to the omnia.ja file have you done originally? maybe there's a better way to do it, because this file will be overwritten by each & every firefox update...
-
9.5.3 Help / About reports version as 9.0.0
After downloading AcrobatUpd953_all_incr.msp, installing it to patch Acrobat from 9.5.2 to 9.5.3, and rebooting, when I select Help / About in Acrobat, the dialog shows the version of Acrobat as 9.0.0. When I open Control Panel / Programs and Features, it shows the version of Acrobat as 9.5.3, when I look at the properties of acrobat.exe the file version is 9.5.3.305, and in Acrobat if I open Help / About Adobe Plugins, all the plugin versions are shown as 9.5.3.305. So it looks as though it's just the About dialog that is screwed.
I checked with a friend who also has Acrobat 9, and he sees exactly the same bug. OS on both machines is Windows 7 x64.I tried this on my Win7 64 bit machine and its working fine.Please try repairing your Acrobat from control panel and see if it works.
Maybe you are looking for
-
How to download data into two different columns 2003 excel format in ole
Hi ALL when we download data into excel using ole with delimiter it works fine in 2007 but when we check this with 2003 format both fields come in only one column .Can any one suggest CONCATENATE WA_ALL-PERNR LV_ICNUM INTO WA_PERNR SEPARATED BY W
-
Hi all, I am doing a BPM for 1:n multimapping. Start->receive idoc->Transformation->send asynchronous->Stop. In the transformation, I have a source message and two target messages. I want to send this message as a single message to the receiving MQ s
-
Hi All, I am having problem with the display of an iView in TLN. I have a Role and an iView assigned to this Role. <b>Role |____iView</b> and iView has Launch in New Window property set to Display in separate Window. But the iView does not open
-
EA6300 cannot video stream from computer to Ipad on my local networt
I was previously using Video Stream (from Connect3) to stream videos from my computer to my Ipad with no problem. I was using a WRT400n and now have upgraded to the EA6300. Now my Ipad can no longer acces the server on the computer. I tried port forw
-
New iPad & iPhone app approved :)
Hi, I submitted my first iPad & iPhone game made in Flash to the AppStore a couple of days ago and it just got approved :-) You can check it out here: http://www.tictacfive.com Looking forward to new versions of the packager, missing a feature to loa