How can i use my own class

Hi everybody,
I am using javawebserver2.0
I have a class file(CreateTable.class) which i created to dynamically display the html table based on the query we pass as argument.
When I try to load the jsp file where i creating an instance of the class(CreateTable.java) it shows page cannot be displayed.
I have created the file alias in java web server to my local working directory (d:\\proejct\) as proj
And i stored my class file in my current working directory(d:\\project)
I dont know where do i wrong.
the code is
<%@ page language="java" contentType="text/html; charset=iso-8859-1" import="java.sql.*,java.io.*,test.clas.CreateTable" %>
<%
CreateTable ct=new CreateTable( );
%>

Please, see how work the TagLibs ....
There is a good tutorial :
http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html

Similar Messages

  • HOW CAN I USE MY OWN EMAIL FOR IMESSAGE IF I DONT HAVE MY OWN ACCOUNT

    HOW CAN I USE MY OWN EMAIL FOR IMESSAGE IF I DONT HAVE MY OWN ACCOUNT

    You have to achieve at least 500 points before you are able to do that.
    Award points, level up, and earn new privileges

  • How can i use my own Fonts in iCloud Pages?

    How can i use my own Fonts in iCloud Pages?

    Baluk wrote:
    And WebHosted Fonts like GoogleFonts?
    No.
    To tell Apple you want such features added, go to
    http://www.apple.com/feedback

  • How can I use java swing class in JSP page design

    I am a new developer in Java server pages. I want to use layout managers available in java swing classes to design the page. Can any body suggest me a way to do this.Is it possible if I do it with servelets.

    So, you want to use layout managers within your JSPs?
    The immediate answer is that "it isn't a good idea". The more considered answer is "tell us what you're up to".
    Are you coding all presentation within a traditional JSP? That is, HTML, customer or library tags and/java scriptlets?
    Or are you building your HTML within your servlets and sending that back to the browser?
    If the first, then you are probably better off either using explicit HTML tables (or the equivalent custom tags) or finding a library that you can use.
    If the second, you can write classes similar to the Swing layout managers that end up being a fancy way of putting elements into an HTML table. We have exactly that in my current environment. I wouldn't recommend rolling your own and I'd tend to leave all that presentation stuff to the JSP.
    In any case, you can't really use the Swing layout managers as they are for an entirely different pradigm.

  • How can I use my own photo for my avatar?

    I notice that some people have an avatar that is not on the table of available avatars.  Is there a way that I can use a photo from my iPhoto library for my Community Support avatar?

    You have to achieve at least 500 points before you are able to do that.
    Award points, level up, and earn new privileges

  • How can i use a number as ringtone

    i have bought several songs and even cd's in the itunes store, but how can i use any of those songs as a ringtone?
    do i have to buy the songs again but then as ringtone?
    or how can i use my own music as a ringtone?
    never had this problem with other phone from samsung or htc

    You can use your own music as a ringtone. There are many sites that have instructions on how to do it. Here's one:
    http://osxdaily.com/2010/09/04/make-free-iphone-ringtones-in-itunes-10/
    There are also some apps in the App Store that will let you convert songs. You'll still need to use iTunes to sync the ringtones back to your phone.
    If you have a Mac computer and Garageband, it's the easiest way to make ringtones on your computer. Just check the help files.

  • How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes?

    How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes? I wanted my teenager's AppleID to be different from mine so that she couldn't charge stuff to my AppleID, therefore I created me another one. Now when I go to Sync either device, it tells me that this IOS device can only be synced with one AppleID. Then I get a message to erase it, not going to do that, lol. If I logout as one ID and login as the other, will it still retain all synced information on the PC from the first IOS device? If I can just log in out of the AppleID, then I have no problem doing that as long as the synced apps, music, etc stays there for both. I am not trying to copy from one to the other, just want to make sure I have a backup for the UhOh times. If logging in and out on the same PC of multiple AppleIDs is acceptible then I need to be able to authorize the PC for both devices. Thanks for the help. I am new to the iOS world.

    "Method Three
    Create a separate iTunes library for each device. Note:It is important that you make a new iTunes Library file. Do not justmake a copy of your existing iTunes Library file. If iTunes is open,quit it.
    This one may work. I searched and searched on the website for something like this, I guess I just didn't search correctly, lol. I will give this a try later. My daughter is not be back for a few weekends, therefore I will have to try the Method 3 when she comes back for the weekend again. "
    I forgot to mention that she has a PC at her house that she also syncs to. Would this cause a problem. I am already getting that pop up saying that the iPod is synced to another library (even though she is signed in with her Apple ID to iTunes) and gives the pop up to Cancel, Erase & Sync, or Transfer Purchases. My question arose because she clicked on "Erase & Sync" by mistake when she plugged the iPod to her PC the first time. When the iPod was purchased and setup, it was synced to my PC first. When she went home, she hooked it up to her PC and then she erased it by accident. I was able to restore all the missing stuff yesterday using my PC. However, even after doing that it still told me the next time I hooked it up last night that the iPod was currently synced with a different library. Hopefully, you can help me understand all this. She wants to sync her iPod and also backup her iPod at both places. Both PCs have been authorised. Thanks

  • How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    It sounds like you are talking about the cloning tool?
    Tool looks like this:
    Then when selected you can change the size of the brush and using Alt (windows) and Command (Mac) to select your region you want to copy then start to create you cloned image.
    Hope this helps?

  • How can I use app find iPod  for my daughters iPod even if she has own acct Id?

    How can I use app find iPod  for my daughters iPod even if she has own acct Id?

    Hi,
    So far so good! I was successful with my first request-and thanks, but I guess i did not ask enough.
    New question: Is there any way for me to have my Apple devices show up with my daughters even though we have different apple id's? I was able to have her sign in and I could see but, if she doesn't sign in I can't see her device. She is only 15 and I going on a trip soon that I would like to just have security if she looses her device or I'll know she is okay. I don't want to sync and see everything, just the where abouts of the device. We were able to create a music folder for her music only and not mine- Success!
    Did I ask too much?
    Thanks for your quick reply!

  • What is inner class ,and how can I use it?thanks

    what is inner class ,and how can I use it?thanks

    Theres a whole chapter here http://developer.java.sun.com/developer/Books/certification/certbook.html (thanks to SSvetlana for pointing this one out).
    Col

  • How can I use iphoto with my epson printer to make my own cards?

    How can I use photos on macbook air and my own printer to make cards? I used to be able to -- but some software now only leads me to BUYING cards, or makes it seemingly impossible to manipulate the image so that I can see it on the size paper I will be using. This used to be do-able! How now? Thanks.

    When you redeem the gift card through iTunes on the computer, it goes onto your account which will allow you to purchase any item via your computer or your iPod becuase it is on your account

  • How can i make mt own radio station on iPad or iPhone.....and how to use mobile terminal ???

    How can i make mt own radio station on iPad or iPhone.....and how to use mobile terminal ???

    what do you mean radio station as in you would be transmitting fm to the airwaves?

  • I own lightroom 5 how can i use lightroom mobile

    I own lightroom 5.4 and I have a license.  How can i use lightroom mobile?
    Do I have to pay for CC for this feature?
    Thanks Brian

    One additional Note. One of the things you can do is to try Lightroom mobile free for 30 days.
    Here are some "Get Started"-instructions: https://helpx.adobe.com/creative-cloud/learn/start/tutorials/lightroom-mobile.html
    Guido

  • How can I use find a phone with my family members but they each have there own email

    How can I use find a phone with my family's iphone when they already have email addresses?

    Welcome to the Apple Community.
    You can't use find my phone from your phone if your other family members use another iCloud account.
    You have two options depending on why you want to find the phones.
    Use find my phone at iCloud.com on a mac/PC and log in using their account.
    Use the find my friends app

  • How can I use multiple row insert or update into DB in JSP?

    Hi all,
    pls help for my question.
    "How can I use multiple rows insert or update into DB in JSP?"
    I mean I will insert or update the multiple records like grid component. All the data I enter will go into the DB.
    With thanks,

    That isn't true. Different SQL databases have
    different capabilities and use different syntax, That's true - every database has its own quirks and extensions. No disagreement there. But they all follow ANSI SQL for CRUD operations. Since the OP said they wanted to do INSERTs and UPDATEs in batches, I assumed that ANSI SQL was sufficient.
    I'd argue that it's best to use ANSI SQL as much as possible, especially if you want your JDBC code to be portable between databases.
    and there are also a lot of different ways of talking to
    SQL databases that are possible in JSP, from using
    plain old java.sql.* in scriptlets to using the
    jstlsql taglib. I've done maintenance on both, and
    they are as different as night and day.Right, because you don't maintain JSP and Java classes the same way. No news there. Both java.sql and JSTL sql taglib are both based on SQL and JDBC. Same difference, except that one uses tags and the other doesn't. Both are Java JDBC code in the end.
    Well, sure. As long as you only want to update rows
    with the same value in column 2. I had the impression
    he wanted to update a whole table. If he only meant
    update all rows with the same value in a given column
    with the same value, that's trivial. All updates do
    that. But as far as I know there's know way to update
    more than one row where the values are different.I used this as an example to demonstrate that it's possible to UPDATE more than one row at a time. If I have 1,000 rows, and each one is a separate UPDATE statement that's unique from all the others, I guess I'd have to write 1,000 UPDATE statements. It's possible to have them all either succeed or fail as a single unit of work. I'm pointing out transaction, because they weren't coming up in the discussion.
    Unless you're using MySQL, for instance. I only have
    experience with MySQL and M$ SQL Server, so I don't
    know what PostgreSQL, Oracle, Sybase, DB2 and all the
    rest are capable of, but I know for sure that MySQL
    can insert multiple rows while SQL Server can't (or at
    least I've never seen the syntax for doing it if it
    does).Right, but this syntax seems to be specific to MySQL The moment you use it, you're locked into MySQL. There are other ways to accomplish the same thing with ANSI SQL.
    Don't assume that all SQL databases are the same.
    They're not, and it can really screw you up badly if
    you assume you can deploy a project you've developed
    with one database in an environment where you have to
    use a different one. Even different versions of the
    same database can have huge differences. I recommend
    you get a copy of the O'Reilly book, SQL in a
    Nutshell. It covers the most common DBMSes and does a
    good job of pointing out the differences.Yes, I understand that.
    It's funny that you're telling me not to assume that all SQL databases are the same. You're the one who's proposing that the OP use a MySQL-specific extension.
    I haven't looked at the MySQL docs to find out how the syntax you're suggesting works. What if one value set INSERT succeeds and the next one fails? Does MySQL roll back the successful INSERT? Is the unit of work under the JDBC driver's control with autoCommit?
    The OP is free to follow your suggestion. I'm pointing out that there are transactions for units of work and ANSI SQL ways to accomplish the same thing.

Maybe you are looking for

  • Adding new fields to the data flow

    Hi, I am currently planning to add some new fields in one DSO and map it (with info source) in the update rules. Will adding new fields to Info source - Comm. structure affect all the update rules connected to it? The info source is connected to mult

  • Can you default a detailed navigation folder to an "open" state?

    We have a workset containing iViews, and the detailed navigation on the left displays the iViews within a folder as we would like.  However, the folder defaults to being closed, thus making the user click twice to arrive at an iView inside.  Is there

  • Why can't i get it to work on any of my MAC products?

    why can't i get it to work on any of my MAC products?

  • How to populate manager field of user while recon

    Hi, I want to populate Manager field while recon. In recon i am getting manager's employee number for particular user so i have to fetch name for that number and i have to map to manager field for that particular user in oim how can i acheive this, i

  • Sending Alerts from PC

    Hello All, I am working on sending alerts from PC, I followed below steps. 1. Go to ALRTCATDEF 2. Select classification "Process Chains" 3. Click on display/change 4. Double-click on "error in a process of a process chain" 5. Click on "fixed recipien