How to store the rich formated text and screendumps in Oracle database
Hi,
I will create an FAQ management system. Users can log into the system, search and view the FAQ and answers. To be intractive, the users can also create new FAQ and add the comments on FAQ answers.
The FAQ answers have rich formated text and the screendumps in the mid part of the answer. It should be presented in one page during user read/update the answers. How can I store the FAQ answer to Oracle database?
Best regards,
Ning
I used blob to store pictures.
The FAQ answer is the combination item of formated text and pictures. Can I use it to store?
If I decided to use blob, how can I present the FAQ answers to the web. How can I edit the answer on the web?
Thank you very much!
Similar Messages
-
How to split the blob byte array and insert in oracle
how to split the blob byte array and insert in oracle
I am having a string which is of more than lenght 4000 so i am using BLOB datatype as input to get the string.
need to split the blob in oracle and store in the different column
The string is of bytearray i need to strore it in each column based on the byte array.this will be my input i need to split the above and store it in different columns in a table.
for spliting say
Column1 -1 byte
Column2-3 byte
Column3-5 byte
ColumnN-5 byte
Table will have corresponding data type
Column1 - number(10,2)
Column2 - Float
Column3 - Float
ColumnN-Float
here Column2 datatype is float but it will always have 3 byte information.
where as Column3 datatype is also float but it will always have 5 byte information.
Say N is Column 120 -
How to extract the contents of ZIP file stored in oracle database column ?
The file is in ZIP format and it is stored in BLOB databse column . The contents of file is in binary format .
How to extract those contents from file and thus creating the same ZIP file as output in ODI ?
Thanks
ArunPerhaps you can something like what is described in the support note "How To Load A PDF File Or Other Binary Files To a BLOB Column From ODI (Doc ID 1412753.1)"
-
How to export the data from an excel file to Oracle database by using macro
Hi,
I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this.
can anybody please send me the code to create macros?
Thanks in advance.
Regards,
Surendra.VThere are several resources on the web, but you could start analyzing if this code fits your needs --> VBA Macro for Excel 2003 Export of Text File with Comma and Quote Delimiters.
~ Madrid -
How to store the value into variable and access it in RMAN script
I want to create a variable and dynamically assign a numeric value to it (may get the value may be from SQL )and access the value in RMAN script.
Thanks...RajRaj,
We have been getting this type of request and it is not possible via RMAN to do that.
BUT--You could write a sql/plus script to query your variable and produce the RMAN script with the new value.
Just a suggestion.
Tammy -
Read data from Excel and write into oracle database
Hi
I want to know how can i read data from excel and write into oracle database using java.Kindly help me out to find a solution.
Thanks and Regards
NeetaHai,
I am suggesting the solution.
I will try out and let u know soon.
Make a coma separated file from your excel file.
Assuming that your requirement allows to make a csv file.
This file may be passed as an file object to be read by java.Using JDBC you must be able to populate the data base.You can also use String Tokenizer if needed.
You do not want to go via sql Loader?
For reading the excel file itself do you want java? -
How to change the output as text format in Apps R12.1.3
Hi All,
Currently iam trying to modify the Java Concurrent Program (FDExtractAndFormatting) in Batch Payment Process. This Program is generated in text format in 11i APPS. Now we are upgrading to R12.1.3. In R12.1.3 output is coming as PDF format. Here my requirement is how to change the output as text format in R12.1.3 also.
Please do the needful and suggest me.
Regards,
Jagadeesh1. It is seeded java concurrent program. Some attributes are missing from 11i to R12. In 11i it is a text format.So i have to investgate on how to retrive those attributes in R12. What is the concurrent program name?
Have you tried to change the output and submit the request?
2. Once all are attributes are coming in PDF format. Client wants to open same output in text format as it is 11i (In R12 it is generated in PDF format).If the above does not help, please log a SR.
Thanks,
Hussein -
How do I send a group text and not have everyone else get the responses
How do I send a group text and not have everyone else get the responses? Thx
Whether or not everyone gets the response depends solely on the person responding. i.e. you send a group text and i am one of the reciepients. From here i have two options, reply to the group text (everyone gets my reply) or i could text just you on the side (by opeining a new window in messages with just you as the reciepient) and replying to just you. Theres nothing you can do, its up to the person replying whether or not they reply to the entire group or just you seperately.
-
How do I darken or change the color of the iCal gray text and lines?
How do I darken or change the color of the iCal gray text and lines? The gray text is very hard to read.
apple dosn't care about us anymore
I remeber way I went back to os x10.6
it's a tiny bit easier to read
gosh I may have to start a boycot of crapple -
How can I erase the residual background text and images from the backside of a scanned page?
How can I erase the residual background text and images from the backside of a scanned page?
Also, I wanted to know what each subscriptions included as far as my question above is concerned?
I am trying to edit a scanned page (pdf file) by changing some words and erasing the background from the page that is showing through it since the paper is so thin and want to know which subscription to buy in order to complete these tasks?This cannot be done in Reader. I think you will need software like Photoshop. You may be able to get buy with Photoshop Elements, but I haven't used recent versions of that software. Using either software this will not be an automated task.
-
How to store the datas in a .txt file in to a JTable in Java Swing
Hi sir,
Here i want to know how to store the data's of a .txt file
in to a JTable in java swing.
Where here the .txt file like for eg,spooler.txt is in the server and from there it will come to my client machine what i have to do is to take that .txt file and store the datas of the .txt file
in a JTable.This is what i want.So pls. do help and provide the code as well.I will be thankful.Since i am involved in a project which involves this it is Urgent.
Thanx,
m.ananthuYou can't just display data from a text file in a JTable. You have you understand the structure of the data so that you can parse the data and create a table model that can access the data in a row/column format. Here is an example of a simple program that does this:
http://forum.java.sun.com/thread.jsp?forum=57&thread=315172 -
How to change the date format?
Hi,
I need to display the data format as(YYYY-MM-DD). But now it displays(2009-1-9)
Here is my code snippet which i used to display the data format as(2009-1-9)
*<INPUT TYPE=TEXT NAME="date_submitted" MAXLENGTH=20 SIZE=10 VALUE="" onBlur= "return dateSubmitted()"> (YYYY-MM-DD)*
*<SCRIPT LANGUAGE="javascript">*
dateSubmitted()
*</SCRIPT>*
function dateSubmitted()
if (document.pgUpdate.date_submitted.value == "")
date = new Date();
month = date.getMonth() + 1
document.pgUpdate.date_submitted.value =
date.getYear() + "-" + month + "-" + date.getDate();
return true;
Can anybody help me how to change the date format?
Thanks in advance!prit123 wrote:
use SimpleDateFormat class. The code is :He posted a Javascript related question, not a Java related question.
Please use forums devoted to Javascript. You're here at a Java/JSP forum.
There are JS forums at webdeveloper.com and dynamicdrive.com. Good luck.
String formatPattern = "yyyy-mm-dd";
SimpleDateFormat sdf = new SimpleDateFormat(formatPattern);
sdf.format(yourdate);yyyy-mm-dd denotes year-minutes-days. Please go read the SimpleDateFormat API as well. -
How can i copy line with text and image to ms word
When I insert an image in textflow using InlineGraphicElement it works, but when I copy the line with the image to MS Word it copies only the text (not the image).
How can i copy the image to MS Word?If you want copy formatted text and image to MS Word, you need to give MS Word rtf markup, because Word can recognize rtf markup but not TLF markup.
So you need to create a custom clipboard to paste a rtf markup. It's a large feature for you, because you need a tlf-rtf converter in your custom clipboard.
TLF Custom Clipboard Example:
package
import flash.display.Sprite;
import flash.desktop.ClipboardFormats;
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.conversion.ITextImporter;
import flashx.textLayout.conversion.TextConverter;
import flashx.textLayout.edit.EditManager;
import flashx.textLayout.elements.*;
import flashx.undo.UndoManager;
// Example code to install a custom clipboard format. This one installs at the front of the list (overriding all later formats)
// and adds a handler for plain text that strips out all consonants (everything except aeiou).
public class CustomClipboardFormat extends Sprite
public function CustomClipboardFormat()
var textFlow:TextFlow = setup();
TextConverter.addFormatAt(0, "vowelsOnly_extraList", VowelsOnlyImporter, AdditionalListExporter, "air:text" /* it's a converter for cliboard */);
private const markup:String = '<TextFlow whiteSpaceCollapse="preserve" version="2.0.0" xmlns="http://ns.adobe.com/textLayout/2008"><p><span color=\"0x00ff00\">Anything you paste will have all consonants removed.</span></p></TextFlow>';
private function setup():TextFlow
var importer:ITextImporter = TextConverter.getImporter(TextConverter.TEXT_LAYOUT_FORMAT);
var textFlow:TextFlow = importer.importToFlow(markup);
textFlow.flowComposer.addController(new ContainerController(this,500,200));
textFlow.interactionManager = new EditManager(new UndoManager());
textFlow.flowComposer.updateAllControllers();
return textFlow;
import flashx.textLayout.conversion.ITextExporter;
import flashx.textLayout.conversion.ConverterBase;
import flashx.textLayout.conversion.ITextImporter;
import flashx.textLayout.conversion.TextConverter;
import flashx.textLayout.elements.IConfiguration;
import flashx.textLayout.elements.TextFlow;
class VowelsOnlyImporter extends ConverterBase implements ITextImporter
protected var _config:IConfiguration = null;
/** Constructor */
public function VowelsOnlyImporter()
super();
public function importToFlow(source:Object):TextFlow
if (source is String)
var firstChar:String = (source as String).charAt(0);
firstChar = firstChar.toLowerCase();
// This filter only applies if the first character is a vowel
if (firstChar == 'a' || firstChar == 'i' || firstChar == 'e' || firstChar == 'o' || firstChar == 'u')
var pattern:RegExp = /([b-df-hj-np-tv-z])*/g;
source = source.replace(pattern, "");
var importer:ITextImporter = TextConverter.getImporter(TextConverter.PLAIN_TEXT_FORMAT);
importer.useClipboardAnnotations = this.useClipboardAnnotations;
importer.configuration = _config;
return importer.importToFlow(source);
return null;
public function get configuration():IConfiguration
return _config;
public function set configuration(value:IConfiguration):void
_config = value;
import flashx.textLayout.elements.ParagraphElement;
import flashx.textLayout.elements.SpanElement;
import flashx.textLayout.elements.ListElement;
import flashx.textLayout.elements.ListItemElement;
class AdditionalListExporter extends ConverterBase implements ITextExporter
/** Constructor */
public function AdditionalListExporter()
super();
public function export(source:TextFlow, conversionType:String):Object
if (source is TextFlow)
source.getChildAt(source.numChildren - 1).setStyle(MERGE_TO_NEXT_ON_PASTE, false);
var list:ListElement = new ListElement();
var item1:ListItemElement = new ListItemElement();
var item2:ListItemElement = new ListItemElement();
var para1:ParagraphElement = new ParagraphElement();
var para2:ParagraphElement = new ParagraphElement();
var span1:SpanElement = new SpanElement();
span1.text = "ab";
var span2:SpanElement = new SpanElement();
span2.text = "cd";
list.addChild(item1);
list.addChild(item2);
item1.addChild(para1);
para1.addChild(span1);
item2.addChild(para2);
para2.addChild(span2);
source.addChild(list);
var exporter:ITextExporter = TextConverter.getExporter(TextConverter.TEXT_LAYOUT_FORMAT);
exporter.useClipboardAnnotations = this.useClipboardAnnotations;
return exporter.export(source, conversionType);
return null; -
How to store the images in Oracle?
Hi,
I am a new developer, trying to find out how to store the images in Oracle. Is there anyway that I can store the images in Oracle and insert them into my html file?
Thanks!
SarahThere is a simple image example available from OTN.
From the OTN main page, go to Products --> interMedia --> Sample Code. The name of the example is "Load rich media content with a browser."
This example loads and retrieves an image from an Oracle8i database through a web page using the Oracle interMedia Web Agent.
Hope this helps.
null -
How to increase the size of text boxes in FCPX without stretching the text inside?
How to increase the size of text boxes in FCPX without stretching the text inside?
There are two basic Title formats — I should say Layouts — available: Text (plain) and Paragraph. (The plain text version usually does not appear with the blue dot controls — those generally appear for the paragraph type control.)
If the Title is using a Paragraph layout, it's like having a mini version of Text Edit available inside FCPX. You can tell when you click on the text (when the title is selected) -- a rectangle will appear around the text like so:
double clicking on the text will give you the bounds controls which you can use to redefine the text area without distorting the text. Once selected, notice the button that appears in the top right corner of the canvas:
Pressing that will activate the ruler. You can right click on the ruler and add Tab Stops (left, right, center and decimal.)
So if the title uses paragraph formatting, you can create a very WYSIWYG type of display text (use the Text inspector to alter text selections within the paragraph bounds.)
Maybe you are looking for
-
Is it possible to process audio tracks with compression, eq, etc....in Logic Express, similar to the way you can do it in Protools? If so, how do you do it?
-
I was installing OSX Yeosmite and it got to one of the restarts and stopped
I was installing the new update on my MacBook air and it was doing fine then suddenly it just stopped on the apple logo and the little bar I have left it all night it then came on at around 5am this morning and wouldn't let me look at any files or do
-
My ibook G4 crashes when using external power
I bought my ibook a month ago and yesterday when I started it up a screen came up that said it had insufficient memory. I held down the power button to turned it off, unplugged the external power and then started it up again. everything was fine unti
-
How to add a structure in 500 series table field catalog
Hi, can any one tell me how to add fiels in field catalogue of 500 series table. thanks & regards naveen
-
Standard Report to get the resigned employee last reporting Information
Dear Team, Please let me know do we have any standard report to get the last reporting person for the resigned employees in HR OM. Kind Regards Nag