I have a Struts2 (2.1.8.1) web application. My web.xml looks like,
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-m...
Hello everyone,
I am going to build a Site in PHP. But now a days there are many crackers who crack our sites. To stop them or to secure our site from them How can i manage the security of my site.The site is based on an Institute.
Please Give me some tips and references.
Thanks In Advance.
And sorry for my poor English.
...
hello frndz...
i m developing a web-application 4 mobile & i-pod...which is platform independent...4 dat m useing html 4 front end embedded in adv.java servlet....i ve a big problem about screen resolution...how can i set d screen resolution dynamically 4 any web-browser....n i dont want horizontal scroll bar...den which method is bette...
A web site I'm working on sells vehicles to business entities only.
Consequently, it displays data aimed at business customers (prices without Value Added Tax, warranty limitations, etc.). In Germany, showing this kind of data to private end-users can be punished as misleading advertising.
One way around that is to show a dialog when t...
i want to play some swf movie in my page and i need a player with stop/pause/play and forward/backward button.
what is the best option?
...
Hi!
I am new to web design. Please correct me if my understanding is wrong. I am seeking advices that can avoid the round trip between browsers and server in the following scenarios.
Imagine javascript first downloads all 30 ~ 50 images from server. These images are then used to build the thumbnail images, each in 60px by 60px or so si...
I'm looking for a Joomla or Drupal software product site theme(preferably Drupal and free)? I have no problem if the theme needs some css hacking. Any suggestions?
Thanks
...
hello i am trying to make it so that when you visit my site you don't have to put .php at the end this is what i am using but it isn't working (godaddy hosting)
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
i just added the "Options +Follo...
Hi,
I'm a statistician by trade and I'd like some recommendations on how to set up a website that can collect data into a database. For personal use, I use Google Forms to collect data, and everything gets populated into a spreadsheet. However, this may not be appropriate in a more professional setting, especially when we have multipl...
Okay, I know this question have been asked plenty of times already, but I haven't found any actual answer.
Considering SEO, what is the best way to construct the URL for multiple languages? One top-level domain for each language would feel unnecessary, so I'm thinking about different subdomains or sub-folders. And in that case, which wo...
So, this is a little bet more of a high level question. I'm not necessarilly looking for specifics, but more of the general tools and technologies I need to use. I'm really new to website hosting and development.
I want to redirect a domain, say something.com to something.squarespace.com. How would I go about doing this so that the foll...
This question is related to "Java Web Application - File Upload".
Is it possible for a Web Application to read a file from the host file system?
My guess is that for security reasons the answer is no - but I guess it should be possible for it to read files in directories below the root of the application.
If so, could someone supply an e...
I have some persistence capable Java objects with all the @annotations in my web application. All these objects reside in a data layer. Is it a best practice to use these persistence objects as data transfer objects?
For example, if I want to pass back the data fetched from data store, should I directly return those persistence objects...
So the senario is that I want to have a custom function for requiring libraries. Something like:
define('E_ROOT', str_replace('//','/',dirname(__FILE__)));
/* ... */
function e_load($fn, $allowReloading = FALSE) {
$inc = E_ROOT.'/path/here/'.$fn.'.php';
if($allowReloading)
require $inc; // !!!
else
require_on...
I want to build realtime application using java. The web application always request data to server every 10 seconds, and display the fresh data on the web page.
do you have idea how to solve case like this ?
...
I want to learn enough simple/practical queuing theory to model the behavior of a standard web application stack: Load balancer with multiple application server backends.
Given a simple traffic pattern extracted from a tool like NewRelic showing percentage of traffic to a given part of an application and average response time for that...
I don't have a technical background but I needed to make a website for a non-profit organisation that I volunteer in. So it will be a simple website with a basic front page with all the latest news and events for the organization. There will be a page about the organisation and its members, a gallery section, a section for articles, some...
Is the Google visualization gauge reliable?
Just started up the page I am working on using Google gauges and I had to refresh the page 4 times and then the google gauge finally came up. It disappeared for 10 minutes, came back again and now it is gone?
Internet is connected and have not experienced this before the few times I hav...
Hi, obviously I'll need to learn HTML to even begin to get into the scripts or whatever, but which language is overall the better to code a webpage in for my brother. The two choices I think I've narrowed it down to are: Javascript or PHP. I would like to know which one is the more productive one to learn and please keep in mind that I o...
any body ever try this tutorial ?
I follow that tutorial, but I've got 404 error while I access hello.json. I'm new at code java application with spring, may be there some mistake with my configuration file.
My project name is jsonapp
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-...