in the xml i have a tag with html text,
i want do display this html with the xsl.
the html tag is htmlInfo.
i tought i can put this in a label(in the xsl), but it doesnt work.
what can i do?
How to force Tomcat to serialize Session so that the user is kept logged in when Tomcat has restarted? Right now the user has to login again everytime.
Added the following lines into web-app context.xml:
<Manager className="org.apache.catalina.session.PersistentManager">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
but still I see login page after Tomcat restart, I use Tomcat 6.0.24
Hi,
I'm using GWT with GAE. When the user enters any of the following urls, I want to just serve my app as usual to them:
http://www.mysite.com/
http://www.mysite.com/dog
http://www.mysite.com/cat
the first case works by default. I'm not sure how to get the /dog and /cat cases to work. I think I have to modify something with the url mappings to get that to work in web.xml. Essentially I'm trying to just get my app served with any url entered:
http://www.mysite.com/*
Thanks
I want to update some xml files installed with a value using destination directory value{app}.
I do not see any "easy" way except for writing pascal function or running external script (like sed).
Am I missing something? Looks like this should be trivial in any installation tool...
I am using jQuery's thickbox.js pluging, for a modal dialog box that will appear when some one first loads the website(as a welcome banner), and after clicking on "enter site" they should be logged in to my home page.
But the problem is "Modal dialog box appear's to be empty in some system(i.e OS), with same configuration, and shows only the loading progress bar". it works in some system only.. please help to find the problem??
Hi there.
I would like to build an image gallery in Flash with AS2 or AS3 that detects automatically the number of images available in a specific folder (say a level below the swf file).
The goal is to don't have to config any xml files with the images to show.
Is this possible?
Thanks in advance.
Hello
Can anybody please post some example code on how I can reread a configuration file and restart my daemon after the daemon receives a SIGHUP signal. The daemon is a user space program written in C on Linux and is not started by inetd.
Hi!
Is it possible to require user name and password for a web service without changing the code for existing web service?
Adding a DLL and configuration would be OK, but I rather not change the web service.
I know mysql, and I'd like to learn sqlserver.
I'm currently stuck on the basics of basics:
How to install and configure sql server
How to connect to it
I installed Sql Server through Web Platform Installer, and have Visual Studio 2008 installed. Still, I can't understand how to connect to my server:
I see that the SQL service itself (SQLEXPRESS) is running in both in services.msc and Sql Server Configuration Manager
I try to connect to it via the Management Studio, but I don't understand what to do.
Where do I begin?
I have a VB.NET Project, and would like to, as with C# Projects, build and have dll files generated and dumped in the Bin/debug folder.
Currently, I have the project configured for ANY CONFIGURATION and ALL CPUS but when I do a build, I still do not have a bin folder or a debug folder containing a DLL. What am I missing here please? Thanks in advance.
I would like to load a jsp file from a servlet-class I got in my App Engine project. I has been able to load jsp files by adding them to the web.xml file but is there any way to load them directly from a servlet class?
using 1.3.4 - wsgi middleware is not being installed.
i have appengine_config.py at the same level as app.yaml, with the following (for testing):
"""Configuration."""
raise Exception("hello")
def webapp_add_wsgi_middleware(app):
return app
the exception is never raised. am i missing something?
I'm looking into what's involved in distributing an Enterprise App and found this line in Apple's Enterprise App Distribution doc in the section on installing the apps wirelessly:
A network configuration that allows the devices to access an iTunes server at Apple
What does this mean and why is it necessary? I thought the apps to be installed would be hosted on a company web site, but does this imply otherwise?
TIA
I have a console application which has target .NET 2.0
It is very short but full of unsafe code.
I converted it to VS 2010. I run it OK.
When I try to change "target framework" in properties to 3.5 or 4.0 it shows message box:
TargetFrameworkMoniker: Error parsing application configuration file at line 0. XML document must have a top level element.
the target then stays 2.0 anyway...
Any thoughts?
Hi all,
In my web application, I am generating a document with a custom extension and providing the user with the link to download. The download fails with custom extension but goes fine with predefined extensions like "xml". I have no idea what is going wrong!
Is this some kind of access rights problem? I am running it under Windows 2003 server!
Any help will be highly appreciated!
Thanks,
Is there any kind of documentation generator for C#? Like something that would put the xml-ish documentation right above the method/class declarations? Is there a tool or is it tucked away somewhere in VS 2008?
I am adding contact functionality to my program, and I want to save the contact list of each individual user, what is the best solution for this? I am new to XML and databases and I don't know which would be best or if there is a database solution that saves locally. Thanks for the help.
Hi there,
I want to compress a file using command line. I m writting :
C: compact /c aa.xml
return successful message but i cant see any zip file in C folder. Where is the problem?
Thanks for your helps..
Hi,
I have a large number of image files in my iphone app bundle (~3000) and I want to determine the dimensions at runtime rather than store this data in the database or an xml manifest for the images.
Is there a way to do this programatically?
When in 'SQL Server Configuration Manager' I see, under 'SQL Server Services', 2 items that look like SQL Server's:
SQL Server (sqlexpress)
SQL Server (mssqlserver)
Does that mean I have 2 versions installed at the same time? The 'SQL Server (mssqlserver) is currently stopped).
I am creating a folder through my app
File direct_playlist = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + PLAYLIST_PATH);
if(!direct_playlist.exists())
{
if(direct_playlist.mkdir()); //directory is created;
}
Even though the command executes perfectly I can not see the folder in Explorer. I have also given permission to my app in the manifest.xml
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
When I try to access this folder my app crashes as the folder is not present.
Do you know any simple drawing libraries with align support (one component to other, also align to grid)
I would like to implement simple editor of wall configuration in the apartments, by the way.
Or, may be, there is no such component and is better to use Graphics class?
I have deployed my project to tomcat root, and it works fine without any problem. To acheive this I created a ROOT file TOMCAT_HOME/conf/Catalina/localhost/ROOT.xml with content below:
<Context
docBase="/home/user/project.war"
path=""
reloadable="true" />
So right now I can see my project under localhost:8080/ without any problem.. but I don't know where my project has been extracted, there is even no ROOT directory under TOMCAT_HOME/webapps, any idea?
One of the site Hacking methods written in php in apache server
The use Images with prefix. Php such as
.php.gif that apache is trying to run it
How can htaccess configuration to disable this feature