Custom loading image JSP dynpage
Hello,
Wa have created a jsp dynpage, and want to show a custom loading image. I other applications (appintegrator) we have succesfully changed the loading image by exporting the theme that we are currently using, change the loading_ani.gif image and re-importing the theme. This change has no effect on the loading image of the JSP dynpage, it is still the one supplied by SAP. I checked the url of this image and got the following https://host:port/htmlb/mimes/common/loading/loading_ani.gif, so I tried changing the loeding image that is stored in the htmlb par file, but there was no visible result when loading the application, or when loding the direct url of this image. Can anyone tell me where I can change the loading image of the JSP dynpages?
Kind Regards
Timon Van Soom
Juhi Bhatnagar
Greetings!!!
May i know , what is the procedure need to be followed to replace the default Loading ICON with our custom image.
2. Does our custome image should be a image file (like jpg, png) or its like a command
Kindly share the procedure for this...
Appreciate your response in advance'
Thanks
Similar Messages
-
Custom loading image in WebDynpro iView
Hi All,
I have replaced the default loading image in the com.sap.portal.appintegrator PAR with a custom image.
As a result the new custom loading image is being shown in all iviews made fom that PAr e.g.BSP Iview, IAC iview etc.
But only the webdynpro iview is still not able to show that image,but is instead showing no image during loading.
Have checked every possibility.
Can anyone suggest what could be the problem??
Thank You.Juhi Bhatnagar
Greetings!!!
May i know , what is the procedure need to be followed to replace the default Loading ICON with our custom image.
2. Does our custome image should be a image file (like jpg, png) or its like a command
Kindly share the procedure for this...
Appreciate your response in advance'
Thanks -
I have created a custom capture image in WDS. Now when I try to boot my reference PC into this image the PC hangs at "Loading files". The reference PC is running Windows 7 and I am using Windows Server 2012 Standard on my server.
I have followed the instructions on how to create the custom capture image on the server to a fault. I PXE boot the PC and it shows the capture images after I hit F12. The problem is that it starts to boot and then hangs about 2/3 way through the progress
bar.
Any help would be appreciated.Hi Derrick Logan,
We need know the detail phases your client hang, if it is irregular status, please collect the WDS log then post it. You can refer the following similar thread solution first.
How to enable logging in Windows Deployment Services (WDS) in Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and in Windows Server 2012
http://support.microsoft.com/kb/936625/en-us
Windows is loading files... Hangs on WDS
https://social.technet.microsoft.com/Forums/windowsserver/en-US/baacadc4-830d-43e1-ace8-3292e886958e/windows-is-loading-files-hangs-on-wds?forum=winserversetup
WDS hangs at "Windows is loading files..." on a LAM jhl91 laptop
https://social.technet.microsoft.com/Forums/windowsserver/en-US/3ebb6e0b-9f05-4fee-b3c0-129c34bb879d/wds-hangs-at-windows-is-loading-files-on-a-lam-jhl91-laptop?forum=winserversetup
I’m glad to be of help to you!
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Custom Personalization Dialog for JSP Dynpage
Hi,
i have a JSP Dynpage Component with the bean. i want to allow the user to personalize the iView when they click the "Personalize" in the iView Tray. So i have implemented doEdit() in the JSP Dynpage class and setting a JSP in the doEdit(). But in the portal the iView is not bringing any custom personalization JSP when i click "Personalize" in the iVIew Tray Drop Down Menu.
doEdit() method wont work for JSP Dynpage ? is it only for Abs Portal Component ?
Thanks,
SaravananHi Saravanan,
Hi Saravanan,
JSPDynPage is more elaborate version of the DynPag. It creates a JSP file and, optionally, a Bean class.
This means that the doProcessBeforeOutput methods are slightly different and there is an additional JSP file and an optional Bean class file. There are obviously other differences (such as the differences in the portalapp.xml file).
Just check with a sample Portalapp.xml file:
Ensure all the entries are made.
<application>
<application-config>
<property name="releasable" value="true"/>
</application-config>
<components>
<component name="BeginEPDevelopment">
<component-config>
<property name="ClassName" value="com.yourcompany.BeginEPDevelopment"/>
</component-config>
<component-profile>
<property name="diplayHistory" value="10">
<property name="plainDescription" value="BlogEntries"/>
<property name="personalization" value="dialog"/>
</property>
<property name="diplayStyle" value="list">
<property name="type" value="select[list,entries]"/>
<property name="personalization" value="dialog"/>
</property>
</component-profile>
</component>
</components>
<services>
<service name="BeginEPDevelopmentService">
<service-config>
<property name="startup" value="true"/>
<property name="className" value="com.yourcompany.BeginEPDevelopmentService"/>
</service-config>
<service-profile>
<property name="BlogComments" value="Display"/>
</service-profile>
</service>
</services>
</application>
Hope it helps you.
Regards,
Ponneswari. -
Problem in loading images in JSP
Hi
My JSP page is loading few gif images.
I am running tomcat 4 connected to apache 1.3.22 using MOD_WEBAPP connector.
My JSP file loads perfectly alright when I load it directly from tomcat server that is port 8080.
But when I load it from apache that is port 80, it is taking very long time and not loading images.
Does anybody has (or had ) the similar problem?
Please help me
Thanks
RajiI'm having the same problem displaying images when I call a jspt hrough Apache 2.0.39 from Tomcat 4.1.3.
I am using mod_jk as my connector through Apache.
Did you come up with a solution to displaying images when calling your JSP app through Apache?
Thanks
Lenny Sorey -
Hello,
I've created JSPs with JSP DynPages. Now i vant to switch from one JSP to the other. How can I do this? This is my Code from the first JSP:
<%-- DHLICenter.jsp --%>
<%@ taglib uri= "tagLib" prefix="hbj" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<title>Ihre Auswahl</title>
<head>
</head>
<body>
<% String PublicURL = componentRequest.getWebResourcePath() ; %>
<MAP NAME=map1>
<AREA HREF="page2.jsp" COORDS="350,270,460,330">
</MAP>
<img src='<%= PublicURL+ "/images/screen1.png" %>' usemap="#map1" border="0" />
</body>
</html>
The Path for the Image works fine. But when i click the area i got an error message (iview not found). Can someone help me? Thanks in advance...Hi Alexander,
If u are using the jspdynpages ,,then navigate from one jsp to other thru the controller..
Its always best practice to change the jsp state in controller
for instnace ,,u can change ur code this way nd try:
Use an image Button using HTMLB
for instance
<htmlb:button id = "myButton14"
text =
"<img src='/sap/public/bsp/sap/public/bc/icons/s_s_okay.gif' border='0'>OK "
onClick = "myButtonClick"
encode = "FALSE" />
Now in ur controller
looks like this
public static final int PAGE1 = 0;
public static final int PAGE2 = 1;
int PAGE_STATUS = PAGE1 ;
public void doProcessBeforeOutput() throws PageException {
switch (PAGE_STATUS) {
case PAGE1 :
this.setJspName("page1.jsp");
break;
case PAGE2 :
this.setJspName("page2.jsp");
break;
public void onMyButtonClick(Event event) throws PageException {
try {
PAGE_STATUS = PAGE2;
} catch (Exception e) {
PAGE_STATUS = ERROR_PAGE;
Cheers
Swathi
Do offer pts nd ncourage:-) -
How do i load images from a folder?
Hello everyone,
Please can someone help me as i am stuck.
I am trying to research loading images from a folder called /images/unknown (unknown is a customer number and is stored in a variable called customerNo).
I feel that i will need to load the images into an array then display them to the screen with a viewer.
Can anybody help me.
Thanks in advanceWelcome to the Sun forums.
irknappers wrote:
...Please can someone help me as i am stuck.You might want to be more exact in future, about what you are stuck on.
import javax.imageio.ImageIO;
import java.io.FileFilter;
import java.io.File;
import javax.swing.JFileChooser;
class LoadImages {
public static void main(String[] args) {
String[] suffixes = ImageIO.getReaderFileSuffixes();
FileFilter fileFilter = new FileFilterType(suffixes);
File directory = null;
if (args.length==1) {
directory = new File( args[0] );
} else {
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode( JFileChooser.DIRECTORIES_ONLY );
int result = fileChooser.showOpenDialog( null );
if ( result == JFileChooser.APPROVE_OPTION ) {
directory = fileChooser.getSelectedFile();
} else {
System.err.println("Must select a directory to proceed, exiting.");
File[] images = directory.listFiles( fileFilter );
for (File file : images) {
System.out.println(file);
System.out.println( "The rest is left an exercise for the reader. ;-)" );
class FileFilterType implements FileFilter {
String[] types;
FileFilterType(String[] types) {
this.types = types;
public boolean accept(File file) {
for (String type : types) {
if ( file.getName().toLowerCase().endsWith( type.toLowerCase() ) ) {
return true;
return false;
} -
Custom Loading Screen in Applet
Hello,
in Flex/Flash the swf File contains 2 parts. First the loading Screen and second the programm.
So it loaded the loading Screen and than contains with the loading of the programm.
You can override the common Loading Screen and add some company specific varaint. The is very usefull, cause many company have a own CI.
So it is possible to change the Loading Screen in Java FX Applets?
Thanks for you Answer.
Regards,
RookeeSee [Joshua Marinacci's Blog: A Better Applet Experience, Part 1: a custom loading screen|http://weblogs.java.net/blog/joshy/archive/2008/08/a_better_applet.html] article.
But I fear we are currently limited to an image, fixed or animated (Gif). We cannot do something fancy like a lightweight FX program showing a more or less complex animation while the heavyweight applet loads in background (and provides progress information...). -
Customizing AM Images & Facing Problem in Update & Deploy War files
Hey Guys!
This is Yash Bansal from Gurgaon, India. i am new to access manager. i am now customizing it and facing problem in customizing.
I have customized images which is present in directory path:
opt/SUNWam/web-src/services/images/
and updated services.war file which is present in directory path:
opt/SUNWam/war/
with command
jar -uvf services.war /opt/SUNWam/web-src/services/images/login-backimage.jpg
then deployed configuration from the web server 7.0 admin console.
after that when i open the url
http://<hostname>/amserver/console
then Page Not Found error comes in the browser.
Just wanted to ask you guys am i doing the steps right. please help if someone know how to update and deploy war file on Sun Web server 7.0.
Thanks & Regards,
Yash BansalHi!
Deploying the configuration does not (re)deploy the application. Webserver stores a copy of the deployed application and all configurations in the admin instance. When you change anything in the webserver console it is first written there and only applied to the productive instance when you deploy configuration.
When you add images, jsps or something else to /opt/SUNWam/... and want it redeployed you have to use amconfig command. in /opt/SUNWam/bin there is a file called amsamplesilent. You have to fill the values in this file and then use
./amconfig -s amsamplesilent
I believe for a redeploy you have to set DEPLOY_LEVEL to 21, not sure here, check documentation.
I personally usually do not redeploy for images and such, I simply copy them directly the deployed location.
Why http://.../amserver/console does not work anymore, I have no idea. But at least after a redeploy it should be there again.
hth Chris -
Check printing - failed to load image
hello
i have an issue with printing checks. a long standing one.
my problems started when i put an image on a check. i wanted to add a signature image. once i did that, the popup that came up when i print a check did not come up. only for one user. i tried to solve the problem but it never got sorted out. so i created another username and removed the old one and it was working fine.
next i had an issue with the check not printing on blank pages for overruns only for one customer. to test why this was happening, i went to print preferences and and tried changing the maximum lines from 25 to 20. it popped a message saying 'failed to load image'. i ignored it. after that, i have now started to get the same problem of not getting the confirmation message when a check is printed.
why is this happening? is my only solution to delete this user and recreate one? any suggestions?Hi,
For the image related issue:
+Since it is a User specific issue,we would require the difference in permissions and security settings for that particular user and for a user for which it is working.
+What is the format of the picture (.JPG, >GIF etc.)
+If this happens only for one super user then try to create a new super user and test.
Regards,
Abhinav Banerjee
SAP Business One Forums Team
Edited by: Abhinav Banerjee on Nov 22, 2008 3:20 AM -
Referencing loaded images in APEX
Hi all:
Up until this point, I have used the same method of getting images to be recognized by an Apex
installation. That specifically has been through loading images into a physical directory on the
machine where APEX was installed. This was made available to me by the DBA that installed APEX.
This is Application Express 2.2.0.00.32 running on AIX Unix.
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
This arrangement worked. I was able to reference any image loaded to that directory using
"/i/[image].gif". "/i/" was set as my pseudo directory by default on Apex.
Over time, I developed an application that is now ready to deploy in like environments and I have
never had a problem with viewing graphics.
For the purposes of demoing to a specific customer, I was asked to deploy this to a different environment
temporarily, I was given the option of loading my application to a Windows XP environment running
Oracle XE and Application Express 2.1.0.00.39.
Since there was no physical directory that I could locate for images, it seemed to me that my only
option was to load my images using the wizard for loading image file components (which I understand
means using XDB)...
I was not been able to get this to work. I went back to my AIX Unix/Oracle 10g installation and attempted
to do the same (load images as a file component and reference them). To my surprise it didn't work there
either.
These are the steps I took in attempting this:
1.) Within my application definition, go to "Shared components"
2.) Under the Files section, I click on "images"
3.) Click on the button labeled "Create"
4.) The page "Create Image" appears. I click on the "Browse" button and I pick the image from my local file system.
5.) I leave the drop-down list as is (reading "No Application Associated")
6.) I click on the "Upload" button.
I then go back to my application under "Edit Attributes" and reference the file as /i/[file].gif
I find that the images do not show up. On IE, all I get is the standard red "X" indicating that
an image file failed to load.
I can't help thinking that I'm missing an obvious step. Let me know if there's any other info I should
provide.
ThanksHI,
To reference images loaded through shared components use:
#WORKSPACE_IMAGES#filename.gif (when you set it to No Application Associated)
or
#APP_IMAGES#filename.gif (when you associate it with a specific application)
Graham -
How can i make firefox not load images from certain websites permanantly
I am unable to block images on certain websites permanently. However, I can block images temporarily for a session through Option > Content > Load images automatically but whenever i clean the browser history or close down firefox the customized list that i entered disappear and i am back to square and again manually enter websites one by one and the same thing happens again.
You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
*https://support.mozilla.org/kb/how-do-i-manage-website-permissions
In case you are using "Clear history when Firefox closes":
*do not clear the "Site Preferences"
*Tools > Options > Privacy: History: [X] Clear history when Firefox closes > Settings
*https://support.mozilla.org/kb/Clear+Recent+History
Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords. -
Unable to install supporting objects(custom CSS/Images) through SQL
4.2.1
Hi there,
we have a Apex app which uses custom CSS/images loaded into shared objects CSS and image folders respectively. I followed the steps
http://nerd.net.au/29-apex-application-express/general-application/122-include-images-with-supporting-objects-on-apex-export-import
Now, this works fine when we manually import the application through application builder, it "prompts" if we want to install supporting objects, when yes is selected, everything gets installed.
MY problem is we have an automated patching process where the .sql application file gets installed but the supporting objects are not. So I tried bundling the supporting object as a separate .sql file but got an error
Testing options PL/SQL procedure successfully completed. declare * ERROR at line 1: ORA-20001: Package variable g_security_group_id must be set. ORA-06512: at "APEX_040200.WWV_FLOW_IMAGE_API", line 11 ORA-06512: at "APEX_040200.WWV_FLOW_IMAGE_API", line 31 ORA-06512: at
The supporting object is a button. Do I need to set the application id or security group id or something else?
begin
wwv_flow_api.g_varchar2_table := wwv_flow_api.empty_varchar2_table;
wwv_flow_api.g_varchar2_table(1) := '89504E470D0A1A0A0000000D494844520000009600000051080600000030EC5FEE000000097048597300000B1300000B1301009A9C1800000A4D6943435050686F746F73686F70204943432070726F66696C65000078DA9D53775893F7163EDFF7650F56';
wwv_flow_api.g_varchar2_table(2) := '42D8F0B1976C81002223AC08C81059A21092006184101240C585880A561415119C4855C482D50A489D88E2A028B867418A885A8B555C38EE1FDCA7B57D7AEFEDEDFBD7FBBCE79CE7FCCE79CF0F8011122691E6A26A003952853C3AD81F8F4F48C4C9BD80';
wwv_flow_api.g_varchar2_table(3) := '021548E0042010E6CBC26705C50000F00379787E74B03FFC01AF6F00020070D52E2412C7E1FF83BA50265700209100E02212E70B01905200C82E54C81400C81800B053B3640A009400006C797C422200AA0D00ECF4493E0500D8A993DC1700D8A21CA908';
wwv_flow_api.g_varchar2_table(4) := '008D0100992847240240BB00605581522C02C0C200A0AC40222E04C0AE018059B632470280BD0500768E58900F4060008099422CCC0020380200431E13CD03204C03A030D2BFE0A95F7085B8480100C0CB95CD974BD23314B895D01A77F2F0E0E221E2C2';
wwv_flow_api.g_varchar2_table(5) := '6CB142611729106609E4229C979B231348E7034CCE0C00001AF9D1C1FE383F90E7E6E4E1E666E76CEFF4C5A2FE6BF06F223E21F1DFFEBC8C020400104ECFEFDA5FE5E5D60370C701B075BF6BA95B00DA560068DFF95D33DB09A05A0AD07AF98B7938FC40';
wwv_flow_api.g_varchar2_table(6) := '1E9EA150C83C1D1C0A0B0BED2562A1BD30E38B3EFF33E16FE08B7EF6FC401EFEDB7AF000719A4099ADC0A383FD71616E76AE528EE7CB0442316EF7E723FEC7857FFD8E29D1E234B15C2C158AF15889B850224DC779B952914421C995E212E97F32F11F96';
wwv_flow_api.g_varchar2_table(7) := 'FD0993770D00AC864FC04EB607B5CB6CC07EEE01028B0E58D27600407EF32D8C1A0B91001067343279F7000093BFF98F402B0100CD97A4E30000BCE8185CA894174CC608000044A0812AB041070CC114ACC00E9CC11DBCC01702610644400C24C03C1042';
wwv_flow_api.g_varchar2_table(8) := '06E4801C0AA11896411954C03AD804B5B0031AA0119AE110B4C131380DE7E0125C81EB70170660189EC218BC86090441C8081361213A8811628ED822CE0817998E04226148349280A420E988145122C5C872A402A9426A915D4823F22D7214398D5C40FA';
wwv_flow_api.g_varchar2_table(147) := 'A514B7B6B6EA5AADA60B8582EAECEC54511471BD5EE7BEBE3EBF4E108FCA58FE9601580A68199FDAF12F8D1DDB5E3386221ADD8E3AF3CEC772A73505D60820C32BF0238E6DAF5D508DBAFFF2CFACE20C3E9A03E2789F3430B68D6DAF641BF33D8D6D63C0';
wwv_flow_api.g_varchar2_table(148) := '1ADBC68035B68D016B6C1BDBC68035B6BD46B6FF3B0074B1DD40306DC6CD0000000049454E44AE426082';
end;
declare
l_name varchar2(255);
begin
l_name := 'logo.png';
wwv_flow_api.create_or_remove_file(
p_name=> l_name,
p_varchar2_table=> wwv_flow_api.g_varchar2_table,
p_mimetype=> 'image/png',
p_location=> 'WORKSPACE',
p_nlang=> '0',
p_mode=> 'CREATE_OR_REPLACE',
p_type=> 'IMAGE');
end;
/Thanks Fac586! I did follow the process on those lines and was able to successfully get the images, application installed. The CSS which just had
body {
background-color:#000000;
}Was also applied. However, it for some reason does not work. Looks like the CSS is not getting loaded. When I delete the CSS and upload it again through the shared components->CSS folder, it works fine. Not sure what the solution is!
Oh and by the way, thanks a ton for helping everyone!
Cheers,
Ryan -
Load image from a cursor .cur file.
Hi all,
I want to create a customized cursor, and I have a Microsoft cursor .CUR file. Can I load this .cur file as an image? - Thank you
Edited by: trangkd on Aug 9, 2011 3:08 PMHi,
I've been google-ing up-and-down, but couldn't find any implementation of .cur and Java. If anyone has done so, please post... I was looking for an easy way i.e. couple lines of code to load image from a .cur file .. like we do with gif or jpeg out of the box. The JIMI has an extensive support of many other formats, and it will be an alternative if the graphics department won't give us a new set of cursor images in gif/jpg format.
Thanks so much. -
Loading images using java server page
I am using NetBeans 4.1 with the latest versions of both the SDK and j2EE sdk.
OK, all of the JSP and servlets I've done so far have been text only. I am now having trouble loading images.
I used <img src="images/IMG_0072.jpg" height="50%" width="50%"> to try to load the image, but it isn't working. I have tried various things such as moving the images directory (between having the directory in the same folder as the jsp source files and in the WEB-INF folder)and placing a '/' at the beginning of the path, but to no avail. On viewing the http monitor in Netbeans, I saw no surprises in the request data.
I have verified that the required images are in the right places, including the war file that Netbeans creates.
Now I am wondering if the fact that Netbeans puts all the files for the distribution into a war file is complicating my life here.
It seems to me that my use of the html img tag should not be affected by whether I am using JSP or servlets or plain old html, since in all cases the result sent to the browser is ordinary html (possibly with other, client side stuff that isn't relevant here).
Can anyone tell me how to solve this particular problem?
Thanks,
TedThanks for the suggestions.
I tested both, but no joy. I'll have to double check my html.
I observe that neither test had any impact on the behaviour of the web application. The URI was unaffected, and I still get the 404 not found error. Since I know the image files are there, I don't know why the server isn't finding them, unless I have to do something special because NetBeans 4.1 is putting them into the web applications war file. While I'd expect this to be a faq, as I don't believe I am the first to run into trouble with this, it is an important issue having implications for use of development environments and deploying web applications once development and testing have progressed to the point where deployment is warranted.
Any other ideas?
Thanks again,
Ted
Maybe you are looking for
-
Adding a refernce number to a form
Hi Folks, I have a form on my website which acts as a questionanire. As the data is purely qualitative I've not set it up to insert the data into a databse, only to forward it via a formail page to my email address. I would however like to add sequen
-
I couldn't paste anything in Design or Code view after updating to Dreamweaver CC 2014.1 this week on my Windows 7 system. I discovered that if I rebooted my computer and opened Dreamweaver without opening any browsers (have tried Chrome, Firefox, IE
-
How to make a node of a Hierarchical Tree BOLD
When we click the node of a Hierarchical Tree, we want to make the node BOLD. We tried using set item property but it's not working.
-
After changing my password to log into Facebook, it is no longer locked in. I have to enter it each time I lof in to my Facebook account.
-
The X for STOP loading the page does not appear in the Navigation Toolbar. If I do the right click, select Customize, Restore Default Set, it appears; click Done and it disappears. I have disabled the theme; disabled all extensions; reset the toolbar