Hi,
I'm trying to generate a custom key for encrypting the web.config in a project, and use the same key on several machines.
I've followed this example from Microsoft: http://support.microsoft.com/kb/312906
However, when I encrypt my web.config (and I'm using cassini, not IIS, on my machine) it doesn't seem to use the newly created ...
When coding with PHP I always separate configuration values like perPage value in a separated ini file. How are you Ruby masters do this with Rails?
I would like to access config values inside my model, controller and view.
Thx!
...
Ctrl+F11 is the "Run" keyboard shortcut in Eclipse.
But for me, that only works if a Main class is active in the editor. For any of the other 100+ java files in my workspace, eclipse pops up a dialog, complaining "Editor does not contain a main type".
This makes the Ctrl+F11 shortcut nearly useless. I either have to press Ctrl+Alt+T, n...
I have a CustomConfigurationSection that I have implemented. I would like to be able to support having many different named instances of this configuration section defined. However I would also like some way to identify a default instance of the ConfigurationSection if an application developer doesn't specify a specific named instance ...
Hi, i'm looking for some way to avoid logging some specific files like
/WebResource.axd and /ScriptResource.axd
is there any way to write some code lines in Global.asa or add some configurations to do that?
thanks
...
I have an external java library I am using in my Grails project. It needs a DataSource via the Spring configuration. However, the dataSource appears to not be accessible from resources.groovy. How do I get access to it? I'm using the following in resources.groovy:
beans = {
eventDao(com.JavaClassRequiringDataSource) {
//dataSourc...
When creating a Configuration object, it asks for a path to a config file... I keep getting an exception thrown for an invalid file path... What's a valid path? I've tried "config.config" and ".\config.config", but I can't think of anything else.
...
Does anyone know how to configure svn so that every file committed is run on NArrange
...
Hi all,
I've been developing a website locally with CodeIgniter and have tried uploading it to my web server and get the following error (which I've never seen until the upload).
Fatal error: Class 'CI_Hooks' not found in <snip>/system/codeigniter/Common.php on line 136
I've read that CodeIgniter doesn't play nicely with PHP 5.3.x, e...
Hi all !
I need to replicate the ipod configuration screen functionality, but have no idea how to do it.
Let me explain :
My App has several viewControllers, but only 5 are shown.
When the user hits the MORE tab, it will show all the available Views .
If he clicks on the EDIT button, the screen will show a bunch of tab-bar items, ( ic...
Hello,
I'm looking to do something which I thought was not going to be difficult.
I have an application that I'd like to package up as a jar because I've got ~30 dependencies and I would like to be able to deploy a single file.
I have some configuration files - a properties file and a spring configuration file, and my log4 props file...
I need to create my own JBoss configuration.
It will be a little changed "web" configuration.
Is there any documentation or tutorials - how to do it?
What I need in new configuration:
1. Remove JSF implementation included in the JBoss Application Server
How to do it - http://community.jboss.org/wiki/RemoveJSF
2. Add possibility to u...
I have my main website and wordpress in different directories on my server on which I use nginx as the web server. The main website is in /home/me/www and Wordpress is in /home/me/wordpress. I need to have them in separate directories this way for a particular reason. How do I specify this in the nginx configuration file? I currently hav...
I'd like to use Spring with Java configuration, but almost all examples are writte in XML and I don't know how to translate them to Java. Look at these examples from Spring Security 3:
<http auto-config='true'>
<intercept-url pattern="/**" access="ROLE_USER" />
</http>
<authentication-manager>
<authentication-provider>
...
Hi Folks, how to enable the dropdown that shows build mode 'release/debug' ?
I have set the 'show advanced build configuration' option. I added the 'configuration manager' to the build toolbar but in previous versions we could do this by using the drop-down control.
TIA
...
Hi.
I have been a web developer for a couple of years (some ASP, mostly PHP) and have recently taken on Java/JSP in the last two years.
The one thing I have tried repeatedly but continue to fail to wrap my head around is the way to setup a working JSP application in another location that is NOT the webapps folder. Rocking my applicati...
Hi all,
I'm writing a python library that has a per-user configuration file that can be edited by the user of the library. The library also generates logging files.
On *nix, the standard seems to be to dump them in $HOME/.library_name.
However, I am not sure what to do with Windows users. I've used windows for years before switchi...
I have a java desktop app and the issue of config files is vexing me.
What I want is for my distributable application folder to look like this:
MyApp/Application.jar
MyApp/SpringConfig.xml
MyApp/OtherConfig.xml
MyApp/lib
But at the moment SpringConfig.xml is inside Application.jar and I can't even find OtherConfig.xml programmatical...
I just saw this JQuery Metadata Plugin by John Resig, Yehuda Katz, Jarn Zaefferer, and Paul McLanahan, in my search for JQuery Form Validation, and that's an interesting idea!
I'm wondering what general best practices are for storing things like error/validation text, tooltip text, default value text, etc. I know you can place them int...
Is there a way to configure a log4j.xml file to have multiple appenders share the same layout? I have copied the layout parameter into each of the appenders but it's a pain (and seems weird that I would need to do this) to update it in multiple places if the pattern changes.
thanks,
Jeff
...