Image on jsp from database along with other elements on image.
Hi All,
I wish to display an image which is stored in my database along with other contents on the page.
I am able to display the image on an entirely new page but I do not wish to display it on a new page. Neither frames etc fit on my current page design.
Kindly help
I have a jsp page ..
I have a byte stream in which i have stored the image from the database (the image is stored in databse as blob) in that jsp.When i use output stream object to display the image from the database (as suggested by many in this forum), the image is displayed in a new page. I wish to display the image along with my other elements like text etc in the same page.
Similar Messages
-
AS it stands now, in order to use the calculator that comes with the Dashboard, you cannot read from a list of numbers in, lets say, word or excel. The dashboard is full screen and nothing can stand along side it. Is there a way to get the calculator from the dashboard to appear along with other programs? Can anyone recommend a calculator which will work as a stand alone app?
there is one, just search with spotlight "Calculator".
It works great!
Hope this helps. -
I seem to have lost my home and bookmarks button along with others from my web browser
I seem to have lost my home and bookmarks buttons, along with others, from my web browser
<u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History...Help)? Hold down the key ( key in OSX) and press the following letters in this exact order: V T M
The Menu Bar should now be displayed permanently, unless you turn it off again (View > Toolbars). Turning the Menu Bar on and off is a new feature in version 3.6.
<u>'''See other bars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
<u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
<u>'''Full Screen mode'''</u>
http://kb.mozillazine.org/Netbooks#Full_screen
Also see:
''' [[Back and forward or other toolbar buttons are missing]]'''
'''[[Navigation Toolbar items]]'''
<u>'''''Other Issues''''': to correct security/stability issues</u>
<u>'''Update Java'''</u>: your version 1.6.0_19; current version 1.6.0.20 (<u>important security update 04-15-2010</u>)
''(Windows users: Do the manual update; very easy.)''
See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
Do the update with Firefox closed. -
I had a drive failure and lost the iWeb file along with other things.
I did manage to save a lot of user file documents but I don't see or
recognize the iWeb site file. It was on a 15" G4 Titanium pb.
I'm trying to find a way, using version 2.0.4 of iWeb on a different
pb to recover the file into the iWeb app or a way to download the site into iWeb.
There are 6 pages of images and text, and it
would be a task for me to recreate the whole thing again. I did
download the site but I don't know how or if I can get iWeb to see it and open it.
Does anyone have any knowledge about this? The link to my site:
<http://web.mac.com/danauerbach>
Any suggestions will be most appreciated.
dan auerbach
[email protected]Unfortunately iWeb cannot read or import previously published files, only generate them. You'll have to recreate your site from scratch.
However, Chapter 2.3 on the iWeb FAQ.org site has tips on using some of the existing files, image, audio, video, etc., from the published site in the recreation of the site.
OT -
Terminating Database along with its Oracleservice (Win2008R2sp1)
My database terminated silently (nothing in logs) along with its Oracleservice everytime update run that performed via database link. When this update performed locally - nothing wrong happens.
Works flawless on test environment with the same software and hardware.
Here - EXPDP Terminating Database along with its Oracleservice (WIN 2003k ) - removing antivirus helped. But in my case no antivirus on the server. And a lot of memory and processors.
On client side error "ORA-03135: connection lost contact" appeared. I tried to run quiery via database link from diffrent servers, including other database on the same server.
Please, give any ideas.Hi user;
Pelase see below notes which could be helpful for your issue:
ORA-03135 when connecting to Database [ID 404724.1]
OERR: ORA-3135 { Message text depends on version } [ID 38836.1]
Troubleshooting ORA - 3135 Connection Lost Contact [ID 787354.1]
Diagnosis of ORA-3135/ORA-3136 Connection Timeouts when the Fault is in the Database [ID 730066.1]
Regard
Helios -
WH tax line items cleared along with Other line items Message no:8I701
hI guru,
When i run J1INCHLN System givem the error is : Withholding tax line items cleared along with other line items, message no:8I701
Pleas any one give solution ..
I also cheked as respective g/l for tds IN FBL3N . All line items are opend.
Also cheked all selection parameter in J1INCHLN and FBL3N .is same .
Why the sys behaviour like this .
Thanks is andvance
MilindHI,
he error is occuring in this part of the
unction Module J_1IEWT_CHALLAN_UPDATE
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
LOOP AT p_t_ausz1.
Select the cleared line item from bseg table.
SELECT SINGLE * FROM bseg INTO p_bseg_tab
WHERE bukrs = p_t_ausz1-bukrs
AND belnr = p_t_ausz1-belnr
AND gjahr = p_t_ausz1-gjahr
AND buzei = p_t_ausz1-buzei
AND ktosl = 'WIT'
AND qsskz NE space .
IF sy-subrc <> 0.
This is not an ewt clearing transaction relevant for challan update.
p_no_with_clear = 'X'.
EXIT.
ELSE.
APPEND p_bseg_tab.
ENDIF.
ENDLOOP.
Even if one line item chosen is not of withholding tax entry, system
should exit by error message.
DESCRIBE TABLE p_bseg_tab LINES p_bseg_lines.
DESCRIBE TABLE p_t_ausz1 LINES p_with_lines.
IF p_bseg_lines > 0.
At least one entry is found in bseg table for challan update. IF p_with_lines NE p_bseg_lines.
At least one line chosen by the user is not for challan updation.
MESSAGE e701(8i).
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
This is a clear case,that you are trying to post some documents
which does not match with the selection parameters.
I feel the above problem could be due to some document/s (open items of
the earlier years)are incorrect which is causing the reported problem.
Kindly run the challan update program for smaller date range so that you
can find the faulty document.
Hope this solves your query.
Reg
Madhu M -
How to get string from jtextpane along with its attributes
sir,
How to get string from jtextpane along with its attributes
i,e font,size,style,color etc.
please help me out.
my mail id is [email protected]JTextPane extends JTextComponent
JTextComponent.getDocument()
a Document is a set of Element, see Document.getRootElements(). Each Element has attributes, stored within an AttributSet object see Element.getAttributes()
a Document can also be rendered as a String, see Document.getText( offest, length ), use it with 0 and Document.getLength() as parameters. -
I want to migrate Analysis Services 2008 database to 2012 AS database along with data level security defined in current production cube
Note: Only Production environment have security, while no security is defined in development environment
Potential Approach:
1 - Using Synchronization Wizard: Gives me error : "The OLAP element at line1 can not appear under envelope......" and this is because Synchrinzation works only for same version
and in my case, there are different versions of SQL (SQL 2008 and 2012)
2 - Using Visual studio conversion wizard - Convert SQL 2008 AS project to 2012 and then process cube, so I can get the cube working but then how can I get data level security since 100's of data level security is defined in production Cube, so how can I
migrate that across
3 - Script out XMLA and deploy cube - But then again having issues with how can i script SSAS security
4 - Would taking backup of SSAS 2008 database and restore to SSAS 2012 will help ?
Any suggestions would be appreciated
Thanks,
MihirHi Mihir,
According to your description, you want to migrate the SQL Server Analysis Services (SSAS) 2008 database which have some security setting with it to SSAS 2012, right? We can migrate existing Analysis Services databases either during Setup, by upgrading an
existing instance of Analysis Services, or after Setup, by running the Migration Wizard. Generally, when migrating a database to another server, all the setting will be migrated. So in your scenario, you can refer to the steps on the links below to migrate
your SSAS database.
How to: Migrate Analysis Services Databases
Migrating Existing Analysis Services Databases
Regards,
Charlie Liao
TechNet Community Support -
Withholding tax lines are being cleared along with other line items
Hi All,
While doing J1INCHLN(payment making of TDS), system giving error i.e.
"Withholding tax lines are being aleared along with other line items"
Please suggest me in this issue...it would be great help for me.
Thanks,
SaisriHi,
As per my analysis we found some documents, here We have made advance payment to vendors with TDS and again rised invoce to vendors with TDS and these documents have been nockedoff in F-54.
We have many documents of such nature and as per me it is because of these documents the system is throwing error. Pls. advice as to how to proceed on this.
Thanks,
Saisri -
I just got an iPhone 4S model number MD439LL/A still have the box that it came in along with other info. I can not find Siri. I have looked in settings>general and settings>general>restrictions. Can anyone help me out?
That model is an iPhone 4, not a 4S.
http://support.apple.com/kb/HT3939 -
How to place two different indesign documents side by side on my desktop in order to copy and paste images and text from one to the other?
Or choose Window > Arrange > Tile
And, you of course can copy/paste without tiling. -
HT5225 how do I get my icloud a/c onto my mailbox along with other email a/c's ?
How do i get move my icloud a/c onto my mailbox along with other email accounts ?
What Mac OS are you using? It should be setup automatically if using 10.7.2 or later after moving to iCloud.
-
A mapped elements relationship with other elements cannot be preserved
Hi,
I am trying to create an XML file from an XSD using excel macros and data from excel worksheet. The mapping takes place fine. However, when I try to save the mapped items into an XML file using SaveAsXML function, it gives me the following reason why the
XML is not exportable:
A mapped elements relationship with other elements cannot be preserved
Could someone please help is resolving this issue?
ThanksPreamble: I am not a specialist, on the contrary. I discovered xml a few days ago trying to submit returns based on two quite different compulsory xsd schemas established by local authorities. So this note has no other pretention than
to try to help others starting from same level.
The plus: I discovered I could do it (with limitations) from Excel 2010 by attaching the provided xsd and mapping the relevant fields to excel data cells. This is reasonably described on MS sites & elsewhere, although the MS tutorials
do not focus on this particular objective, which is important as authorities are using more and more XML to expect returns.
The minus: I stumbled across stupid issues (in fact pulling my hair...), which could be better highlighted in MS doc for the newbies like me, because at that stage of knowledge and on your own, all seems unsurmountable. When Excel gives
the error messages, there is little indication on why and where the error occurs. My two common errors difficult to debug:
1. Denormalized data error
2. Relationship cannot be preserved error
What I was doing wrong for the first xsd then even for the second by accident:
1. In error, I was mapping an element occurring max once in the XSD schema to an element in an "Excel Table" (the “new” table formatting available in Excel 2010). I solved this by de-mapping the culprit element, converting the "Excel Table"
to ordinary ranges using the button provided in the ribbon for this, and re-mapping. From there, (nearly) each time I was mapping a new element / attribute to a cell in the worksheet, I used the button "Verify map for Export" giving me debugging message soon
enough before mapping the whole data set and finding it was wrong a bit late and not knowing exactly where it started to go wrong. Also, for the repeating component, I had set manually the Excel table for the whole recursive element beforehand as I found out
that when using the dragging process, the results could be random (some attributes in the table, others in other tables resulting in errors type 2 relationship).
2. Relationship error is a more nagging issue as it seems to relate to a structural limitation of this Excel 2010 export mechanism. Flattening a database with several depth levels (list of lists) is not trivial, so Microsoft stipulates
a bit buried in notes while it should be in bold at the top that Excel (which version? also 2013?) "does not support recursive structures that are more than one level deep". Happily, while the xml schemas I had to follow where providing for several levels
deep (3 in my case), I needed only one for both xml files. So, I copied the “too complex” xsd schema, updated it manually to suppress 2 levels. I remapped and tested. The error messages had gone. I exported. Then, I had to simply add the
previously deleted opening & closing tags manually using a free editor (Vim with thanks to that author).
But unless my understanding is wrong, which is quite possible, readers should understand that this documented limitation can become a structural stumbling block if they need absolutely recursivity with more than one level depth (list of lists). So, if
I can do it in Access from a DB (I still need to find out how & forum guidance is more than welcomed), this will be my future way to explore.
To finish, I validated the exported xml against the compulsory xsd schema using the online tool provided free by CoreFiling to ensure basic formatting mistakes had not been committed before submitting the returns for online validation
by Authorities application. I have MS Visual Studio Express installed which may help as well but I don’t know how to use it for this.
NB: I found also easier to copy (dragging top of the xsd tree) all the xsd elements /attributes in bulk from the xsd schema from the box on the right to a worksheet. While results would not be useable “as is” to map (it would most probably
give errors), at least, it provides a good initial template with the right headings for all the elements / attributes facilitating restructuring (occurring once, elements part of a recursive table) then map properly and reasonably fast. Before doing this,
I was copying manually the xml headings from the Word documentation provided by Authorities, which worked but was more cumbersome and risky.
Conclusion
I had never read about xml before (just heard often about it). It took me around 6-7 hours to learn some critical basics about it and about these specific xsd schemas. With a few trials & errors, I could use Excel 2010 to produce the
xml files required for the two schemas I needed. The great advantage compared to an online submission of data to Authorities is that it a process easy to repeat quietly at work (or at home) and enabling to check peacefully and thoroughly the xml data files
before submitting them. If wrong submissions have been made, it enables automated corrections much easier as well. It is within reach for users with reasonable but not outstanding Excel / Xml knowledge but it requires some initial time investment.
Hope this saves time for others.
acontrario
Brussels -
Configuring Cost Code along with Payroll elements in Timekeeper time entry
Hi,
I am trying to configure cost code as a separate entry along with payroll elements in timekeeper time entry screen.
Can any one help me in completing the task.
Regards
BKI have configured the time keeper time entry scree of my own.
-
Setting the Data into a DropDownListBox in index.jsp from DataBase
Hi,
I want to put some data in dropdownlist.
// in PageFlow Controller class
public String[] items = {"aaa","bbb","ccc"};
and in index.jsp
<netui:select optionsDataSource="{pageFlow.items}" dataSource="{actionForm.selections}">
I run the index.jsp and getting the dropdownlist with items aaa,bbb and ccc.
Now I place a method in begin() method
String[] items = conn.getData();//which returns data from database
but the begin() method is not executed when I run the index.jsp after that I put the code
String[] items = conn.getData(); in action() method
it is giving the dropdownlist but after submitting the form i.e after calling the action.
please tell me how the items will be set to listbox before action i.e when I run the index.jsp.Where can I put the code
String[] items = conn.getData();
and why the begin() method is not invoking.
Regards,
SivaramHi,
I'm not sure if you have solved this yet?
The issue you are facing is that you are loading the JSP directly. When you do this the pageflow will not be called and so the begin function not called.
If you simply enter the URL of the pageflow instead of the JSP this will call the begin function, loading your dropdown values, and it should then redirect through an action to your index.jsp
Hope that this helps
Cheers
IV
Maybe you are looking for
-
We have an itunes account on our desktop and both my kids have it on iphone and ipod. I went in and changed out user name from an old e-mail address which is no longer accessible to my one I use now... When the kids try to sign onto the itunes store
-
2nd display with out mirroring
I want to use my 17" apple display with my iMac, without doing mirroring. I heard there was a firmware hack to do this. Can anyone show me the website and tell me about the warranty effects. thanks.
-
Font size incorrect when printing smartform
Hi, I have a smartform containing many smaller windows with frames. One big window should show a word in grey and in big letters behind all the other windows. In my smartstyles, I have used the font family "HELVE", font style bold and the size 72. Wh
-
Does anybody know what to do if not all your photos upload onto iPod?
See photos only upload in one folder to my iPod and then I can't add any more than one folder. Does anyone know how to fix this?
-
I need upgrade for cs3 and light room 1.1
My canon 5d mark II raw files are unreadable? Files will not open in cs3 and lightroom 1.1. HELP!