3,436 Topics

Member Avatar for
Member Avatar for Moderns

Hello, I have a php application that runs on localhost perfect, but when trying to access it from internet, I get this message: Forbidden 403, You don't have permission to access / on this server. I checked Apache error log and I found this error: [Sat Aug 14 18:22:46 2010] …

Member Avatar for Moderns
0
2K
Member Avatar for helpplx

Hello guys, this is my first jsp thread ever so excuse me if it's a bit retarded, anyways, me and my mate are creating a webpage in .jsp , a project in IntellaJ 10.0 and we've been using apache tomcat to view the progress of the webpage but now it …

Member Avatar for Shanti C
0
1K
Member Avatar for rakesh4java

[CODE]import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class getname extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void destroy() { } public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException { String name = null; PrintWriter out = response.getWriter(); if(request.getParameter("txtname") != null) …

Member Avatar for rakesh4java
0
25K
Member Avatar for mrlol

Hi guys, Need your help. Currently my development server using Wamp server. please read below for services details: * Apache/2.2.11 (Win32) PHP/5.3.0 * MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $ * PHP extension: mysqli * Server: localhost (MySQL host info: localhost via TCP/IP) * Server version: …

Member Avatar for R0bb0b
0
368
Member Avatar for Awah Mohamed

hey people . i have a question and i dont know where to post it . i want tow wrtie .htaccess file that rewrite the url of my links as well as increate my websites memory , i mean the size of the uploaded files and so on . i …

Member Avatar for tiggsy
0
88
Member Avatar for veledrom

Hi, Steps below works fine if I have only one folder(site) in /var/www/http/ but when I add another (folder)site into /var/www/http/ and repeat same steps just by changing the name of the (folder)site, it retrieves the previous site even if I enter the second one. e.g. myhost1.com and myhost2.com display …

Member Avatar for veledrom
0
190
Member Avatar for veledrom

Hi, Like everyone, I access my apache server by typing [url]http://localhost[/url] or [url]http://127.0.0.1[/url] but what I want is that I want to access it from outside by typing a domain name like [url]http://my.domain.com[/url] I've added my current IP information for you. This is what I need. I'll be much appreciated …

Member Avatar for veledrom
0
370
Member Avatar for shella

Hi everybody, I'm trying to set up a File Server running on Linux but I encountered some strange difficults... The hard disk I want to share is a 320GB I formatted before to install the Operating System (Ubuntu Server 10.10) and I formatted as NTFS because I want to read …

Member Avatar for shella
0
225
Member Avatar for samarudge

So I just got a new centOS box with PHP 5.1.something but I wanted it on PHP 5.2, initialy running [ICODE]yum update php[/ICODE] returned [CODE]php-pecl-memcache-2.2.6-1.el5.x86_64 from installed has depsolving problems --> Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed) Error: Missing Dependency: php-zend-abi = 20050922 is needed …

Member Avatar for Chanpan
0
246
Member Avatar for onsir

I made application web using hibernate + spring + velocity and IDE Netbeans 6.8 + Glassfish this my files [CODE] applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd" > <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" p:location="/WEB-INF/jdbc.properties" /> <context:annotation-config/> <context:component-scan …

0
71
Member Avatar for haribo83

I need to create an apache web server that can run Zend Optimizer 2.1.0 or higher. I have looked into a number of wamp products such as wampserver and xampp but as far as I can see neither of these are suitable for live sites. I did look at uniform …

Member Avatar for Chanpan
0
207
Member Avatar for manish250

hello all i have a jsp project when i run this project using netbeans it gives the following exception in browser as follows org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 28 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory …

Member Avatar for manish250
0
490
Member Avatar for ajittpawar

I have written Java client and service,locator,stub,proxy classes are created in eclipse.I also modified endpoint in locator class.The method we are consuming that is returning an object of class. Below error gettting while running web service client AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'stateCode' is …

0
93
Member Avatar for pakunoda

can you please help me guys.. i just wanted to start practicing phpandmysql and my only problem is the apache,php, and mysql 1. i tried to install the apache 2.2.17 to my computer and the installation was successful. i tried to browse the localhost to my web browser and it …

Member Avatar for pakunoda
0
256
Member Avatar for khaled_jawaher

i am new in jsp.i am trying to use useBean in jsp to run a class named hi. i am using apache tomcat as a web server.i placed the file hi.class as well as the file that i named it date.jsp which uses the hi class in the folder webapps …

Member Avatar for khaled_jawaher
-1
1K
Member Avatar for VanessaRyan

[ATTACH=left]17531[/ATTACH][URL="http://www.5o9inc.com/products/download/"]5o9® EZMobile[/URL], to be released on October 11, 2010 is a new mobile context app for all Web apps that utilize the browser to deliver real-time context (mobile user, device and location data) to the Web server for use in any Web application. This new software enables developers to know …

Member Avatar for mactilden
1
464
Member Avatar for khaled_jawaher

i am new in jsp.i am trying to use useBean in jsp to run a class named hi. i am using apache tomcat as a web server.i placed the file hi.class as well as the file that i named it date.jsp which uses the hi class in the folder webapps …

