I am having trouble with setting up a lvarchar field.
I want to save an actual string of text up to 1500 chars,
so when i do an insert it will be a string and not a file.
does anyone have a alter table code example, and then an insert stmt example?
Thanks!
-R
I have a table with data on a web page, I would like for
a button/link that when clicked open the users local
Excel and imports the table data on the fly. I know you can open Excel and then import web table data, I just want to do it the other way around.
Thanks!
-R
The page is already using a cgi script now, I need to add
another script, is their a way to make 2 scipts run one after another? (w/ 1 submit button)
(ie <FORM ACTION="formemail.cgi,saveToDatabase.cgi" METHOD="POST"> yeah right:)
(I cant combine the 2 scripts into 1)...
My cron seems to do nothing
I have my crontab set up as follows
01 * * * * java /wic/local/bea/wls/BCP_email
(01 to test)
'java BCP_email' --> works fine
and when i save it writes to a tmp file
/tmp/crontab66onqa
Should it be saving to a tmp file?
also to invoke a java file is the crontab...
What is the best way to automate a process? I need to send emails sent out the last day of the month with various database info. Can a cron run a class file? or should a servlet be involved? I have no idea where to start.
Thanks
-R
Is there a way for a select box to allow the user to still type in a value if none of the option will suffice?
I dont think there is, but I still want to double check.
-Thanks!
R
I am tryimg to do a dynamic combo box so I am using JSP to switch the 'selected' in and out. Problem is it breaks the HTML. So I need to assign the 'selected' value somehow.
Something Like
<option value="Fecci" selected="false">Fecci </option>
OR
<option...
In general what should be in a javabean, how should they be separated,(all database calls from 1 bean?), it seems like you can put mostly everything in beans but then you have to write more code than ever to get the data back to the web page? Just wondering how to effectively use them.
Also EJB...
i have a mulitple select box so my post looks something
like.
?cboExecutives=rolf&cboExecutives=tehjile...
(so cboExecutives is used over and over for each selected)
When I use request.getParameter it only takes the first one,
(ie rolf) how do i have it loop to collect all the data?
Thanks...
I am having trouble getting the current date
I assume i import
java.util.Date()
but from the sun web site many of the methods I would use like getMonth are deprecated.
What is a good way to get this done?
Thanks!
-Ryan
I need to store a block of data into a char field.
The data may have up to 2000 chars. The char field can go up to 32k but when i send it the data i get a 280 error saying "string literal to long" (ie past 256) How do I send it the data if I wont take a string literal? (DB wont allow...
I have a frame page and i would like to have the header page completly load first, followed by the main page.
Any ideas?
<frameset rows="105,*" cols="*">
<frame name="header" scrolling="yes" noresize target="main"...
Basically I have textarea for the user to enter data to save to a database. I take the value of the textarea store it in a variable then use it in the SQL. But when the users hits enter (newline) it then breaks up the SQL and it doesn't work. It there a good way to remove newlines chars and make...
I have seen examples of creating dynamic pdf files with asp or perl but can it be done with JSP? (any idea where I could get more info on it if that is the case?)
Thanks!
-Ryan
I see documentation all over for changing a classpath but I want to see what it is currently set at. Is there a quick command to do that in Linux.
Thanks!
-R
I basically am wondering if there is a way (or work-around) to have 1 line that can hold any amount of data I need. I keep getting "line to long". (I can get my XML data all on one line in notepad but when i try to open it in vi then it wont work, same deal)
thanks!
Ryan
Is it possible for a parser (DOM or SAX) to continue to read the whole XML doc even after it has encountered the first error. Let say I have the last name tag wrong and also the work phone. Would I have to reconfigure the parser to continue? I would bascially want to map out all the errors at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.