when i create a new web application project it does not show the datanucleus.core.1.1.5.jar but this jar file should be exist as default. how to rectify this problem.
I'm using Weblogic application server and Apache web server in my J2EE environment and planning to implement gzip compression of response.
Not sure, whether to implement compression on the Apache server or on the weblogic.
Say I have a web component that uses jQuery and I want to distribute it as a packaged component.
I need a way to ensure that the jQuery library is available on or after the page loads, but I also want to check that the containing html page, or another unknown component that may reference jQuery hasn't already added the library to the page.
At the moment the best example I've seen is this
http://www.squidoo.com/load-jQuery-dynamically
It would need a little tweaking, but I was wondering if there were any other best practices.
The application on which I am working has a web service exposing various methods. Most of these methods use WebOperationContext.Current to set headers up to prevent cacheing. This works fine when the service methods are consumed in AJAX via the generated proxy, but when I attempt to do the same thing from code-behind, WebOperationContext.Current is null.
Can anyone tell me how to confer appropriate call context on the method invocation?
I searched the site but didn't see anything quite matching what I was looking for. I created a stand alone application that uses a web service I created. To run the client I use:
c:/scriptsdirecotry "run-client.bat" param1 param2 param3 param4
how would I go about coding this in python or F#. seems like it should be pretty simple but I haven't seen anything online that quite matches what i'm looking for.
Thanks in advance.
I'm trying to deploy a Yii webapp into Heroku but, it keep throwing at me a weird error:
Application runtime path "/app/www/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
Makes no sense and I know is something to do with Heroku because in my local machine it works fine.
Does anyone what does this means? what do I need to do in Heroku ti fix this??
Many thanks.
Users need to be able to add a specific type of column to an otherwise static table on my web page and then save the information they enter in there to the database.
I've been told that in reality they will almost never go over 5 columns but I would rather support N. The columns will all be of the same datatype.
My first thought was to have an XML column with the values from all added columns in there but I was curious if anyone else had come up with a better solution. Suggestions?
I'm working in J2EE web project, which has lots of Java, SQL scripts, JS, AJAX stuff. Its been 5 years for project still running fine.
I have assigned with work of performance evaluation on the project as there might be some memory usage issues, DB fetching logic delays and other similar weak performance areas. From where should I begin?
Any best practices to make project better?
My client has a website but doesn't check emails often. He has a lot of web enquiries through the online contact form. He carries a mobile phone though. How to send contact form details that's submitted through the website to his mobile phone as SMS?
Hi, I have recently started learning SilverLight (and Web developement in general) and have been advised by a friend that SilverLight isn't Search engine friendly (because Silverlight isn't HTML). Is there any way of getting around this and getting my site onto the Search engine lists (without paying)?
(Any advise on getting my site on search engines lists would be greatly appreciated).
Thanks
Is there anyway to use atrm command to remove queue job from PHP web application?
I wrote a shell script to remove the queue job but it doesn't work well.
#! /bin/sh
export PATH=/usr/local/bin:$PATH
echo atrm 3700 2>&1
Is there any architecture or framework for Desktop applications similar to S#arp architecture for Web applications. S#arp Architecture uses Fluent NHibernate.
i'm running one web application... in android emulator browser
in one java script file i trying to output some string as
console.log("android");
but i didn't got this log using adb logcat
even i tried to start adb logcat firstly and then tun the app. but didn't got log message
which i used in console.log
is there any way so i can get my log message ...
I have a Python web application consisting of several Python packages. What is the best way of building and deploying this to the servers?
Currently I'm deploying the packages with Capistrano, installing the packages into a virtualenv with bash, and configuring the servers with puppet, but I would like to go for a more Python based solution.
I've been looking a bit into zc.buildout, but it's not clear for me what I can/should use it for.
Hi all,
If I have .flv files on my server at some location like http://www.example.com/archive/test.flv. In HTML page how can I tell the browser to use Flash player to play this video like youtube videos are played.
Can someone tell me how to do this?
Regards,
Microkernel
PS: I am noober than noob in web dev, so please give some code snippet or answers that beginners like me can understand. Thank you
Hello,
I am doing web based projects in dotnet. Currently I am implementing security using session variables. I keep current user id and user type in session and authenticate user from these session variables (say Session["UserId"],Session["UserName"] and Session["UserType"]) I do authentications.
Please guide me how it is insecure ? I heard such security can be broken and applications can be hacked very easily, like it is possible to get session id and directly connect to that session id etc.
Please guide me on this
thanks
In the same vein as http://stackoverflow.com/questions/2593399/process-a-set-of-files-from-a-source-directory-to-a-destination-directory-in-pyth I'm wondering if it is possible to create a function that when given a web directory it will list out the files in said directory. Something like...
files[]
for file in urllib.listdir(dir):
if file.isdir:
# handle this as directory
else:
# handle as file
I assume I would need to use the urllib library, but there doesn't seem to be an easy way of doing this, that I've seen at least.
What is the best gallery to showcase web design you have came across?
Plan to get various creative agencies to showcase their works on an advertisement platform so that new user will be able to see various portfolio. When it come to select a suitable album, I am indecisive if it too plain (Load and display) or too flashy (coverflow album), which album/gallery script do you recommend for our corporate theme?
I would prefer background to be white.
Hi
I have a java web application running on windows currently. I may host it in future in a Linux Server.
My application allows people to upload data. I want to display the data they have uploaded in an excel file and render it in a portion of my webpage.
How do I go about this ?
We are working on exception handling with ASP.NET web applications (with C# language). Would you please let me know the best practices of Exception handling?
i need php script running on my server frequently request a web page
i thought of php header, with meta tag (refresh) but that's will not success, because header will redirect me once to the url then the refresh will stop.
<?php
header('Location: http://www.example.com/');
?>
<html>
<META HTTP-EQUIV=Refresh CONTENT="60">
</html>
any suggestion please;
Which technology is better to use in terms of performance for high performance scalable web application? PHP or Python?
The project is going to involve database.
What are your opinions on using web controls in an MVC context?
I came across a good discussion here http://odetocode.com/Blogs/scott/archive/2009/04/09/asp-net-mvc-controls-and-good-versus-evil.aspx but would like to know what the community thinks.
In the source code of the Perl module CGI.pm, in the submodule CGI::Cookies.pm, there is the following line:
$raw_cookie = $ENV{HTTP_COOKIE} || $ENV{COOKIE};
I'm interested in $ENV{COOKIE} here. Are there any web servers (obsolete or otherwise) which transmit cookie information using the COOKIE environment variable instead of the HTTP_COOKIE used by Apache? I've never seen COOKIE and other CGI libraries don't seem to support it.