Member Avatar for Ezzaral
0
178
Member Avatar for professorgary

I'm not sure if this is the correct forum for this, but I'm kind of at my wit's end. I'm running an internet radio station using Windows Server 2003 R2 on a Dell PowerEdge SC1425. I'm using Apache Server 2.2.17, SHOUTcast DNAS, WinAmp 5.601, PHP 5.3.3, and PERL. Someone out …

0
56
Member Avatar for rahulephp

Hi all, First of all I am new with server using. Below my virtual private server details: [LIST] [*]Processor : 2.8 GHz Dual Core [*]Processor Cores: 2 [*]RAM Memory : 4GB [*]Apache Version: Apache/2.2.3 (CentOS) [*]PHP Version 5.1.6 [*]MySQL Version: 5.0.77 [*]HDD: 100GB [*]Bandwidth: Unlimited [/LIST] Due to 3GB of …

Member Avatar for smantscheff
0
124
Member Avatar for Aeterna

can anybody help me with a mod_rewrite rule real quick? RewriteRule ^(.*) index.php?category=$1 [L] its working but my file data.php which is being loaded into index.php via jquery get isnt outputting anything and I think its being routed to index.php?category=data.php which is wrong obviously. so how can I redirect things …

Member Avatar for pritaeas
0
135
Member Avatar for Shankye

