Where should I put Classes and Deployment Descriptor of a website hosted on a linux server?
I have registered and hosted my JSP/Servlet based website on a Linux Server. I access that via CPanel. It shows me public_html directory. I want to as where should I put classes and deployment descriptor for my servlets? Thanks..
@William –
Tomcat is installed on the server. i can confirm the only problem is that i am not able to access class files or even jsps that i have placed in /public_html/www or /public_html/www/WEB-INF/classes folder.
I dont have access to shell account, etc. I just have access to CPanel. so echo $CATALINA_HOME wont be possible i am afraid.
I have talked to the support they said: "You should place your JSP files in public_html/web_inf/JSP folder and place servlets,BEANS and java class files in public_html/web_inf/class folder." that I have but accessing those jsps (placed there) gives 404 error.
Sounds like you need to have the Tomcat server software running on that Linux server. You need to put your files under the "webapps" subdirectory that is under the Tomcat directories. If you have command line access, try giving the command
echo $CATALINA_HOME
That will show you where the top of the Tomcat tree is.
The best thing really would be to talk to the support people for that Linux server. It is possible that it is not set up to handle JSP and Servlets, but only HTML. In any case, they should be able to tell you where to put your files.
————
Have you tried these types of URLs:
http://yourwebsite/web-inf/JSP/x.jsp
(of course, replace the "yourwebsite" and the "x" with the names you really have)
http://yourwebsite:8080/x.jsp
Also, if you enabled email on your Answers account, I could email you. Or, you could email me by going to my account. Then we could resolve this and post the answer here.
The way to a Cheap Web Hosting, although a Reliable Web Hosting
The first thing you have to consider before chosing a cheap web
hosting is the amount of disk space that you need for your
website, like the exact amount of mb, the number of pages, the
number of video or audio files, or any other things you need for
your site. Working with a cheap web hosting company might not be
an offer if you are going to have a lot of visitors. Another
turning point could be the number of email adresses provided by
the cheap web hosting, it could be smaller than you need, so you
have to read careful all the features that are coming with the
offer of a cheap web hosting invetment. To make things look
clearly we will get straight to numbers, in order to make a list
of advantages and disadvantages of a cheap web hoting
investment. So if we look at the first 10 cheap web hosting
companies, we will have 3 aspects to talk about: price, quality
and last but not least services provided. For the price of a
cheap web hosting you will have to look between $5 and $20 a
month. And from the variation of price you will get the other 2
important factors, the space provided, that will be between 3GB
and 5GB, and the bandwith that will varies from 45GB to 300GB.
Now let’s find out hot to get to a reliable web hosting company
Another very imoportant fact that you have to count it will be
the customer support. A good customer support makes a realiable
web hosting. When looking for a reliable web hosting you have to
check if there is a phone support, not only a email support; in
case of emergency the email support could be found unuseful. For
support via email you have to take in consideration the time of
response; some web hosting take hours to days to get back to you
while a reliable one have to take minutes to solve your problem.
Also some companies have certain hours for the customers
support, but now, as you are looking for a reliable web hosting
it must have 24 hours a day, 7 day a week.
In order to make the best choice between a cheap web hosting but
a reliable one you have to combine the two points of the
article. The key of the succes is in researching and comparing
offers from diffrent web hosting companies some cheap and some
reliable. You have the most important points that you have to
care about in your research, so from now on, all it is up to you
to find your cheap and reliable web hosting company.
Groshan Fabiola
http://www.articlesbase.com/web-hosting-articles/the-way-to-a-cheap-web-hosting-although-a-reliable-web-hosting-2845.html
Web Development, Software Development and SEO Forum
Web development is a broad term that incorporates all areas of developing a web site for the World of Internet ranging from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, or social network services.
Now-a-days, many systems are available to the public free of charge to aid in web development (Linux, Apache, MySQL, PHP, etc.) There are other easy to use web development software, most prominently Microsoft FrontPage or Macromedia Dreamweaver.
E-commerce has transformed the way of shopping and bargainig with sites such as eBay, Amazon.com and Buy.com (among many, many others). Another good example of transformative communication led by web development is the blog. Web applications such as WordPress and b2evolution have created easily implemented blog environments for individual Web sites. Open source content systems such as Xoops, Joomla, and Drupal have extended web development into new modes of interaction and communication.
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own websites accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center.
The scopes of hosting services vary widely. The most basic is webpage and small-scale file hosting, where files can be uploaded via File Transfer Protocol (FTP) or a Web interface. The files are usually delivered to the Web “as is” or with little processing. A complex site calls for a more comprehensive package that provides database support and application development platforms (e.g. PHP, Java, and ASP.NET). These facilities allow the customers to write or install scripts for applications like forums and content management. For e-commerce, SSL is also required. There are different types of web hosting services, some of which being Free web hosting service, Shared web hosting service, Reseller web hosting, Virtual Dedicated Server, Dedicated hosting service, Colocation web hosting service and Clustered hosting.
Software reliability is one of a number of aspects of computer software which can be taken into consideration when determining the quality of the software. With software embedded into many devices today, software failure has caused more than inconvenience. The factors which go into making a software reliable include detailed knowledge of the requirements of the client, designing a structured program with breaking a large program down into many smaller programs, such that those smaller pieces together do the work of the whole program, a complete understanding of a program’s overall structure and functionality and performing manual or automated tests to determine if the program fulfills its behavioural requirements.
Mansi Gupta
http://www.articlesbase.com/internet-articles/web-development-software-development-and-seo-forum-115831.html
Cheap Web Hosting – an Expensive Choice?
Cheap web hosting is the next big thing. Having become so common now, it is usual of web owners to pay nothing more than $10 a month for a website with a fascinating assortment of features. That certainly wouldn’t mean that you don’t require any homework to get details on reliability, features and support of your chosen host. Especially when it’s cheap hosting, you have got to look into it more carefully.
Unfortunately, many people are of the opinion that selecting a hosting company, particularly when its cheap web hosting, is not a very important task. They couldn’t have been more ignorant. It is a big mistake undermining the eventual and exasperating consequences of making a hasty decision. What they do not realize while choosing a cheap web host company is that many a times, they put on stake, a lot of costly things in an attempt to simply save a few bucks!
While selecting a company for cheap web hosting, certain issues must be kept into consideration. How does the mechanism work? For websites to be accessible over the internet, they must be hosted on a server. Since there are innumerable companies ready to do the needful for you, there must be a sensible choice. Generally, it is advisable not to choose the same company for hosting as well as registering your website since it reduces your span of control over your business. Keeping a similar company for both purposes could be an invitation to obstacles, should you choose to move your site to any other cheap web hosting company. Contrary to the popular belief therefore, avoid using companies offering free domains complimentary with their cheap hosting plans. As suggested before, it would leave you with little control over your business. That being said, there is a good bundle of cheap web hosting companies who would be willing to give you valuable service in only five to ten dollars a month.
Many of these cheap web hosting companies would certainly provide you a control panel for personalized settings. The options include setting up email accounts, databases and a variety of other functions.
Crux remains, you aren’t always winning a low-priced deal simply because you are getting unbelievably cheap web hosting. Given your business is on a boom and your site, a frequent source of income, you could be putting it all out on a great risk. Whenever the server goes down, it means losing clientage and consequently money. Do not fall for their verbal enticements like enormous diskspace and tempting bandwidth because remember, in deals like these, there is always a catch. Remember the phrase – There are no free lunches in the world!
Though many of the cheap web hosting companies advertise mouthwatering offers, most overemphasize on features that are traded for something equally, perhaps more important. At the end of the day, if cheap web hosting means putting your entire business at risk, losing your valuable clients and missing out on dollars, isn’t it an expensive choice?
Kistina Robin
http://www.articlesbase.com/web-hosting-articles/cheap-web-hosting-an-expensive-choice-85938.html
Why should I install wordpress in my hosting account please Help?
If I install the wordpress software in my hosting account am i going to able to post blogs under any directory or subdomain i want…………
If not how do you do that how do you get your blogs to be published under your subdomains If it works my host provider is hostgator
http://www.H0STGAT0R.com , your host has WordPress in Cpanel. You can indeed install it anywhere that you like, and if your plan allows it, you can have as many installations as you’d like. (You need 1 mysql database per installation)
One of my sites has 20+ blogs on it, they are all in their own subdirectories.
It’s pretty simple. Play around with Cpanel. You can create and delete WordPress installations very quickly and easily.
For a site hosted on a windows xp machine with apache, php and mysql, are there any?
interfaces similar to cpanel on linux servers that one can use on the site hosted on a windows xp machine?
How about cPanel for Windows? http://www.cpanel.net/products/cpss/index.html
4 Things to Look for in WordPress Adsense Templates
If you want a blog and want to make money with your blog quickly, then you should look into wordpress adsense templates.
Blogs are very popular today and the search engines especially google love wordpress blogs. You can go to wordpress.com and set up a wordpress blog for free on their site, but I suggest that you get your own domain name and web hosting to set up your own wordpress blog. This way you have total control of your blog.
After you get your domain name, look for a quality web host that allows you cpanel access. Once you are logged in to to your cpanel, click on the fantastico button and you can install wordpress in a matter of minutes with just a few clicks of the mouse. Yes, it is that easy and even a caveman could do it.
You are all set up with your own domain name and web hosting and have wordpress installed. Now you need a professional looking theme so you have a professional looking site so you can start earning an income.
One great way to monetize your blog is with google adsense. Adsense is great because they will show ads that are relevant to the content on your page and you get paid when someone clicks on an ad.
To help with the learning curve you should invest in wordpress adsense templates. Here are 4 things to look for in a good wordpress adsense template.
1. Easy Customization
Most people do not know how to read or edit a php file. Look for a wordpress template that has already added the adsense for you. All you need to do is open a couple of files and add your publisher id number. An added bonus is if a video tutorial is included that shows you exactly how to add your publisher id.
You also want it to be very easy to add your own unique content to your blog without having the template graphics move to change the look of your blog.
2. SEO and Navigation Features
Here is a list of features to look for:
• WordPress search
• Archives listed in navigation
• Categories listed in navigation
• Blogroll or links
• Adsense links units at top
• Commenting and discussion possible
• Compatible with wordpress plugins
3. Professionally Designed Headers
You want your blog to look professional and grab the visitors attention. A good header will make the visitor stay and read the content on your blog.
4. Earn income from multiple streams of income
You want to make sure that you are not depending solely on adsense to make money online. Make sure you are able to add items like an opt in form for list building, affiliate products that go along with your niche and other streams of income.
Blogging is a great way and one of the easiest ways to start making money online with adsense. So get started right now and start making your share of the google money pie.
Peter OBrien