Path of the gif file
I am using Weblogic 5.1.
The root path of my jsp files is public_html.
Can I link to a gif file outside public_html from jsp file?
i.e. public_html gif
| |
| |
| |
jsp files gif files
Hi, you can create a subdirectory in the public_html. And then you can display your gif file like this:
<img src="subdirectory/xxx.gif">
peter
Similar Messages
-
Unable to locate the gif file related to ESS
Hello,
the SAP standard ESS Package is using this path to show message-icons:
http://FQDN:50000/webdynpro/resources/sap.com/tcwddispwda/global/CSF/common/statusicons/msg/
In detail the icon ico12_msg_warning.gif is not found.
Provide me inputs to find out the gif file mentioned above
Koti Reddy ChimalamarriHI Koti,
I hope the images are not placed in KM.
Reagrds,
Santhosh -
How to determine the path of the jar file cache of javawebstart?
Hello, I need to know how to determine where the java web start application
file jar cache is stored on windows system hard drive.
I would have launch of the inner processes
I have need to know the path of file jar .
example if my application is myAppliation.jar
in code generic class of myAppliation.jar i have the command runtime
String strCmd =
System.getProperties().getProperty("java.home") + "\\bin\\java" +
" -cp " +
System.getProperties().getProperty("java.class.path") + ";"
+ " anotherClass.class ";
Runtime.getRuntime().exec(strCmd);
the anotherClass.class has need
of the contained library in myAppliation.jar.Thanks i have tried this metod and function
java.net.URL resource = classLoader.getResource("myResource");
if (resource != null) {
String s = resource.toString();
if (s.startsWith("jar:")) {
int index = s.indexOf("!");
if (index > 4) {
String fileurl = s.substring(4, index);
if (fileurl.startsWith("file:")) {
String path = fileurl.substring(5);
// now path is the path to the jar file in the cache containing the resource
System.out.println("file jar: "+path);
} -
How to get the real path of the xml file
I have a java application
following is the package structure
com>>gts>>xml
having file---------> MyXML.xml
com>>gts>>java
having java program to read the file
Problem is if I use File file = new File("..\\xml\\MyXML.xml");
java.io.FileNotFoundException: E:\LEARNING_WORK_SPACE\JavaXml\..\xml\MyXml.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
How do I get the real path of the xml file.
Edited by: shashiwagh on Jan 29, 2010 11:46 AMHi,
if your XML file is inside a package you can easily get it from the classloader.
Note that your application maybe packaged inside a jar so it is not safe to use java.io.File for this purpose.
You have an xml file in :
com/gts/xml/MyXML.xml
in a class of the same module (that will packaged in the same jar) for example com.gts.java.XmlLoader :
// To get the stream :
InputStream is = this.getClass().getResourceAsStream("/com/gts/xml/MyXML.xml");
// Or the URL :
URL xml = this.getClass().getResource("/com/gts/xml/MyXML.xml");Hope it helps. -
I am trying to figure out how to clear my massage backlog on Messages for Mavericks OS. I believe a lot of space is taken up by this running in the background keeping recent messages loaded. Especially with all the gif files I've been sending. Is there a way to select all and deleter? Please help! Can't find anyone who looks to do the same just lots of manuals for using the app on iphones and ipads.
ThanksI am trying to figure out how to clear my massage backlog on Messages for Mavericks OS. I believe a lot of space is taken up by this running in the background keeping recent messages loaded. Especially with all the gif files I've been sending. Is there a way to select all and deleter? Please help! Can't find anyone who looks to do the same just lots of manuals for using the app on iphones and ipads.
Thanks -
Nokia Lumia 920. The gif file is locked.
After editing the cinimagraph foto, it can't be copied to a PC, even when program is closed. The gif file is locked. The system allows copying to USB after restart only.
That's no good, thanks for raising the issue here. There are other sharing options in the app thankfully.
-
How can I see the path from the preview file (*.prel) to my video files ?
Because a lack of hard disk space I have moved my video files to another drive and therefore unfortunately destroyed the relative connection to the preview file (*.prel).
Therefore the videos are not to be seen in the preview file any more.
How can I get information about the relative path between the preview file and the place for the original video files so I can get those back in the original position ?
or:
It may be possible to change the path for every clip in my preview file - but how ?
I can read answers in English, German or Danish.hansk
What version of Premiere Elements on what computer operating system?
Generalizing for now...
If you know where the files are by actually seeing them in their hard drive save location and you are getting "Where is the file ______?" messages, then you use those
messages to reconnect the source media to the project. Are you getting those messages and have you tried for the reconnects that way?
If edits are involved in the files that have become disconnected to the project, you can also consider the program's Replace Footage feature.
ATR Premiere Elements Troubleshooting: PE11: Replace Footage
Typically either of these ways is one at a time reconnects. With the "Where is the file _____?" message way sometimes you get lucky (depends on the circumstances) and more
than one file at a time might reconnect.
Please review and consider. Any questions or need clarification, please ask.
ATR -
Possible to have a text field display current path of the pdf file?
Would it be possible to display the current (windows) path of the pdf file in the page footer? Something we do in Word & AutoCAD... is it possible & how in Livecycle?
thanksYou can get the path of the current doc by using the command:
event.target.path
The filename can be retrieved by using:
event.target.filename
You can set these in a field on the master page so that it will appear as you want at bottom of every page. -
How to get the Path of the Current File using Import & Export File -Reg.
Dear all,
I have a mega (big) doubt. I have manually inserted the Figures from the figure folders. Now i need, fully automated. So How can I get the Figure path
Example :
PMString path = "E://development/Figures/";
now i checked, How many subFolders is there in "path", get the All Subfolders and check to the Article Name.
Example
Article Name == subFolder name then get the Files from the SubFolders(E://development/Figures/ChapterF/*.eps files").
now I paste the Document using to For Loop.
Please any one can suggest me, How can We get the Path in SDK.
Note:
Should I have to create the relative path by myself?
No method supplied in SDK to do this directly?
Please I need a help of this Query as soon as posible.
Thanks & Regards
T.R.Harihara SudhaNhttp://msdn.microsoft.com/workshop/author/dhtml/reference/objects/input_file.asp?frame=true
When a file is uploaded, the file name is also submitted. The path of the file is available only to the machine within the Local Machine security zone. The value property returns only the file name to machines outside the Local Machine security zone. See About URL Security Zones for more information on security zones.
i need to know on how to get the compelete path /directory of the filename
using <input type="file"> tag You can't. Its a security thing.
is there any other way to get an input file from a local host aside from <input type="file"> tag?No. Not using just html.
You could always go into activex components, but thats different again.
Cheers,
evnafets -
Where in TestStand is the path of the ReportGen files determined?
Greetings All,
I'm looking for the file that determines the file path to the ReportGen_xxx.seq files. I've noticed that there are files in the Crogram Files\National Instruments\TestStand 2010\Components\Models\TestStandModels and similar files in C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 2010\Components\Models\TestStandModels. I gather that the Program File section is used by Default, please correct me if I'm wrong. I'm interested in understanding how to call these ReportGen's from other locations or how do I call the ones in the Documents and Settings folder. This is something that a fellow co-worker and myself were discussing today with reference to the modified SequentialModels that I created some time ago and never thought which location it was coming from so at the time I placed the file in both location. Thank you in advance for an information that you provide me.
Regards,
Scott
Solved!
Go to Solution.Scott,
If you look in your search directories you can find your answer. The Public Components Directory comes BEFORE the TestStand Components directory. Therefore if it is not found in the public one then it looks in the TestStand one.
Technically you should never touch anything in the TestStand folder. All modifications should be made in the public folder. It is a way to "override" the default behavior. And if it doesn't exist in the public folder and you want to modify it then copy it over and modify it. Keeping the same folder hierarchy that is in the TestStand folder.
So to answer your question. The path is coming from your search directories.
Hope this helps,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~ -
Howto resolve the path to the class file
hi @ all,
i'm currently developing a package for ldap operations. now i want to write down all the real basic configuration for that package into a xml file which i want to save in the folder where the compiled class files are stored. my problem is that i do not know how i can resolve the absolute path to that xml file later. i mean, how can i load this file if the package is, e.g. exported as an jar file and i do not know where this jar file will be stored by the users of my package.
can anyone help me with that please?
thx in advance
dialsck, cool...
looks like it goes into the right direction.
with this statement i get the path where the jar is stored, right.
in my current situation this is the path to the src directory which i configured my eclipse ide to store the class files under.
let's say this path is d:\tmp\src
my package is tdl.domain.utils.ldap
so in fact at the moment my class files are stored under d:\tmp\src\tdl\domain\utils\ldap and the xml file too.
first:
that statement returns /D:/tmp/src
as you can see it uses unix path separators. do i have to replace them with the machine specific pathSeparatorChar?
second:
can is simply add the path tdl\domain\utils\ldap to that one (using the according machine specific pathSeparatorChar) and will this also work when i build a jar file of my package?
sorry for all that questions but i realy need this...
thx
dialsc -
New path in the shell file not getting updated
hi,
Whenever I change the path of the header and footer files in the .shell file (headerFooter.shell), it never gets updated. The server always looks at the path I specified the first time.
Does anyone know how I could resolve this problem.
Thanks,
Rohiniare you using a .portal file or a desktop?
if .portal file the xml from the shell get copied into the .portal when you build it. so you may have to open it again in WLW or make the change in the .portal file yourself
If it is a desktop then you should see your changes right away in development mode, otherwise in production mode you will have to redpeloy the app or bounce the server. -
Modifying the search path of the include files when compiling with CC
Hi All,
In my current task, i am working on a new module.
- There are many source-files where header-files of type, "#include <something.h>" are included.
- The new Module just replaces the body of "something.h".
Originally <something.h> is present in system-wide location.
Now, i am trying to compile the code with the new files created, using "-I-" option.
http://download.oracle.com/docs/cd/E19205-01/821-1384/bjadq/index.html
Section 2.16.1 in above says:
For include files of the form #include "foo.h", search the directories in the following order:
1. The directories named with -I options (both before and after -I-).
2. The directories for compiler-provided C++ header files, ANSI C header files, and special-purpose files.
3. The /usr/include directory.
For include files of the form #include <foo.h>, search the directories in the following order:
1.The directories named in the -I options that appear after -I-.
2. The directories for compiler-provided C++ header files, ANSI C header files, and special-purpose files.
3. The /usr/include directory.
When i used the "-I-" option,[[ -I- -I/my/own/module/path ]] it could not include the common header files. [like <functional>, <algorithm>...etc]
If "-I-" option is not used it could find the above headers.
Could someone tell me what am i doing wrong here?
Thanks & Regards,
SreekarExtension to the above. [could't edit and save it, hence placing it here]
I know that specifying a system-wide locations manually is not standard, but tried the following to see if there is any work-around.
I manually included "/usr/include/c++/4.1.1" to search for <algorithm> and then CC complained saying that, it could not find "bits/c++locale.h" which is internally included in "<algorithm>" .
I am working on RHEL 5.4 (x86_64 arhictecture)
When included "/usr/include/c++/4.1.1/x86_64-redhat-linux", got the following error:
$ CC -m32 -c -library=rwtools7,iostream,Crun,no%Cstd -I- -I/data1/users/nfr1dev2/include -I. -I./gen -I/data1/users/nfr1dev2/pvcs/cms_ba2ap/cms/source/include -I/usr/include -I/usr/include/c++/4.1.1 -I/usr/include/c++/4.1.1/x86_64-redhat-linux -o utsislist.o utsislist.cc
"/usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h", line 55: Error: uselocale is not defined.
"/usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h", line 55: Error: __uselocale is not defined.
"/usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h", line 56: Error: "__gnu_cxx::__typeof()" is expected to return a value.
"/usr/include/c++/4.1.1/x86_64-redhat-linux/bits/c++locale.h", line 61: Error: __locale_t is not defined.
"/usr/include/c++/4.1.1/x86_64-redhat-linux/bits/gthr-default.h", line 593: Error: PTHREAD_MUTEX_RECURSIVE is not defined.
"/usr/include/c++/4.1.1/bits/stl_algobase.h", line 577: Error: memset is not a member of __gnu_cxx::std.
"/usr/include/c++/4.1.1/bits/stl_uninitialized.h", line 119: Error: memmove is not a member of __gnu_cxx::std.
"/usr/include/c++/4.1.1/bits/allocator.h", line 124: Error: A declaration does not specify a tag or an identifier.
"/usr/include/c++/4.1.1/bits/allocator.h", line 124: Error: Use ";" to terminate declarations.
"/usr/include/c++/4.1.1/limits", line 378: Error: __CHAR_BIT__ is not defined.
"/usr/include/c++/4.1.1/limits", line 378: Error: An integer constant expression is required here.
Compilation aborted, too many Error messages.Cheers,
Sreekar -
Getting the path of the java file your code is in
Hey,
How can I get the full path of where my java file is on my computer in my java code?
Something like this is what I want:
this.getFilePath();
Thanks! / EllenI posted a utlity class to help you do this awhile back:
http://forum.java.sun.com/thread.jsp?thread=425748&forum=31&message=1895876
As far as the posters question of why you would want to do that, determining the correct location to read .properties files is a pretty decent reason. Another would be determining where a JAR file is located that needs to be updated with an auto-updater. And another is determining where to save data and/or log files. And another might be to do a checksum over various pieces of a JAR to make sure it hasn't been tampered with. And another....
I think you get the point. Because Java does not have a command line entry point (i.e. the name of an executable that was used to start it's process), this is pretty much the equivalent.
And for all of you that use relative pathnames (i.e. starting with ./), that is just waiting to bite you. You should NEVER make the assumption that the current path is where you think it is. Much safer to use the utility above so you know for sure where your class is installed.
Cheers!
- K -
Setting up a relative path in the "open file" dialog window
Hello there,
I want to open a PDF file through a clickbox out of
Captivate. The path I have to put in there has to be absolute, I
guess.
Is there any possibility to put a relative path in there?
To get you a clue, what I want to do with that, here is my
intention:
I want to build up a splash screen for a Auto-Run-CD, where I
want to link some reference documents.
Thanks in advance for your suggestions,
MarkusHi Markus
Normally all you have to do is just type the file name of the
file. Then ensure the Captivate output and the file you are linking
to are in the same folder. If you don't like that approach, I
believe Captivate will accept another relative path that is set up
perhaps like this:
Root level of CD
Documents folder
So the link would look as follows: Documents/SomeFile.PDF
Cheers... Rick
Maybe you are looking for
-
How to get back from Show form to Render List form in XML Forms
Hi, As we use the Hyperlink "Display" in RenderList form to go to Show form similarly what kind of hyperlink shoul we use in Show Forms to get back to RenderList Forms. We did try out with the Back option but are not getteing the desired result. Swet
-
Memory upgrade is this possible?
hi ppl, i currently have 2 x 512mb modules in my T60. I wanted to know can i put in 1 x 1gb module into my T60 bringing my total to 1.5GB? (i.e 1GB module and 1 512mb module)
-
I want to change the payment mode to credit card the problem that am still having some cents in my account how i can fix it ?
-
Getting a Mail session from Initialcontext
Hi, Does anyone know how to configure oc4j such that i could get a mail session by looking up in the initial context? I know it could be done in jboss by altering an xml file. But I am not sure how to do it in oc4j. Could someone help please? Could a
-
Large, 5min long Quicktime .mov HD file I received says it's converting when I try to open and play it in Quicktime 10.3 but then stops and tells me it's not a supported file type, a program I downloaded to try and convert the file type also told me