How do I install and use JSP tags?

could some one show me how to use the tags that is available in http://www.servletsuite.com/jsp.htm? It comes with .jar and tld but I have no idea what to do with them. I am new to JSP so please forgive me if it is a dumb quesion, Thanks.

See my code below, I can use the sql and core but I cannot use the dbtag, it complains unable to connect. I am not sure if I enter the driver and URL correctly. Hopefully that is the right format.
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.servletsuite.com/servlets/dbtag" prefix="dbtag" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<sql:query var="rs" dataSource="jdbc/SangwebDB">
select name,username,email from sangweb_users
</sql:query>
<h2>Results</h2>
<c:forEach var="row" items="${rs.rows}">
name ${row.name}
email ${row.email}
</c:forEach>
<dbtag:openConnection driver="com.mysql.jdbc.Driver'" url="jdbc:mysql://localhost:3306/sangweb?autoReconnect=true" user="testuser" password="testuser" id="A"/>
<dbtag:ifError id="A">
<br>Could not connect to database
<br>Error is: <dbtag:getError id="A"/>
</dbtag:ifError>
<dbtag:setQuery id="A" query="select name,username,email from sangweb_users" res="B" />
Found <dbtag:getCount res="B"/> records
<dbtag:closeConnection id="A" />
</body>
</html>

