3,436 Topics
![]() | |
Hello I'm hosting a new website on a LAMP server, with my website folder, monsite.fr, found in the /var/www/ folder. I configured my virtualhost file like this: [CODE]vim /etc/apache2/sites-available/monsite[/CODE] and added the following to the created file: [CODE] # Le virtualHost de monsite.fr <VirtualHost *:80> ServerAdmin webmaster@monsite.fr # L'E-Mail de … | |
Hi ! I've been trying to integrate hibernate with spring framework for a week by using hibernate annotations. I am using hibernate-distribution 3.6.5 final and Spring framework 3.0.5 in the application. Error log looks like as below which troubles me a lot. Any piece of idea will be appreciated, please … | |
Hi all, I'm using Hibernate, HSQL and Spring. But i have the following ugly errors. I don't know what to do. Any help will be appreciated. [code=text]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate … | |
All, I have an issue with my web server, relatively minor but something that has been bugging me: I have two systems, both running the same spec OS, software etc... I use one as a dev server and the other as a production server. The webpage I am rendering on … | |
hi guys, i have a folder which stores uploaded documents and images. the site is password protected using php with mysql database behind it. problem is the pages are secure which is great but the directory in which the documents and images sit is not protected. i was looking at … | |
This is code for an internal forum, it works on my local server, but not the godaddy one i just purchased! phpinfo()s posted below: [CODE]<?php // forum.php :: Foro interno del juego.Version 1.0 define('INSIDE' , true); define('INSTALL' , false); require_once dirname(__FILE__) .'/common.php'; /* Este foro esta basado en el PHPBBs … | |
Hello guys.. Im very new to java. Im using netbeans 7.0 and JDK 1.7. Im an IT student. My teacher said that we must use only Java DB (don't know why) for our database. I've already made a program. It will display all the contents of a table. My problem … | |
hello friend Please help me. Forbidden You don't have permission to access /images/v/204721.jpg on this server. Apache/2.2.17 (EL) Server at [Removed] Port 80 what's wrong with my website. i have change authority file v to 777. but still can't open it. what can i do now | |
hi! i am trying to build an application which will recognize speech and convert into text.For that i have installed jdk 1.6, Apache ant 1.8, sphinx4-1.0beta3-src and also set the paths etc. i am able to run the demos like given in C:\Program Files\Java\sphinx4-1.0beta3-src\sphinx4-1.0beta3\bin\HelloWorld.jar using java -mx256m -jar bin/HelloWorld.jar which … | |
[CODE]/* * @author BChepkwony * Created on 10 August 2011 */ package com.jjpeople.mainmethod; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; import java.util.Scanner; import java.util.Arrays; /** * MainMethodExercise demonstrates how you can pass in arguments into the * application. * * @author BChepkwony * Created on 10 August 2011 */ public class MainMethodExercise { … | |
i wrote a code to create a csv file in java and it works fine for english characters but not for chinese characters. How can i Solve this. i tried modifying it but then it does not show comma separated values when opened in text file. please reply. [CODE] package … | |
After installing xampp, when i try to stop mysql and apache for restart it does not start.It gives error: mysql can not be stopped.Busy!Please help. | |
I am trying to run a relatively simple jsp page but I am getting the following error : [CODE] HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /dateBean.jsp (line: 7, column: 4) The … | |
hello friends, i trying to change the extension .php into .html in my local server but it still shows the .php extension. i have test.php and after the mod_rewrite it just show the test.php but if i type in url test.html then it also show the same content of test.php, … | |
My issue is that this: [CODE]mysql -u root -p newdb -e "UPDATE newdb_users SET user_login='newuser', user_pass='$P$BJ7HEXzUXBqB74hw0H9KD2QvdnlwGv1' WHERE user_login='admin';"[/CODE] does not update the "user_pass" field, but entering this: [CODE]UPDATE newdb_users SET user_login='newuser', user_pass='$P$BJ7HEXzUXBqB74hw0H9KD2QvdnlwGv1' WHERE user_login='admin';[/CODE] directly in the MySQL console does. What am I missing? | |
Hey everyone. I've been trying to install my own webserver on my computer along with PHP and MySQL. I thought I installed everything correctly but I just uploaded my first script and NONE of the PHP seems to be working. I'm running apache v2.0.x, the latest version of MySQL and … | |
I'm no sure if this is the best forum to ask this question. It doesn't seem to fit in any of the categories. I've set up a password protected directory using htaccess. The client now is asking for customizable error messages if the user enters the wrong user name or … | |
org.apache.jasper.JasperException: /carsar.jsp(1,1) The value for the useBean class attribute com.sarath.cars.CarBean is invalid. thanks! | |
what is the meaning of org.apache.jasper.JasperException: /carsar.jsp(1,1) The value for the useBean class attribute com.sarath.cars.CarBean is invalid. error? | |
Hi all, I am using struts2 in my application.I stored a image in hard disk using built-in file interceptor and fileUtils.copyFile()provided by apache.commons.io. but I am unable display image to user. <img /> tag is not working. thanks in advance regards ksk | |
Hey, I'm trying to catch the incoming request to my Tomcat server and redirect to another page (a servlet). I don't have Apache installed so no mod_rewrite will work (as I understand it). I need to redirect the incoming request aimed at a standard URL [url]http://www.somesite.com[/url] and send it to … | |
I have problem starting tomcat now that I have installed macos lion. I get the following error in catalina.out : [CODE] Aug 7, 2011 4:12:01 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. Aug 7, 2011 4:12:01 AM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile … | |
Ok guys, here's the story: my server in configured so it would parse all the html request as php, did this so I can insert php code in to html files... and is working. But, I have 2 html pages that I'd like for the server to parse as html, … | |
I am trying to write a sample program that can call use the main method of "SequenceFilesFromDirectory", which aims to convert a set of files into sequence file format. [CODE]public class TestSequenceFileConverter { public static void main(String args[]){ String inputDir = "inputDir"; String outputDir = "outoutDir"; SequenceFilesFromDirectory.main(new String[] {"--input", inputDir.toString(), … | |
hi guys..I am new to this site.... im john IT Student... anyone could help how to generate code for counting fines in the library management system from the excess of his / her due date.. tnx.. | |
utilisateurs.java [ICODE]package Model; import Model.base.BaseUtilisateurs; /** * This is the object class that relates to the utilisateurs table. * Any customizations belong here. */ public class Utilisateurs extends BaseUtilisateurs { /*[CONSTRUCTOR MARKER BEGIN]*/ public Utilisateurs () { super(); } /** * Constructor for primary key */ public Utilisateurs (java.lang.Integer _iduser) … | |
Greetings I have asked by a client who I designed a website layout for if I can build a "restricted access" section to their website. The website is for a church and they want a section for just staff for important forms and documents. I have programmed a php/mysql application … | |
I want to make my own web-site, and I know HTML (everyone knows it :D) and some PHP. I have a lot of experience with Windows and Linux (Particularly Ubuntu) but I never had my own server, except WAMP that I used for learning PHP. My web-site is not a … | |
Hi everyone! I have to do a school project "Hosting": 1. I have a php site with some form. 2. Client select for example space, domain and some other options. 3. Apache creates needed folders and confuguration 4. Client get his email account 5. Client can put his own php … | |
i came to know tomcat is primarily used as JSP/SERVLET container where u can run java codes on that web server .. my doubt is why cant apache http server itself serve as JSP/servlet container with some modules attached ??? and one more thing --> can apache http server used … | |
I have to read an Excel file and transfer the contents to the database using Java swing.The excel file contains questions for the surveys with options for answers or responses.The database should have a table say Question with columns "Question No., Question, Option 1, Option 2 and so on".I have … | |
I have Xampp as my server. Apache server from my Laptop works here on my netbook by replacing the "localhost" in to it's IPv4 address. On my netbook. it has WebMatrix which runs on an IIS. what I want to see is an IIS working to view on my Laptop. … | |
Hello. I have no idea how, so i'll ask you. I need /s/index.php?i=123 to be /s/123 any direction or tips would be appreciated! cheers, Sorcher | |
hi All - total noob[java] here; i have an app on the android written, but i believe the question here is totally java related. after my app adds field1 + field2 + field3 and displays the value in field4, how do i *start over*? thing is, if ea field is … | |
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/web/tomcat/service/WebAppClassLoader) previously initiated loading for a different type with name "javax/ejb/EJBObject" java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:620) … | |
How will I run the below code in the background while I sign off or forget about it till is done? [CODE]for file in *; do `ffmpeg -i $file -ab 192k -ar 44100 -acodec libmp3lame /home/afrispot/audios /converted/$file.mp3`; done[/CODE] | |
Hi I'm trying to connect using oracle10g with eclipse but its not able to locate the driver at all . [CODE] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import="java.sql.*" %> <% String uname="system"; String pwd="*****"; String url = "jdbc:oracle:thin:@localhost:1521:XE"; Connection con = null; Statement stmt = null; ResultSet rst = null; … | |
[B]Hello, I recently installed a php job board script. The install and everything else went just fine.......Until......I click "Update" to update or edit an element of the site. Mostly, the problem happens when I'm in the Admin section of the site. However, it has happened on a few other pages … | |
Hi I am begginer to jsp I have downloaded apache-tomcat-7.0.19-windows-x86,unzipped it, Added an environmental variable JRE_HOME and it's value is C:\Program Files\Java\jre1.5.0_22 I have started tomcat from startup batch file , a console window appeared for a while then disappeared . when open my browser internet explorer and write address … | |
[code]<% String UN=request.getParameter("un"); String pw=request.getParameter("pw"); String FN=request.getParameter("FN"); String LN=request.getParameter("LN"); String L1=request.getParameter("L1"); String L2=request.getParameter("L2"); String L3=request.getParameter("L3"); String ccn=request.getParameter("ccn"); Class.forName("com.mysql.jdbc.Driver").newInstance(); java.sql.Connection myConn; myConn = DriverManager.getConnection ("jdbc:mysql://localhost:3306/train_resev","root", "3866" ); PreparedStatement ps=myConn.prepareStatement("insert into user values('" + un + "','" + pw + "','" + FN + "','" + LN + "','" + L1 + … | |
i'm building a website free for download but i want to limit bandwidth per user !!!. Maybe user A cant download 2Gb per day etc.... :eek: :eek: And suggest me I have to use Apache download or FTP download !! I think Apache is not good for user management !!! … | |
Hi, I am using paypal IPN integration and it is not working.Its IPN log is giving me this error FAIL: IPN Validation Failed. IPN POST Vars from Paypal: mc_gross=10.00, protection_eligibility=Ineligible, item_number1=9, payer_id=5PRJ3GQN8ES3J, tax=0.00, payment_date=00:11:51 Jul 26, 2011 PDT, payment_status=Pending, charset=windows-1252, mc_shipping=0.00, mc_handling=0.00, first_name=Test, notify_version=3.1, custom=, payer_status=verified, num_cart_items=1, mc_handling1=0.00, verify_sign=AiPC9BjkCyDFQXbSkoZcgqH3hpacA50-5o5SUpQAYyn8d.LtMHyzASv4, payer_email=test@test.com, … | |
One WordPress site on one of my servers is giving an incorrect HTTP response code when a page can not be found. On the end-user side, the user sees a custom 404 page. But on the web-server side Apache is giving a 200 or 300 response (not sure which one) … | |
Having trouble with this Mod_Rewrite line: [CODE]RewriteRule ^user/(.*)/faves/page([0-9]*)$ user/faves.php?user=$1&p=$2 [NC,L][/CODE] This works successfully for, say /user/someuser/faves/page2, giving user = someuser and page = 2 It also works for /user/someuser/faves/ - with or without the ending slash, but it does not work with /user/someuser/faves/page1. First thought is that it's down to … | |
I am getting the 500 Server Error message when I try to run my captcha script. The script is as follows: [CODE] <?php //Start the session so we can store what the security code actually is session_start(); //Send a generated image to the browser create_image(); exit(); function create_image() { /*//Let's … | |
hi everyone, i write data from database to the csv file,but i face problem how to print the csv file with multiple colors background for example first line is green then second line must be blue, please help me how can i do this in php | |
Can You Please help me where I am getting error.. :( I am using NetBeans and MicroSoft SQL Server 2005. [B]HTML CODE[/B] [CODE]<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form action="movie.jsp" method="POST"> <p><strong> List Of Movies:-</strong>s</p> <select name="moviename"> <option>powe</option> <option>ghi</option> <option>xyz</option> <option>Troy</option> <option>poer</option> <option>abc</option> <option>pqr</option> <option>qwe</option> <option>ghj</option> <option>RA … | |
I amd doing a project using netbeans 6.9.1, i tried resolving the 'missing server problem' by adding the apache tomcat server, but i still cant access it. I did go to Servers and start it. Pls help... | |
Hi All, I am using Tomcat 6.0 Application server and Apache HTTP webserver 2.2 and Eclipse Galileo as my IDE. I developed an web application which is some site where users can login and browse around it. My problem is Only one user can access the application. That is when … | |
Hi guys, This will probably be very easy for some of you but I failed even I had a website examples. I want [COLOR="Red"]http://s12345.webspace.info/http/myapp/[/COLOR] to bew replaced with [COLOR="Green"]http://portal.myapp.co.uk/[/COLOR] How can I do this with htaccess? Thanks in advance |
The End.