How to load jsp without menubar using shortcut?
I know, everything is possible,... so:
I have a webapp with jsp's which I start using javascript's 'window.open' command on our website. All pages are without menubar, toolbar, fixed size, etc...
However, I noticed that the users can make a 'shortcut' using 'drag 'n drop' to their desktop. When the user loads the application using this shortcut, the windows have toolbars, menubars available... which I don't like...
How can I avoid this?
you might be able to use javascript to detect if the browser window that the page is currently loaded has those bars loaded. If it does, then re-invoke your "open page in new window" logic to remove them and the original window.
Granted, I cannot be sure that you can verify that with javascript, but you could probably check out the comp.lang.javascript user group over on google for more info in that domain.
Similar Messages
-
How to load the boot menu using the command line , after the configuration change ?
how to load the boot menu using the command line , after the configuration change ?
Hi @Bask-48
Welcome to the HP Forums!
It is a terrific place to find answers.
For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
I grasp you are trying to change the boot order. Here is a link to Configuring the Boot Order in the System BIOS
that will assist you.
Good Luck and Happy Holidays!
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
Does anyone know how to load ACR presets when using ACR in the creative cloud?
Does anyone know how to load ACR presets when using ACR in the creative cloud?
Moving the discussion to Adobe Camera Raw forum.
Thanks,
Atul Saini -
How to Load an external swf using loadmovie in AS3
I need to create a button with script, on rollover load an external swf into movieclip in AS3. This was able to create this in AS2, but I need to create this in AS3
Thanks again Ned.
Kenneth Russell
graphic artist, Sr.
Lockheed Martin - MS2
2323 Eastern Blvd., Baltimore, MD 21220
Phone 410.682.0554 Fax 410.682.0543
From: Ned Murphy <[email protected]>
Reply-To: [email protected]
Date: Thu, 23 Jul 2009 19:08:25 -0600
To: kenneth russell <[email protected]>
Subject: How to Load an external swf using loadmovie in AS3
In AS3 you use the Loader class to load external swf's and image files. You
should be able to find examples both in the Flash help files and these forums
if you search. If you aren't aware of how to code buttons in AS3, that can be
found as well. In AS3, just about any kind of interction involves the use of
event listeners in combination event handler functions... in the case of a
button rollover an example would be...
btnName.addEventListener(MouseEvent.ROLL_OVER, overHandler);
function overHandler(evt:MouseEvent):void {
// your loading code or whatever
> -
How to load jsp files in Actionscript 3.0?
i am new to AS 3.0. can anybody tell me how to load a jsp file in AS 3.0. is it same as xml loading or ?
I hope you cannot load jsp files into flash, you can just share the values between them.
-
How to work jsp in Eclipse using Tomcat5.1
Hi
I want to work JSP, Servlet by using Eclipse IDE.
I worked on eclipse but only core java.
Plz anybody tell me how i will work JSP in Eclipse.
tell me the whole steps.
Thankx
JharanaI want to work JSP, Servlet by using Eclipse IDE.
I worked on eclipse but only core java.
Plz anybody tell me how i will work JSP in Eclipse.
tell me the whole steps.Go to Google. Look for "eclipse j2ee plugin". Find and install one.
Eclipse doesn't support J2EE by itself. -
How to load MARA-/bev1/luldegrp using LSMW?
Hi,
I'm currently doing LSMW load on Material Master using idoc MATMAS05 but it does not handle the field mara-/bev1/luldegrp. Looking around at other LSMW idocs/objects and seaching in SDN but without any success. Does anyone know what can be used to load this field?
Regards,
ChuinHi Chuin,
This forum doesn't provide specific info on LSMW. You may check https://service.sap.com/lsmw for more info.
Regards,
Markus -
How to run jsp and servlet using JBOSS server
Dear Friend,
I have JBoss application server and Eclipse id
now i want to run JSP and Servlet but i am not getting the place where to place my servlet class file to run it .
before that i run jsp and servlet using tomcat5.0 but in that i place my servlet class in WEB-INF/classes folder and do corresponding entry in web.xml file and run it through browser.
now i want to use JBOSS how it is possible
PLZ Help meIs the servlet class defined in a package.? If servlet class package is servlets., copy the servlet to
WEB-INF/classes/servlets directory. -
Import a servlet from JSP without the use of a .JAR
Migrating web app from NT / iPlanet 4.1 to Solaris / iPlanet 4.1.
I've created a Web app in which JSPs utilize Servlets stored in a JAR file. I am now moving the app to a server that I do not control. I wish to configure the app in such a way that I will be able to modify the servlets and not have to restart the Web server to see the changes. I assume the only way to do this is to remove them from the JAR file.
I'm familiar with how to package servlets in JAR files and use them in JSPs, but can't figure out how to import (my own) servlets from outside the JAR file. Is there any way to do this without specifying the servlet in the CLASSPATH?
...sorry if it's a stupid question, I'm not a Java programmer. Thanks in advance. Please let me know if I have not given enough detail.I've created a Web app in which JSPs utilize Servlets
stored in a JAR file. I am now moving the app to a
server that I do not control. I wish to configure the
app in such a way that I will be able to modify the
servlets and not have to restart the Web server to see
the changes. I assume the only way to do this is to
remove them from the JAR file.Bad assumption! This will have no impact on reloading the servlets!
What you are asking for is called 'hot deployment'. Not all servers do that.
Tomcat 4 does for instance, but you have to configure it for your specific webapp to be able to use it.
Hot deployment just reloads all the classes in its classpath, it doesn't matter if they're in jars or just .class -
How to load JVM without specifying jvm.dll
How can I load JVM from native C++ code withoutknowing the path of jvm.dll?
If on Windows, use the registry to find the place where the JRE has been installed. Take a look at the file java_md.c in the launcher subdirectory of the src.zip file supplied along with the JDK. Specifically, you will probably be most interested in the GetStringFromRegistry and GetPublicJREHome functions there.
In the registry, look for the key HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment. That has a number of values you will probably want.
If not on Windows, I really don't know how to find the location of the JRE installation without it being configured in an environment variable, or being hardcoded.
Hope it helps.
Cheers. -
How to load image to midlet using SUN ONE Studio 4, ME?
Hi, everyone:
I'm trying to load an image to my midlet using Sun ONE Studio.
Image image = null;
try
image = Image.createImage("/Duke.png");
}catch (Exception ex) {}
ImageItem item = new ImageItem(null,image,ImageItem.LAYOUT_CENTER,null);
append(item);
I copied Duke.png in the same directory with midlet class file. But I can't see the image. I can get correct result by using J2ME wireless toolkit.
Anybody know how to use Sun ONE Studio to load image?
Thank you in advance!Hi, everyone:
I'm trying to load an image to my midlet using Sun ONE
Studio.
Image image = null;
try
image = Image.createImage("/Duke.png");
}catch (Exception ex) {}
ImageItem item = new
m = new
ImageItem(null,image,ImageItem.LAYOUT_CENTER,null);
append(item);
I copied Duke.png in the same directory with midlet
class file. But I can't see the image. I can get
correct result by using J2ME wireless toolkit.
Anybody know how to use Sun ONE Studio to load image?
Thank you in advance!
Hi,
I have the same problem that you had with the path to the .png file in
sun one studio 4, ME.
Have did you solve it?
I have all my .java files and the .png file in the same dir. and
the call for creating the Image look like this:
logo = Image.createImage("/splash3.png");
and it does not work.
The .png file is in the jar content.
Will be thankful for all help! -
How to load text without a variable
As far as i know in AS2 to load a text i need to define a
variable in text like:
text=this is the text displayed.
right now i have to display a text verision of a website
which i cant put a variable like "text=" into it, im wondering is
there anyway to load text in AS2 without using a variable? because
in AS3 you can use the URLLoader.
Andrei1 pointed out that getURL might work, does anyone know?
thanks a lotyay it works, some what, errm, right now im getting errors
when i publish anything with actionscript 2.0
the errors are :
BitmapData.as
lines 7,16, 26, 27, 28, 31, 41, 43, 45, 46, 53, 63, 76, 83
line 7:unable to add 'flash.geom.Rectangle' [my flash is in
another language so i translated this]
the rest of the lines are: unable to add 'Rectangle'
Transform.as:
line 15:unable to add 'flash.geom.Rectangle'
Movieclip.as:
line 36:unable to add 'flash.geom.Rectangle'
the code is working but the text box is weird here is a
screenshot:
http://img512.imageshack.us/img512/8532/loaderha4.jpg
and i have to select the text and drag to the right to see
the rest of the text.
I think this is something to do with the errors? because i
can't add Rectangle? or its the text box needs more
tweaking? -
Hello,
Someone please help me. What I am trying to do is load two .DLL files in my program. Program works fine when I
do the following way i.e. I have two .java files and in each I am loading one .DLL file. But I don't want to have
two .java files I want to load both the .DLL files in one program.
**************** Example.java **********
import java.io.*;
import java.util.*;
public class Example
public native int A(String in);
static
System.loadLibrary( "API2" );
public static void main( String args[])
Ex ex = new Ex();
int r;
r = ex.A("TEST");
public Example()
*****************Ex.java*****************
public class exsysml
public native int A(String in);
public exsysml()
System.loadLibrary("API3");
The above way works. But I need only one .java file to load both the .DLL files. i.e.
import java.io.*;
import java.util.*;
public class Example
public native int A(String in);
static
System.loadLibrary( "API2" );
System.loadLibrary( "API3" );
public static void main( String args[])
Example ex = new Example();
int r;
r = ex.A("TEST");
public Example()
but when I do this way it doesn't work and I get a UnSatisfiedLinkage Error at ex.A("TEST"). While doing the top way it works.
How can I fix this to just have one .java file and load both the library files as done in the bottom program but doing this program doesn't work. Any help is appreciated.
Thanks!what I figured out so far is that we can only load one library file in a single class and define all the native methods present in that library in the class where we are loading it. Means we can't load multiple library files in a single class. It's just my thought else if someone provides a better solution. I may be wrong so that's why I need your help.
Thanks -
How to load data into table Using Script Task
We have a directory/folder where we have a file. We need to insert the File Created Date , File Name , Extension into the database table of Sql server by using Script Task.
So could you please suggest , how to frame the connection string , fetch the file details and insert the data into the database table using Script Task of SSIS 2008You can achieve it as follows using standard script task
1. Add a ForEachLoop container to point to your directory to iterate though the files. Add a variable of type string inside loop to get file name of each file it iterates. Choose option Filename and extension. Add a variable to just store extension part
(FileExtension), set EValuateAsExpression true for it and give expression as below
SUBSTRING(@[User::FileName],FINDSTRING(@[User::FileName],".",1)+1,LEN(@[User::FileName]))
2. Add a script task inside loop and pass filename variable as a read only variable to it. Crete a new variable to get creationdate and pass it as ReadWrite. Inside write code as below
Public Sub Main()
' Add your code here
Dim f As New System.IO.FileInfo(Dts.Variables("FileName").Value.ToString())
Dts.Variables("FileCreatedDate").Value = f.CreationTime
Dts.TaskResult = ScriptResults.Success
End Sub
3. Add a Exec SQL Task after Script task inside loop and give a query like below
INSERT INTO TableName (FileName,CreatedDate,Extension)
VALUES(?,?,?)
and in parameter tab map the parameter placeholders 0,1 and 2 to @[User::FileName],@[User::FileCreatedDate] & @[User::FileExtension] variables
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to load jsp page in Frame?
hi
I have tried to make an Application which is a very simple Messenger made by java.awt.Frame
and had problem to load/open jsp page.
Is there any way to load/open jsp page in Frame When an event occured?
It makes me crasy these days.
Please Help me.
Thank you and have a nice day!
Sorry about my English^^I think we need more info than that.
Why do u want to open JSP in a Frame? do u want to open it with all the JSP code still there (for editing), or do u just want to display the HTML which is created after executing the JSP.
You will need Tomcat or JRun or another servlet/JSP engine to execute a JSP. do u have it installed? and the fact that u have win2000 and sql server 2000 doesnt really shed any light on your problem and what u r trying to acheive.
Post more info and hopefully we'll be able to help u better.
Maybe you are looking for
-
Numbers file keeps reverting to old version
I use Numbers (Version 3.5.2) on my MacBook Pro running (Yosemite 10.10.2) and also on my iPad air (running iOS 8.1.3) and iPhone 6 (running iOS 8.1.3). I have a file that I use to keep track of grades that is used across all three devices. In the
-
I get the "Unable to Move Message. The message could not be moved to the mailbox Trash". whenever i try deleting from my ipad 2. I am unable to delete from Trash...HELP! Additional info...I am trying to delete these emails from a Webmail address. the
-
Simple question: Exporting Flash
I need to make and import animations of simple objects made from circles and rectangles in to FCP. The animations will be used to supplement live video of tasks that are not easily videoed in the detail a student needs to see. The end product will be
-
Storing Array of Floats as a BLOB
I am designing a new laboratory database. For some tests, I have several waveforms with ~10,000 data points acquired simultaneously. In the application (written in C), the waveforms are stored as an array of floats. I believe I would like to store ea
-
How do I unistall a game completely from an imac? Please.