Similar Messages

  • I want to buy photoshop creative cloud for teams, how users can install and use it?

    i want to buy photoshop creative cloud for teams, how users can install and use it?

    Cancel old and buy new is the only way I know, but you MAY be able to exchange
    Return, cancel, or exchange an Adobe order

  • How can I install and use a mouse on an iPad.

    How can I install and use a mouse on an iPad?

    This has come up a number of times over the years...you cannot use a mouse with an iOS device such as the iPad since there is no cursor to move around.  Interface has to be via the touch screen.

  • How can I install and use my purschased CD of cs6, without renewing my Creative Cloud subscription?

    I previously had a CS6 subscription through the cloud but after my year subscription was up, I decided to purchase the CD and install because I didn't like the idea of not being able to access my files without monthly payments. After I uninstalled the programs from my subscription, I installed my purchased disc of CS6 and when I went to open InDesign, an expiration message pops up telling me to renew my subscription? How can I get rid of that message and use my product?

    make sure cc desktop app is uninstalled and then run the cleaner, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    after your system is cleared of cc apps, open a cs6 app > click help > click activate and use your serial number.

  • How do I Install And Use Plugins

    I have a plugin I had made for acrobat 9.4. Recently I upgraded my Acrobat to 10.5. Docs that i have read say the plugin should work in 10.5. I dropped the plugin   here    C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\plug_ins.   but It does not appear in any of the tools
    Can any one tell me if a plugin from 9.4 will work in 10.5  and how do I install it and where does it show up?
    Thanks for the help

    The Advanced menu item was removed by Adobe in Acrobat X. Don't know what a plug-in would do. It probably needs an update.
    It's very optimistic to think a plug-in written for one version of Acrobat will run without issues in a future version. The issues aren't usually big, but there's more often something than not.

  • Problems with Yosemite update and hardrive space! How can I install and use macbook again?

    I went to upload Yosemite but didnt have enough space on my hardrive. Now when I turn on my computer it tries to install - gets to about 15 minutes and then stops and says theres a problem extracting files from essential.
    There isnt enough room on my hardrive to install Yosemite. I now cannot use my macbook. I cannot access any of my files, documents, apps, itunes ect. I dont know how to free up space on the hardrive when I cannot access anything.
    tried to boot in safe mode but it will not let me. Stuck and unable to use computer. HELP!

    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your newly installed hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    This should restore the version of OS X originally pre-installed on the computer.

  • How to successfully install and use Adobe Flash Player on an iMac?

    I have the latest OS X 10.8 Mountain Lion.  It makes actually several years that I have not been able to view videos that use Adobe Flash Player.  This is true of several sports websites I like such as ATPtour.com and ESPN.com.  A few days ago I have upgraded my OS to the most current one.  And, I retried downloading Adobe Flash Player and it made no difference.  I tried to see the videos using numerous different browzers (Safari, Chrome, Firefox) with no success. 
    I know Steve jobs hated Adobe Flash Player because it was so inefficient.  But, I thought one could still use it with Mac computers.  Are you guys having as much difficulty as I am?  If not what are the solutions to running Adobe Flash Player?  Thank you in advance for your information.  

  • How do I install and use Photoshop actions

    I downloaded a zipped file with actions.  I've left the file zipped until I learn how to install the actions in Photoshop CC.  Any help will be appreciated.

    The Advanced menu item was removed by Adobe in Acrobat X. Don't know what a plug-in would do. It probably needs an update.
    It's very optimistic to think a plug-in written for one version of Acrobat will run without issues in a future version. The issues aren't usually big, but there's more often something than not.

  • How do i install and use the lacie hard disk

    i bought the 1TB Lacie Rugged Hard Drive because I have run out of disk space on my Mac desktop. Once I plug it in, I can't seem to format it for the Mac and then use it to transfer my iPhoto library from my desktop to the Lacie Hard drive. Please help! Thanks.

    I went into Disk Utility and into Erase and selected Mac OS Journaled and hit "Erase" (I hope that wasn't a big mistake.)
    ... it was only a mistake if the LaCie drive has multiple partitions on it. Sometimes they have a utiliy partition that I like to remove.
    Then when asked whether I wanted to use Time Machine to back up everything on my Mac, I hit "yes". (I hope that wasn't a big mistake.)
    ... it was only a mistake if you didn't want TimeMachine to use it.
    So now the Lacie image on my desktop has turned from orange to green (Time Machine?) and is backing up 700,000 things. . .I just want to free up space on my Mac so I was thinking of moving my iPhoto library from my Mac over to the Lacie Hard Drive. Will I be able to still do that, given what I just did above? If so, do I just drag the iPhoto library icon onto the green (Time Machine?) icon on my desktop?
    ... if the LaCie has enough space this should be fine. You might run into problems later when TimeMachine starts to fill up your drive; iPhoto might start giving you errors if there isn't enough freespace.

  • How can I install and use Axis with Weblogic 5.1 ?

    Did anyone try to install Axis on Weblogic ?
    Thanks.

    http://xml.apache.org/soap/faq/faq_chawke.html#Q2_30

  • Problem with OCI call  and  how to install and use 'DEBUG_EXTPROC' on Linux

    Hi,
    Can any one let me know how I can install and use this debug_extproc package. I have installed oracle XE server on Linux machine(32-bit).
    When I use : DEBUG_EXTPROC.STARTUP_EXTPROC_AGENT' ... i get an error saying that : it is not declared.
    I tried looking in all the directories but did not find the dbgextp.sql(which is required in order to install that package).And tried searching on google but could not get any relevant information.
    Also I am newbie to OCI call interface and also to C programming too: I have coded a external procedure or custom user aggregate in C. But since I was using C++ : 'set' STL. I have compiled my program using g++ instead of gcc and I have correspondingly modified the make file in public/demo directory.
    So, is it fine to do it that way: using OCI (instead of OCCI(C++)) but again compiling the pgm as a regular C++ using g++ instead of gcc.(But rest of the pgm including printf statements : everything is in C).
    Also I have created the library from my : custagg.so library:
    SQL> create or replace library custagg is '$ORACLE_HOME/lib/custagg.so'
    But my aggregate function implemented as external C function using OCI is either not recognised or else : if recognized then there is some error because of which i am getting the following errors : ORA-06522
    SQL> select MinDistance(TT) from egg1;
    select MinDistance(TT) from egg1
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
    cannot dynamically load executable
    Please kindly answers my queries and trying to resolve this for almost 4 days now and could not find any clue on how to get this done.
    Thanks,
    -NN

    #/bin/make
    # Make file for OCI,OCCI and ODBC demos
    # Usage :
    # For compiling & linking the cdemo81.c file
    # make -f demo_xe.mk buildoci CDEMOEXE=cdemo81 CDEMOOBJS=cdemo81.o
    .SUFFIXES: .o .c .cpp
    ICINCHOME=$(ORACLE_HOME)/rdbms/public/
    ICLIBHOME=$(ORACLE_HOME)/lib
    ICLIBPATH=-L$(ICLIBHOME)
    THREADLIBS=-lthread
    CCLIB=$(ICLIBPATH) -lclntsh $(THREADLIBS)
    OCCILIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
    CCINCLUDES = -I$(ICINCHOME)
    CCFLAGS=$(CCINCLUDES) -D_REENTRANT -g -xs
    LDFLAGS=
    SO_EXT=.so
    EXTLDFLAGS=$(LDFLAGS) -shared
    REMOVE=rm -rf
    MKLINK=ln
    MAKE=make
    MAKEFILE=demo_xe.mk
    CDEMOEXE=custagg.so
    CDEMOOBJS=custagg.o
    OCCIDEMO=occidml
    OCCIOBJDEMO=occiobj
    OTT=$(ORACLE_HOME)/bin/ott
    OCCIOTTUSR=hr
    OCCIOTTPWD=hr
    ODBCDEMOEXE=odbcdemo
    ODBCDEMOOBJS=odbcdemo.o
    AQDEMOEXE=ociaqdemo00
    AQDEMOOBJS=ociaqdemo00.o
    EXTDEMO=extdemo2.so
    CC=/usr/bin/g++
    echo "LIBCLNT value is :" $(LIBCLNT)
    echo "CC value is :" $(CC)
    .c.o:
    g++ -c -I$(ICINCHOME) $(CCFLAGS) $<
    all: clean buildoci
    echo "LIBCLNT value is :" $(LIBCLNT)
    buildoci: $(LIBCLNT) $(CDEMOOBJS)
    g++ -o $(CDEMOEXE) $(LDFLAGS) $(CDEMOOBJS) $(CCLIB)
    echo "CC value is :" $(CC)
    echo "LIBCLNT value is :" $(LIBCLNT)
    clean:
    $(REMOVE) $(CDEMOOBJS) $(CDEMOEXE)
    # This port-specific file is currently empty on Solaris. Product
    # lines may use this file to override compiler definitions and
    # flags used in occi.mk.
    # Linux compiler definitions
    CC=/usr/bin/gcc
    cc=/usr/bin/gcc
    CCFLAGS=$(CCINCLUDES) -DLINUX -D_GNU_SOURCE -D_REENTRANT -g
    LDFLAGS=-g
    # This macro CCINCLUDES has to be redefined on Linux because of
    # the existence of the 'new' directory in t_work. The name new
    # clashes with a system header file.
    CCINCLUDES = -idirafter .
    THREADLIBS=-lpthread
    ifdef BUILD_CCC296
    CC=/usr/bin/g++296
    endif
    And I am executing the make file using the command :
    make -f demo12.mk buildoci CDEMOEXE=custagg.so CDEMOOBJS=custagg.o
    I am not getting any error while running this make file.
    Can you please tell me whether PLSQL/Oracle is able to locate the file or not. Incase, if it is locating the file but due to some error in the custagg.so it is throwing that error. If this is the case, is there any way that i can debug the C program .....how can i install the debug_extproc package.. I am really new to C & OCI ... if the custagg.so is being located then there might be some problem with the way I am dynamically allocating memory to some variables.
    Please kindly reply to this Post/response.
    Please let me know if you also want to see my program code.
    Thanks & Regards,
    -NN

  • How to install and use Java v1.6 in addition of v1.5 for SoaSuite?

    As far as I know the highest Java version with which SoaSuite is running is v1.5 (resp.5).
    Assume I want to (have to) use version v1.6 (for other programs on my computer):
    How can I install and use v1.6 as second Java installation ?
    If I simply install v1.6 then Oracle SoaSuite refuses to run.
    So I have to tell SoaSuite to use an older version on my hard disc.
    How can I do this?
    Is there a single point of reference for the SoaSuite which java location location to use?
    What about the environment variables JAVA_HOME and PATH?
    Or is there an entry in the Application Server settings or any batch script which must be adjusted?
    Peter

    SOA Suite is certified for Java 6.
    Look at metalink note 444462.1 which gives instructions on how to achieve this. You will need to upgrade to 10.1.3.4 though.
    Its fairly straight forward, as SOA Suite uses the JDK from the ORACLE_HOME. This can be changed by editing the opmn.xml file found in SOA_HOME/opmn/config
    Backup the original JDK in the Oracle Home and copy over the new Java 6 into the ORACLE_HOME:
    Example:
    $ cd $ORACLE_HOME
    $ mv jdk jdk.orig
    $ cp –rp <directorypath_to_java6> jdk
    Verify that the new JDK is working by executing:
    $ORACLE_HOME/jdk/bin/java -version
    cheers
    James

  • How to get the values of an Array using JSP Tags

    Hey guys,
    I need some help. I've splited a String using
    fn:split(String, delim) where String = "1,2,3,4" and delim is ,
    This method returns an Array of splited Strings. how do i get the values from this array using jsp tags. I don't wanna put java code to achive that.
    Any help would be highly appreciated
    Thanks

    The JSTL forEach tag.
    In fact if all you want to do is iterate over the comma separated list, the forEach tag supports that without having to use the split function.
    <c:set var="list" value="1,2,3,4"/>
    <c:forEach var="num" items="${list}">
      <c:out value="${num}"/>
    </c:forEach>The c:forTokens method will let you do this with delimiters other than a comma, but the forEach tag works well just with the comma-delimited string.

  • How to install and use a plug-in downloaded from the apple site?

    how to install and use a plug-in downloaded from the apple site?

    Emelie,
    which plug-in do you want to install?
    some of the plug-ins come with an installer on the disk image, you click the installer and it will install it in its proper location.
    For others you move the plug-in into to System Library or your User Library:
      Your Hard disk  > Library > Application Support >Aperture > Plug-Ins > Edit
    or
    Your Home Folder > Library > Application Support >Aperture > Plug-Ins > Edit
    If it is an "Edit" plug-in, it goes into the "Edit" subfolder, "Export" plug-ins into the "Export" subfolder.
    You can tell by the extension, what kind of plug-in it is.
    E.G. BorderFX.ApertureExport is an export plug-in, BorderFXEditPlugin.ApertureEdit an edit plug-in.
    Regards
    Léonie
    P.S. In OS Lion the Libraries are hidden by default: To reveal your User Library activate the Finder and select from the main Finder menu:
        Finder >  Go , then hold down the ⌥-option-key, untill the Library appears in the drop.down menu.
    To show the System Library:
         Finder >  Go > Go to Folder
    then enter   / Library

  • How to install and use DBXML package in Ubuntu Server 8.04 64bit

    Hi all.
    I used to install and use DBXML in Ubuntu Desktop 8.04 32bit. Now I want to use on Ubuntu Server 8.04 64bit.
    This is code for my installation (I use DBXML 2.2.13)
    env CFLAGS="-O0" sh buildall.sh enable-java with-xerces="xerces-c-src" with-berkeleydb-prefix="/usr/local/BerkeleyDB.4.3" with-xerces-prefix="/usr/local" with-pathan-prefix="/usr/local" with-xquery-prefix="/usr/local/BerkeleyDB.XQuery.1.2" --with-dbxml-prefix="/usr/local/BerkeleyDBXML.2.2"
    After installing, I could open Container, get Document, but when print the result (by "print" command), it failed. (stdin:3: print failed, Error: nsUnmarshalNode overlap File: Nsutil.cpp Line: 2358). Of course, all above commands run successfully with Ubuntu Desktop 8.04 32bit.
    Can you tell me which differences between 2 OS version and how to fix it
    Thanks

    Hello,
    Make sure that you are building a 64-bit version for the 64-bit platform. It's possible that you have mismatched some libraries. Be sure to add "-b 64" to buildall.sh. When you are done run the "file" command on all of the libraries in <path-to-install>/lib to see if they have been built 64-bit.
    That error looks like a 32- vs 64-bit issue of some sort.
    Regards,
    George

Maybe you are looking for

  • Driver cart graphic for HP Pavilion 15 win 8.1 - 64bits

    Hi plz  i need this driver for HP Pavilion 15 win 8.1 - 64bits 

  • NT DETECT failed

    Setup is inspecting your computer's hardware configuration.......... When trying to install Windows XP with bootcamp. I can't even get the WindowsXP disk to eject. Any suggestions? Message was edited by: jlcford

  • Keep getting Error 6 from TDMS Deframent VI (LV 2009)

    After closing my TDMS file I run the TDMS Defragment VI and keep getting Error 6 (generic file error). What could be causing this? George

  • Problem installing Skype- This operation cannot be completed...

    I'm pretty new to all this mac stuff. I downloaded skype, I extracted the dmg file and the skype icon attached onto the desktop, however when I try to copy this into the applications folder I get the following error: "The operation cannot be complete

  • E6-00 will not send or receive email

    Hi all, I have only had this phone for 4 days. I set up my iinet account, set up was fine downloaded all my messages. after I did the phone update (I thing OS)it seems to have stopped, I can't send or receive. I have been through all the settings and