View properties file feature

Hi all,
Can this plugin display properties file (or other files loaded with loadjava utility such as xml files) loaded in the database ?
If that's not the case, is such feature planned sometime in the future ?
Many thanks,
Teggy

It depends on where you put it. With JSPs you can use Java to access the server's file system. This means you can place the properties files anywhere you want. If you place the properties file in a place accessable to the web, like under webapps folder in Tomcat, than the rest of the world can view it if they find its name. (note, the user will not see your JSP code when they access your site, they will only see the HTML output, so they will not automatically know the name of the properties file...) If you put the properties file outside the web-accessable context, like in a WEB-INF directory, then you can still access it through the JSP, and it will remain un-reacheable from the internet.

Similar Messages

  • [svn] 3070: Update feature.properties files on BlazeDS 3.0.x branch.

    Revision: 3070
    Author: [email protected]
    Date: 2008-09-03 05:52:17 -0700 (Wed, 03 Sep 2008)
    Log Message:
    Update feature.properties files on BlazeDS 3.0.x branch. I did this on BlazeDS trunk but also needed to do it here. The feature.properties files had references to tests (httpservice,webservice) that have been removed.
    Modified Paths:
    blazeds/branches/3.0.x/qa/features/full.properties
    blazeds/branches/3.0.x/qa/features/httpService.properties
    Removed Paths:
    blazeds/branches/3.0.x/qa/features/nist.properties
    blazeds/branches/3.0.x/qa/features/webService.properties

    bump

  • The charsetalias.properties file is gone in Firefox 4? Most web sites in Hong Kong use the Big5-HKSCS charset but declare the charset as Big5. Without charsetalias.properties, the encoding needs to be manually changed very often when viewing them.

    I have been defining Big5 as an alias of Big5-HKSCS in charsetalias.properties. This makes Firefox renders pages declared as "Big5" to be rendered in Big5-HKSCS instead. Big5-HKSCS is a standard published by the Hong Kong government because the Big5 charset does not contain many common Chinese characters used in Hong Kong. However, Big5-HKSCS is just an extension of Big5, so most (if not all) Chinese web sites in Hong Kong using Big5-HKSCS declare their pages to be in Big5 in the <meta> tag.
    I am now trying out Firefox 4 RC and found that the charsetalias.properties file is no longer there. So in order to read pages containing characters that are in Big5-HKSCS but not in Big5, I need to switch the encoding manually. This is extremely inconvenient. Can you consider bringing charsetalias.properties back?
    [http://groups.google.com/group/mozilla.dev.i18n/browse_thread/thread/415caa98a6246a00 Someone noticed this issue as well.]

    Here's the script I was working on.
    It determines the encoding of the site by checking a couple of different ways the meta tag can supply encodings. One way is to have a charset attribute on a meta tag, and the other way is to have a meta tag with http-equiv="content-type" and have charset= be part of the content attribute.
    (note: I think [https://developer.mozilla.org/en/DOM/document.characterSet document.characterSet()] might be a far more reliable way to detect encoding since it doesn't depend on the specific way the meta tag was written. But I haven't tested it.)
    Debugging messages showed that it could detect the specified encodings fine on the few test pages I was trying it on. The problem is in the way I change the encoding.
    It currently uses .setAttribute to attempt to modify the meta tags once it finds the encodings. Unfortunately, this doesn't change the selected encoding in Firefox. It doesn't affect the page source, either.
    I have to replace those setAttribute calls with something that will actually affect the selected encoding in Firefox.... but I'm not sure what would accomplish that.
    http://pastebin.com/Yt7fygXe
    Just a little warning, it's case- and whitespace-sensitive because I didn't get around to using regular expressions yet. So if a page says charset="BIG5", you'll probably need to make it uppercase in the script as well. Sorry, I'm lazy!
    Nonetheless, I ''hope'' this is a start...

  • Ability to view multiple files in ONE window

    I can see here that this is not a new topic really but the thing with Acrobat 9 is so frustrating that it is just unbelievable.
    This is another pearl:
    Acrobat 9 "lost" its predecessors ability to view multiple files in ONE window. After opening four only documents I cannot see anything on the screen because the toolbars on each individual window cover all necessary view and nothing is left for the actual document. And sometimes I need to open 20 documents!
    This is ABSOLUTE DISASTER!!!
    I found some explanations from Adobe on the Web that are more than a year old.
    I was sure that by now this unfortunate mishandling of that feature (apparently it was dropped out from A9 deliberately - WHO'S IDEA WAS THAT?) would be somehow restorable.
    Would anyone happen to know if this feature can get restored to how it was working in A7 or 8 (without the need to uninstall A9 and install A8)?

    No, it can't be restored, unless Adobe decides to change the way Acrobat works (which is possible, but not likely).
    By the way, it was Microsoft's idea... Adobe were just following their example on this.
    You can make a feature request here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Deploying properties files outside of the web application in WebLogic 8.1

    Hi
              I am wondering if it is possible to deploy a web application and place configuration files (properties files, log4j xml files etc...) in a folder somewhere within WebLogic that is on the Server instance classpath. This would allow me to edit the config files and restart the server without having to hack into the web application .war file and then redeploy.
              I am really looking for an equivalent of the /applib folder in Oracle 10gAS (each OC4J server instance has an /applib folder which is on the classpath of the server).
              Is there an equivalent for a weblogic server instance?? (i.e. not just for the entire weblogic server but for individual sever instances).
              thanks
              Will

    WLS 9.2 includes pretty advanced features in this area. Both deployment plans and application libraries could be used. There's also a domain/lib directory where jar files can be placed and are visible throughout the server instance.
              Unfortunately 8.1 has none of these features. In 8.1, your choices are to either add these into the $CLASSPATH, or package them in the application.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • To Read the contents of the properties file which is located in webserver

    Hi,
    I have one requirement where I have to read the contents of a property file which is located in some path in server. Say for example, when you click on link abcd then contents of abcd.properties file should be displayed in one text view in webdynpro . I am trying to implement this in webdynpro for java. The main thing is like I am not able to retrieve the server path of the file and hence not getting the file contents. I tried using methods like  getApplicationPath() or getRealPath() but its not working. So can you guys please help me on to how to read the server file contents.
    Thanks and regards,
    Sai

    Hi Romano,
    Thanks a lot for your reply. However, I forgot to mention one thing in my question. Its like the path will be different everytime. Say, we have systems like development, acceptance, production. So when the user clicks on the link abcd, it should take the path of development system and similarly when the user clicks on the link in acceptance or production, the path will be different. say for example, in development the path will be
    usr/cluster/dev/abcd.properties but it acceptance it will be usr/cluster/acc/abcd.properties. So just want to know whether this will work? Anyway, I will give this a try.
    Thanks once again,
    Sai

  • HOW TO VIEW .PDF FILES IN ITOUCH4 .

    I DO NOT HAVE INTERNET CONNECTION . CAN ANYONE HELP ME IN VIEWING .PDF FILES LOCALLY WITHOUT INTERNET CONNECTION.DO ITOUCH4 HAVE BUILT IN FEATURE TO VIEW .PDF FILES.

    Hello pvoona,
    And welcome to Apple Discussions!
    DO ITOUCH4 HAVE BUILT IN FEATURE TO VIEW .PDF FILES.
    No it does not. You'll need the help of an application from the App store in order to do this. You can also view PDFs on the web via Safari.
    And for future reference, please do not type in all caps. It gives the impression that you are yelling.
    B-rock

  • Unable to view SVG files deployed on Weblogic Server (10.3)

    Hi,
    We are not able to view the svg file when we deploy our applciation to weblogic server. If we run in Eclipse it is running fine. We have also added ./config/mimemappings.properties file in the domain configuration for Mime Mapping File. The content for the same is
    htm=text/html
    gif=image/gif
    jpg=image/jpeg
    svg=image/svg+xml
    Can any body let us know the resolution for the same.
    We are using IE 9 and simple img tag of html
    The weblogic server is deployed on linux os

    Hi Kishore,
    Thanks for the reply. Though our issue is that when we execute through IDE (Eclipse Juno) the tag works with IE9. It stops working when deployed on Weblogic 11g server. We can not use object/embed tag as we have business specific functionality which works only for img tag. We have tried the mime mappings in Weblogic but that does not seem to work. Could you kindly let us know if you are aware of such an issue.
    Regards,
    Anup

  • Unable to view video files in browser :[

    Does anyone know why Safari is unable to view video files in the browser ??? I used to be able to view .mpg video files right in the browser and when viewing .wmv files Safari would open up Windows Media Player which would then play the file. I really dug that feature. Now when clicking on a .mpg video file, Safari simply downloads the file to my HD and that's it. Is there an easy fix for this issue ??? Hello !!! Anybody ???

    Tell the QuickTime plug-in to play the file inside a browser window.
    Open System Preferences/QuickTime and click the Advanced tab. Click the MIME Settings button and then put a check mark in MPEG media.
    Quit and relaunch your browser for these changes to take effect.

  • Using .properties file in web dynpro

    Hi,
    I am having a requirement. I have to create a .properties file and I have to use it in my web dynpro application. How can I do that? Any help...
    Thanks & Regards,
    Raj

    Hi,
    Go to the navigator view...select src\Components\<ComponentName> and create create a .properties file.
    You can read the  configuration file in your webdynpro app as follows
    IWDConfiguration configuration =
          WDConfiguration.getConfigurationByName(
            wdComponentAPI.getDeployableObjectPart(),
            "<<>>");
    http://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm
    Regards, Anilkumar
    Message was edited by:
            Anilkumar Vippagunta

  • Robohelp 9 .properties file inserting non-printable characters @ export

    I have a mapped help file that I am generating for integration to an online application. When we export the .properties file from the Project Set-up pod, the mapped files appear to be fine, if viewed in Notepad (see below).
    However, when this is viewed in a different text editor, you can see that RoboHelp added additional non-printable characters to the .properties file (see below).
    We've tried generating this from different computers, exporting it to different locations, retyping the initial entry, and haven't found a solution to this issue.
    Does anyone know if there is a fix available? Are we doing something wrong?
    Thanks!!
    Kelly

    Ask your developers if they think these characters could be what are known as BOM (byte order marks).
    That is something can be seen in some files using the default encoding. There it can be changed by changing the encoding in the SSL dialog.
    Maybe that explains it and if that is the cause, I don't know how you would prevent it here in Rh. I think you will have to live with your own solution.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Problem in writing Hindi Font in properties file at run time.!

    hi,
    We are using Language translator for our project.
    We are able to convert the language in hindi and chinese language.
    Im also creating properties file respective to each page in hindi,english and chinese language.
    At run time while CREATING properties file shows the english font appropriate but while
    in hindi it shows problem at run time .
    after WRITING at run time the hindi properties file contains lots on question mark(????????????) intead of hindi font words.
    does any advise me the solution to this problem.?
    Thankx in advance.!
    Johnita

    Hi suraya,
    Since the issue regards MVC and website deployment. I suggestion you post the question in the ASP.NET forums at
    http://forums.asp.net/. It is appropriate and more experts will assist 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.
    Click
    HERE to participate the survey.

  • PSE8 Organize Folder View Missing Files

    I have some JPG files in my catalog and hard drive that don't show up in the Organizer when I'm viewing by Folder Location and have the folder where they are located selected in the folder tree. If I change Preferences to view all files grouped by folder then the JPG files show up under the correct folder. If I switch to thumbnail view and then search for the files by their name they are found and the path indicated by their properties is correct. I tried to re-add the JPG files to the catalog but it knows they already are there so they weren't added.
    The last thing to try would be to delete them from the catalog and add them in again. I thought I'd raise the question first in case there is some other process to use. I'm not sure how many other JPG files have this same issue since I just stumbled on this in the first place.
    Thanks,  -phil

    Folder Location view in PSE 6, 7, and 8 is buggy and often shows the wrong contents of folders:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Folder_Location_view
    Deleting and reimporting the "missing" photos won't help.   Adobe doesn't care enough about this bug to fix it.

  • Accessing properties files in jspx page in ADF Generic application

    Hi All
    I have created an genric application .I have jdevloper 11.1.1.3.I need to add the .properties file in my application and access that properties file in my .jspx page.
    so i have created the Resources folder and added the properties file in that folder and now i am trying to access that contents of that properties file in my jspx page using below code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
              <f:loadBundle basename="Resources.sampleproperty" var="props"/>
               <af:panelGroupLayout id="pgl1">
                 <af:outputText value="testing"  id="ot1" />
                  <af:outputText value="#{props['sample.label.text1']} " />
                  <af:outputText value="#{pageFlowScope.UserId}" />
              </af:panelGroupLayout>
    </jsp:root>but iam not able to access the propert and blank page is only displayed
    so what more steps i need to do to access it?
    Note:-previously i created the application of type Fusion Web Application ,where it added the folder named view and we used to add the .property file in it and accessed the contents of the .property file using above code and tthe above code was running fine.
    Thanks and Regards
    Bipin Patil

    Hi All
    I solved this issue
    by adding the following code in faces config.xml
    <application>
    <resource-bundle>
         <base-name>com.property.sampleproperty</base-name>
          <var>props</var>
        </resource-bundle>
    </application>note :The sampleproperty.properties should be present in java package com.property.sampleproperty
    please visit below link for more details.
    http://www.laliluna.de/articles/posts/jsf-2-evaluation-test.html

  • Log4J - reading properties file from /WEB-INF directory issue..

    I'm just learning to implement Log4J; the approach I am taking for my JSF application running under Tomcat 5.5x is to create an initialization servlet to initialize the logger, and then access the logger instance within my backing beans and application module services. I include log4j.jar file in /WEB-INF/lib and log4j.properties in /WEB-INF.
    First I wanted to see if this was a good approach, and secondly I'm having trouble accessing the log4j.properties file from the /WEB-INF directory (see below) - any suggestions on how to set up the path so that the properties file can be found (I receive a java.io.filenotfoundexception)?
    Where I'm looking for direction is how to define a single instance of the logger and then access that instance from my java classes versus re-creating the logger in each class.
    ----- web.xml --------
    <servlet>
    <servlet-name>LogServlet</servlet-name>
    <servlet-class>com.sidehire.view.util.LogServlet</servlet-class>
    <init-param>
    <param-name>setup</param-name>
    <param-value>/WEB-INF/log4j.properties</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    ------ LogServlet class ------
    public void init()
    throws ServletException {
    String config = getInitParameter("setup");
    PropertyConfigurator.configure(config);
    Thanks
    Message was edited by:
    javaX

    Try to put the log4j.properties in your WEB-INF/classes/ directory.
    You could wrap one log4j instance in a static method in a utility class, but then you would probably lose other information depending on your logger configuration.
    If you create an instance in each class, which after all is just one line like this:
    static Logger logger = Logger.getLogger(ChangePasswrdAction.class.getName());
    then you are able to get time and method information.

Maybe you are looking for

  • No video on mainboard replacement

    I have replaced the mainboard, CPU, and ram on my 5 year old Dell, moving from an Intel Celeron system to the following: Board: 880GMA-E45 CPU: Athlon II X2 2.9gHz Socket AM3 RAM: Patriot PGS34G1333ELKA DDR3 PC3-10666 2x2GB kit The only card installe

  • Portal will not load in web browser

    Hello, I have a clustered portal and the second portal (<b>Ep6 SP2 Patch 29</b>) server in the cluster will not load in a web browser.  The portal appears to start correctly and joins the cluster with the other server but when you try to access it in

  • WHEN DOES THE IPHONE 5 COMING OUT IN SOUTH KOREA?

    WHEN DOES THE IPHONE 5 COMING OUT IN SOUTH KOREA?

  • Access informix NW CE 7.1

    Hi, Iu2019m working with CE 7.1 and I need access a db in informix, if I create a data source and use jpa it doesnu2019t work, any idea? Regards Janeth

  • Setting Sender for SAP Alert Management

    Hi All, I developed a program that call SALRT_CREATE_API directly to sent an emial alert out. However, there ia not a parameter to set the sender of the alert email. Can any gurus tell me how to define a sender for the alert email that's processed wi