Hello everyone .. Im learning PHP on my own .. I installed Apache on Windows XP and trying install PHP, tried both installer and manual way but its not working :( PHP scrips getting downloaded .. Can any one give me a good link for step by step installation ?

Member Avatar for Shankye
0
152
Member Avatar for prtzy

I am completely new to jsp. I have to design a website prototype for a project on doctor directory search using jsp. It uses database(ms access) to store data like doctor info and all. As i will not be hosting this website online , all the code (client side + …

0
56
Member Avatar for octavia

Hi,i'm new in php. :) Now i have to use this as per project requirement. So i just started to learn it as fast as possible. As first attempt, i wanna add some data into mysql database table which has been created by MySQL Command Line Client. I installed php5 …

Member Avatar for Dragonbaki
0
344
Member Avatar for vallikasturi

Hi, I need to connect to ftp and get the names of the files... But am getting an UnknownHostException when i gave the ip.. Following is my code [CODE]import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.io.FileUtils; import java.io.IOException; public class FtpTest { public static void main(String[] args) { try{ FTPClient client = …

Member Avatar for masijade
0
571
Member Avatar for Democles

Hello, I am more experienced with Java and trying to write a script for a server I have. I need to learn Python anyway, so I am attempting to do it in python. I am not completely lost, but just puzzled why it would do this. Here is the code …

Member Avatar for Democles
0
276
Member Avatar for anand01

Dear friends I am beginner to jsp ...I want to upload files to server .. I am using the the following code. saveFile = "C:\\Program Files\\Apache Software Foundation\\Tomcat 5.5\\webapps\\ROOT \\Extrusions\\" + saveFile; FileOutputStream fileOut = new FileOutputStream(saveFile); Now i want to save the file into my server ..what should i …

Member Avatar for ~s.o.s~
0
116
Member Avatar for mbarandao

Hello: I have a mysql table that stores customer transaction information. I want to sum column name "total" --which has values like this: $253.20-- only where the value of another column is "mossa01". For this, I passed the variable to the code via url and trimmed it. I then used …

Member Avatar for mbarandao
0
114
Member Avatar for Bill_Thompson

I am absolutely no experience in Apache -- well, no first hand experience, that is. Where do I start, where do I download? What do I download? I have been trying to get serious about developing my web site. I have Windows XP Home Edition OS and I have not …

Member Avatar for elina4u
0
778
Member Avatar for Joe34
Member Avatar for Joe34
0
108
Member Avatar for sejpal.dipesh

Hi, I have web application which is hosted on apache and develop in java, now how can I access that application running on the server from other client in the LAN. Please help me. Thank You.

0
35
Member Avatar for eduard77

Can anyone tell me how should I handle this error? FATAL ERROR. Your SAPI for PHP is configured as CGI. ArbitroWeb is unable to work in this environment. Please switch to a non-CGI approach. If you are using Apache as your web server, consider modifying your httpd.conf to switch from …

Member Avatar for Airshow
0
71
Member Avatar for jadeite100

To Whom It May Concern: I am using Rad7, Ibm Websphere 6.1, on Windows XP. I created an SoapHeader first using a string and bind it using jax-ws. It works for jax-ws but unfortunately, my work services uses jax-rpc. Does anybody know how to bind the soap header using jax-rpc. …

0
79
Member Avatar for moerkel

Hi, I have a script to save Google Map markers in SQL. The datas from "type" and "type2" should be compared to datas in existing table "type_table" Unfortunatly the script does not save the datas. I always get the echo from "if($num_rows==0)", even if the gives datas from the formular …

Member Avatar for Airshow
0
111
Member Avatar for Sorcher

Hello guys, i stumbled over a htaccess trick once but cannot find it again. I need a htaccess script that prevent files in a specific folder to not be executed. If any of you have this / know about it, i would love you for the rest of your life!*cough*

Member Avatar for Sorcher
0
83
Member Avatar for puvi

Hi, Its been couple of month i started learning php. I am using xampp, php version 5.3.1, notepad++ to edit. I wanted to use a debugger, so downloaded xdebug5.3vc6 32bit version and DBGp plugin, did the changes as mentioned [URL="http://amiworks.co.in/talk/debugging-php-using-xdebug-and-notepad-part-i/"]here[/URL]. Problem is php is not recognising xdebug. when i run …

Member Avatar for puvi
0
148
Member Avatar for wickedsunny

Hello, i am running a site consisting mainly of images . the problem im facing is high traffic loads sometimes from social networks on image links directly like : /i/image_123232.jpg instead of the image page. I have developed teh site in a way to use same image name as teh …

Member Avatar for pritaeas
0
125
Member Avatar for jkon

Hello all, This isn’t a strictly MySQL issue, it has to do also with PHP Apache and cPanel but I believe the core is MySQL so I decided to post it here. Recently I had a SQLSTATE[08004] [1040] Too many connections issue. I use PHP PDO for the connection and …

Member Avatar for Kraai
0
1K
Member Avatar for vivi288

Hello, a quick question. If you have a PHP dynamic dropdown menu (that autopopulates with info from a mysql table), then the menu automatically links to its values, i.e. "page.php?value1=value1", correct? If you have two dropdown menus, then it becomes "page.php?value1=value1&value2=value2". Is there any way to make the dropdowns link …

Member Avatar for vivi288
0
240
Member Avatar for Muazam
0
103
Member Avatar for sureshksk

I am configuring Struts2 HelloWorld application in standalone TOMCAT.But when i run tomcat i am getting this error. Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/struts2example] startup failed due to previous errors plz help

Member Avatar for peter_budo
0
76
Member Avatar for bogun81

I need to provide web user interface... When client choose search option I want to call method which runs on remote cluster. So I need to use apache tomcat which runs on my localhost for servlet implemenation. From servlet I want to make RMI communication towards cluster machine and then …

0
50
Member Avatar for prashant_

Perl/apache if we run the Perl script on apache for display the result of Linux command it is not able to execute the Linux command and not display it into the browser. eg. We want to display the result of "ping" command but not able to identify what is the …

Member Avatar for mitchems
0
141
Member Avatar for usiyalla

I am getting user input by get method [CODE] out.print("<FORM METH0D=GET action =\"index.jsp\">"); out.print("<INPUT TYPE=TEXT NAME=searchTerm><BR><BR>"); [/CODE] and using request.getParameter() for getting value. [CODE] request.getParameter("searchTerm"); [/CODE] so, if request.getParameter() is null i hide some code of my page as you'll see . But although user not search any item and …

Member Avatar for usiyalla
0
2K
Member Avatar for Ronik

hello sir m find a apache poi jar file what m confuse where to put this jar file so plz help me nd send a mail me procedure of use a poi jar file set class path and other details. plz send me on my mail id <snip>

Member Avatar for peter_budo
0
81
Member Avatar for mmnewbee

Hi I,ve just started using the spring roo framework,and tried running the vote.roo sample project numerous times but each time i run mvn test in the root of the project i get this error vote.roo project failed to execute goal on project vote:could note resolve dependecies for project com.springsource.vote:vote:war:0.1.0.BUILD-SNAPSHOT I,ve …

0
50
Member Avatar for LianaN

Hi! How could I open a file saved on FTP Server? I'm using org.apache.commons.net.ftp.FTPClient to save/delete files. There are only 5 types of files: doc, docx, xls, xlsx, pdf. If I select a pdf file, then it must be opened in Adobe Acrobat, etc. So, what is the best approach …

Member Avatar for LianaN
0
1K
Member Avatar for Batric

Hi everyone, I am trying to get Python working on XAMPP. I'm running Windows Vista, XAMPP version 1.7.1., PHP is working without any problems. I followed the instructions from here: [url]http://www.macouno.com/2010/03/17/getti[/url] ... -on-xampp/ I did everything the same, restarted Apache service, rebooted the PC but still I get the following …

Member Avatar for Batric
0
634
Member Avatar for anupam.j2ee

Hello Everybody, I am a beginner, I am got stuck with following error at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) …

0
100
Member Avatar for LianaN

Hi! How could I create/delete a directory on the remote machine using FTPClient of org.apache.commons.net.ftp.*; ? The code used to save a file on the remote machine is shown below. But I would like to update it for creating/deleting directories. Thanks! [CODE] private void saveAttachedFileToRemoteMachine(String pathToFile, DefaultMutableTreeNode selectedNode) { FTPClient …

Member Avatar for LianaN
0
940
Member Avatar for youlichika

Hi I test my web on my localhost(winxp+ie8+mysql5.0.51a+PHP 5.2.11+Apache 2.2.13). I want to add some cron job for my php files. I select Pycron. After configuration, I add some command in crontab.txt [CODE]* * * * * "C:\Program Files\Internet Explorer\IEXPLORE.EXE" http://localhost/test/index1.php.[/CODE] It is success, it will open IEXPLORE.EXE and load …

Member Avatar for youlichika
0
351

The End.