craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Applet Issues Post New Topic   Post A Reply
Using Quicktable in JSP as bean printer friendly version
next newest post | next oldest post
Author Messages
malvarado{@}classalinfo.com.au
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

Hi Benjamin:

Could I use quicktable from a jsp page.
Should I use the bean directive??
I find more easier to use it with scriplets...

I did a scriptlet invoking quicktable .. and everything went fine .. I
think
but in the end quicktable interface wouldn't show on the browser.

do you have any idea on this.

Have you or any of your client have had any experience on using
quicktable
within an applet.
The applet and jdbc driver would reside in the same server machine.

Any pointer on the above point would be appreciate it...

Marlon Alvarado

admin{@}quicktable.org
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

The bean tag which is used in JSP is not a user interface bean. It is just a Java class bean. If you really want to show a user interface in JSP, you have to create an applet.
First please read the dicussion forum about how to use Applet within htmls at the following url.
http://quicktable.org/discussion/cutecast/cutecast.pl?forum=4&thread=1

Once you understand that, modify the JSP such that the output html page has the applet tag as discussed in the above url.
Following things need to be done to use in JSP.
1) Write a applet class which uses the Quicktable. This applet can get the parameters from the html or it can hardcode within itself
2) In the JSP , add a applet tag. This applet tag is just a HTML tag, its not a JSP tag. In the applet tag use the applet class which you have written. Pass teh parametsr to the applet , if necessary.
3) place the applet class, jar files in the correct folder as mentioned in the JSP.

Step 2 can be implemented using
1) bean tag - if you write another java class which can output the html snippet for this applet
2) scriplet - using out.println() output the html snippet for this applet
3) as html test - just add the html snippet for this applet to the html portion of the JSP

Hope this helps.

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios