3,436 Topics

Member Avatar for
Member Avatar for Sheridan

Hi: I have developed a website using php with a mysql database running on an Apache 2.2.8 server on a Windows machine running XP Professional. I now want to make this website available on the WWW using my own machine as the host server. Can anyone point me to the …

Member Avatar for martin5211
0
105
Member Avatar for vishal2901

Hai guys, I am new at jsp.I have made a simple j2ee application in which i am getting class cast exception in PortableRemoteObject.narrow function. The exception is: [code]org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247) javax.servlet.http.HttpServlet.service(HttpServlet.java:860) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)[/code] The root cause is : [code]java.lang.ClassCastException com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229) …

Member Avatar for ejosiah
0
165
Member Avatar for Venks

Hai friendz ,iam doing project in mobile i done small application in j2me its working fine when i send via bluetooth to mobile but iam trying to download jad file from apache tomcat server its working fine when download in my system, when iam trying to download jad file from …

Member Avatar for Venks
0
101
Member Avatar for BelindaT

I recently sent in my laptop to HP to replace the battery. When I finally got it back after about 3 months, my antivirus subscription had finished. Now, it seems like I have a trojan or virus on my computer. A program called "Auto-Protect Results" (I think it's part of …

Member Avatar for crunchie
0
173
Member Avatar for guravharsha

error:javax.servlet.ServletException: java.sql.SQLException: Illegal operation on emp -------------------------------------------------------------------------------- Hi, I am stuck here about 2-hours. Kindly help me. In this my updateuser.jsp page I am retrieving the data from drop down list which is in my search user.jsp . I am taking form name of searchuser.jsp page for reference here which …

Member Avatar for stephen84s
0
189
Member Avatar for guravharsha

Hi, I am creating the updateuser.jsp page. For that I create search.jsp where one can serch users and after submitting this page.it should display the updateuser.jsp page where I can update the details of user. Here is my code of searchuser.jsp: [code=JSP]<% Connection connection = null; Statement st = null; …

Member Avatar for peter_budo
0
344
Member Avatar for senol01
Member Avatar for peter_budo
0
63
Member Avatar for R0bb0b

This is actually a combination js, php, htaccess question so it could go in either one of those categories. I, like every combo server/client/ajax programmer like to mix my php with my js. I'm just curious about something, I know that you can configure .htaccess to refer to new extensions …

Member Avatar for R0bb0b
0
116
Member Avatar for ollirei

Hi, I use following example XML file and want to extract child nodes by given 'paths'. <?xml version="1.0" encoding="UTF-8"?> <Element> <Title ElementID="SL17681">title</Title> <Element> <Title ElementID="SL17682">title 2</Title> <Para id="target022"> Der <Comment id="SL17882"> <User> Test1 </User> </Comment> Anwender <Comment id="SL17868"> <User> Test2 </User> </Comment> muss <Comment id="WRONG023"> <User> Test3 </User> </Comment> sehr …

0
66
Member Avatar for guravharsha

Hi, In main.jsp i wish to display the data from the database( user information stored in user table ). my codein main.jsp is: [code=JSP]<h2> description about user:</h2> <% Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user "); %> <option value = "<%=rs.getString("description")%>" > </option>[/code] …

Member Avatar for peter_budo
0
114
Member Avatar for Andina

I am having difficulty setting my computer up in order to do JSP. Some people are telling me to use Jakarta others are saying Apache Tomcat. When I try to find the things to download there are so many options with little or not tutorials accompaining it. Could someone provide …

Member Avatar for peter_budo
0
92
Member Avatar for trba

Hi, I have installed apache 2.2.8 and on [url]http://127.0.0.1/[/url] and [url]http://localhost/[/url] the browser is serving /usr/local/apache2/htdocs/index.html but: 1. personal web sharing just hangs waiting when I click Turn On PWS 2. [url]http://127.0.0.1/~macuser/[/url] does not bring up an index.html I placed there (in /Users/macuser/Sites/ ) I am not sure what am …

Member Avatar for ansjos
0
111
Member Avatar for einfoway

Any idea how to secure IBM WAS/ apache/tomcat any fast tutorial? I need to help one of my friends to secure his apache and WAS any help would be appreciated.

0
75
Member Avatar for Honeylou

LINUX SERVER ADMINISTRATOR (Cebu) 1. At least 3 years of Linux server administration experience 2. Must have demonstrable knowledge and experience with Apache, Qmail, and MySQL configurations 3. Must have demonstrable knowledge of Nagios 4. Perl and Bash scripting experience preferred but not necessary 5. Familiarity with Plesk, cPanel, H-Sphere, …

0
40
Member Avatar for Matbutter

HI, I have reviewed several threads with the same problem however I thought I would start proper with my own. I have run Smitfraud.cmd in safe mode option 1 and 2 logs below and then Hijack this with log at the end. I hope you can help Log below: SmitFraudFix …

0
54
Member Avatar for Matbutter

HI, I have reviewed several threads with the same problem however I thought I would start proper with my own. I have run Smitfraud.cmd in safe mode option 1 Log below: SmitFraudFix v2.328 Scan done at 13:44:03.07, Mon 07/07/2008 Run from C:\Documents and Settings\owner\Desktop\SmitfraudFix OS: Microsoft Windows XP [Version 5.1.2600] …

Member Avatar for Matbutter
0
199
Member Avatar for jpatuto

Does anyone have answers for the following. How many AlaiasMatch and Mod_rewrites can Apache handle? 10? 50? On top of that how many seperate web domains can an Apache server handle? 5? 25? Think 100,000 hits spread out between all sites a day? Thanks, -JP

Member Avatar for atlex2
0
102
Member Avatar for atlex2

Hello, I need to hide an embedded directory in a URL site2.com/site2files/ <-- need to remove that and just see site2.com for the files in /site2files/ Here's a visual representation of my file system. site1.com Document root: -file -file.html -folder/ -site2folder/ (Important!) -file -functions/ ::need to be accessed by site2 …

0
111
Member Avatar for tanha

Hi. I am using WAMP which including the following: PHP 5... MySQL 5... Apache 2... I want to create [B]IP-Based VirtualHost[/B], therefore I did the following: 1. add "[B]Microsoft Loopback Adapter[/B]", and I assign two IP on that. 2. Create two folders named ([B]host1, host2[/B]) in my root directory which …

Member Avatar for atlex2
0
302
Member Avatar for Nameste

i installed it all correctly and everything, i'd recently tried WAMP5 and that didn't work either so i moved to XAMPP when i go onto localhost and type into the URL my file from notepad called index1.php it doesn't work i tried localhost/index1 and localhost/index1.php it doesn't work it says …

Member Avatar for buddylee17
0
77
Member Avatar for FerrumBat

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. PHP ver: 5.2.6 apache ver:2.2.9 Mysql ver:5.0.51b However I'm getting errors on the second table: [QUOTE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Member Avatar for nav33n
0
174
Member Avatar for big_k105

hey, i was wondering if anyone could tell me how or set me in the right direction in setting up a good web server on Redhat 9. make it as simple as possible cause i am pretty new to linux. i know the basic commands and that is about it. …

Member Avatar for wmanjonjo
0
395
Member Avatar for samarudge

Hi, I am running Apache 2.2 with PHP5. All my files are written in PHP so they have the .php extension however I want to remove this extension in the same way google do ([url]http://somurl.com/file)[/url], I can do this leaving the trailing slash on ([url]http://someurl.com/file/[/url]) but I want to remove …

0
65
Member Avatar for sayedjustetc

By Sayed, June 25th, 2008 * Single tier applications are easier to design. Single tier applications mix data, presentation, business logic altogether. It is easier design but workload distribution becomes difficult. Moreover, software maintenance becomes a big headache. * Multi-tier applications can address these challenges. Here, the application, hence, the …

Member Avatar for stephen84s
0
191
Member Avatar for dkv

I am new to using php for querying exchange server. I downloaded the class_http.php and class_xml.php. I am trying to run the example "Grab all properties for an item " given at http://www.troywolf.com/articles/php/exchange_webdav_examples.php#allprops . I have modified the following variables in the example php script (exch3.php): $exchange_server = "http://mail.msm.edu"; $exchange_username …

Member Avatar for dkv
0
315
Member Avatar for JeffBot

I'm redeploying my webserver. As of right now my IIS is shut off, and I am in limbo between installing it or going with apache server. My main concerns are ease of use and security, and I'm not sure which is the better choice. Looking for recommendations, so which is …

Member Avatar for ShawnCplus
0
66
Member Avatar for GGAB

Hello, I was thinking, since most of my searching in google has at least one entry at this site, I might as well go straight to de source! I'm an engineering student and I hope to get here a complement for what I don't see in college. Professionally I had …

Member Avatar for MakeMoneyOnline
0
36
Member Avatar for Andrew F.

Can you take a look at this: [code] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php $emai=$_REQUEST['txtemai']; $subj=$_REQUEST['txtsubj']; $mess=$_REQUEST['txtmess']; if (@mail($emai,$subj,$mess)) { echo('<p>Mail sent successfully.</p>'); } else { echo('<p>Mail could not be sent.</p>'); } ?> </body> </html> [/code] I keep on getting the else statements. …

Member Avatar for Andrew F.
0
196
Member Avatar for zyaday

Hey everyone, i'm working on this code...i'm trying to put some images ---animations--on to my jpanel..the problem is everytime i try that, it gets repainted with initial screen setup I have...how do i solve this..here is the code.. import com.sun.org.apache.bcel.internal.classfile.JavaClass; import java.awt.event.*; import java.awt.image.ImageObserver; import java.text.AttributedCharacterIterator; import javax.swing.*; import java.awt.*; …

0
45
Member Avatar for jaca123

Hi there, I have recently installed Apache and PHP on my PC and am trying to run it as a testing server. After creating a PHP mail() script I receive the following error in my Apache log file: "PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at &quot;smtp.localhost.com&quot; …

Member Avatar for jaca123
0
87
Member Avatar for Samit

HELLO PARTNERS, this is Samit for Pixels Media . India. we are a web development and design company having over 7 years of expertise in LAMP(linux,apache,Mysql,PHP) technology. without further talking i will like all of you to see our company portfolio to get an insight of the type and quality …

0
51
Member Avatar for raj_3y2k

Hi, I'm new to Perl, I installed ActivePerl in my machine and it is running properly. But when I'm trying to open a CGI using Tomcat I'm getting HTTP Status 404 error. I also did the following Altered Tomcat's C:\apache-tomcat-6.0.10\conf\web.xml file a) There's a CGIServlet that's commented out; so I …

Member Avatar for katharnakh
0
191
Member Avatar for thrum

RE:Hi, I'm having the same poblem My computer starts up, then my Explorer.exe flickers for awhile then just exits, without warning or messages. I ran HJT.exe and got Logfile of Trend Micro HijackThis v2.0.0 (BETA) Scan saved at 10:46:52 PM, on 11/1/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) Boot mode: …

Member Avatar for jonahshelp
0
249
Member Avatar for alternapop

i'd like to disallow any hidden files and directories, and contents within a hidden directory from being displayed. i know i can disallow hidden files with this: [CODE] <FilesMatch "^\."> Order allow,deny Deny from all </FilesMatch> [/CODE] using these paths, as examples: [url]www.example.com/.hidden/default.html[/url] [url]www.example.com/.hide/images/logo.png[/url] what do i need to do …

0
103
Member Avatar for zyaday

i wanted an image background on a Jpanel, so I got a programm that overrides the paint function. Now i have a code that draws the image as a background and also enabled me to have some buttons on it...now i want to add more images (or animations) on my …

Member Avatar for Ezzaral
0
133
Member Avatar for darcee

[url]http://ipaddress/mrtg/mrtgdata/web/index.asp[/url] and its says Not Found The requested URL /mrtg/mrtgdata/web/index.asp was not found on this server. but i have an apache server( httpd) thx in advance!

Member Avatar for darcee
0
174
Member Avatar for katharnakh

Hi, I have problem running my cgi scripts under Apache Tomcat server. I am using Apache Tomcat/5.5.20 on WinXP. I followed the instruction tips I found out at [url]http://www.wellho.net/forum/Perl-Programming/Running-Perl-CGI-scripts[/url]... [url]http://www.ftponline.com/javapro/2003_03/online/perl_teden_03_18_03/p[/url]... but still I could not get the scripts running. I get HTTP status 404 error. The directory structure I have …

Member Avatar for KevinADC
0
1K
Member Avatar for jpillera

I have an Oracle 10g application, built using Oracle PL/SQL Toolkits and PSPs, using an Oracle database with an HTML front-end (hosted by an Apache web server). When using the WPG_DOCLOAD package to add attachments to the database, the mime type for ".msg" files end up being application/octet-stream rather than …

0
54
Member Avatar for bridgecity_dev

Sorry for how stupid this question may sound but I am in the process of linking two different warehouses together that use different databases. I need to run a query from one that is a remote webserver as well running PHP with a MYSQL database. This query will be done …

Member Avatar for gpm1982
0
139
Member Avatar for odinroot

Hi, Is it possible to access a https site using a certificate and keeping the session alive like it happens in the browsers? I'm doing a console app that needs to access a server by https to retrieve information but using the httplib, each time i make a request it …

0
43
Member Avatar for icorey

Hello. I'm very new at JSP. I'm trying to make a page navigator thing with an include statement like everyone does with PHP. So I have three files. I know it's way too much for something so simple, but I just wanna try things out. I'm using Eclipse and, unfortunately, …

Member Avatar for icorey
0
486
Member Avatar for rubendoliveira

Hi everyone, Don't know for sure if this is the right place to post the question, but it goes: I'm starting a JSP project and I'm having some difficulties with Tomcat/Java configuration. I'm using: - apache-tomcat-6.0.16 - java_ee_sdk-5_05-windows Directory where the code is located: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\lw\ Directory …

Member Avatar for jwenting
0
93
Member Avatar for bigpig

Could anyone help me out with example RewriteRule(s) for the following: EASY [url]www.mysite.com/browse.php?letter=a[/url] -> [url]www.mysite.com/browse/letter/a[/url] HARD [url]www.mysite.com/productsearch.php?recordID=292[/url] -> [url]www.mysite.com/product/productname[/url] (How do I pass the productname?) [url]www.mysite.com/productsearch.php?x=11&y=19&txt_SearchQuote=f[/url] -> [url]www.mysite.com/product/f[/url] Cheers Big

0
79
Member Avatar for geetha_sg

Hi all, I am using php-4 with apache 2.0 on redhat linux. Now i need to install php-5 on separate directory without disturbing existing setup.. that is multiple php installation. thanks in advance Sg..

0
72
Member Avatar for prasu
Member Avatar for weevil

Hi all! I really hope someone can do a huge favor and help my group out! We are students and we are trying to complete an assignment to create an interface page using jsp and oracle. Using XP pro we have installed all of the above. We then configured apache …

Member Avatar for jwenting
0
684
Member Avatar for ckurtz

Hello, i'm a newbie here and i just want to ask if what is the best distro in running PHP, MySQL, Apache? counting on your replies. thanks :)

Member Avatar for icaruslnx
0
158
Member Avatar for yap

Dear guys I am rather new to Java and Java databases. Now I have just installed netbeans v6.1 together with derby (javaDB) on win XP, SP 2. Creating and running java programs is ok, but I can't start derby server from netbeans services menu. NetBeans tells me: java.lang.NoClassDefFoundError: org/apache/derby/drda/NetworkServerControl. Exception …

Member Avatar for peter_budo
0
177
Member Avatar for Spartan552

Hi guys ! Whenever I try to run an application I get the same error : [QUOTE] java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/examples/WEB-INF/classes/logging.properties read)[/QUOTE] Dont know what is wrong... Here is the full log : [QUOTE]16 juin 2008 14:11:47 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5 16 juin 2008 14:11:47 …

Member Avatar for Spartan552
0
111
Member Avatar for sweprojekt

Hello! We want to send an email from a jsp to the Recipient (variable: youradress) from the emailadress given in our profile (variable: myadress). There appears a error message at the command Transport.send(message). [CODE] <%@ page language="java" import="java.util.*, javax.mail.*, javax.mail.internet.*" %> <%@ page language="java" import="model.User" %> <% model.User user = …

Member Avatar for peter_budo
0
204

The End.