3,436 Topics
![]() | |
some days back it was working but i don't why suddenly my java program is not compiling. i have set classpath=".;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet.jar". c:\> javac -classpath HowdyServlet.java it shows error in import java.servlet; statement and likewise in all HttpServlet lines too. or i have tried the other way … | |
I am in a jam. And, I am pulling out what hair I have left. I have a server with CentOS4 on it. It has Tomcat running on port 80. This seems to be hijacking all the sites. By this I mean, I want to run a bunch of non-tomcat … | |
What I want to know is the difference between the development, scalability and cost of ASP.NET(C#) and Java. I know that in most cases Java is slower than C#. But how much slower? I also know that to run .NET we need Windows(excluding Mono). Will the cost of the license … | |
Please let me know how to fix this. description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:599) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:141) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.lang.ClassNotFoundException: org.apache.jsp.one1_jsp java.net.URLClassLoader$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(Unknown Source) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:597) … | |
Could someone look at my Statement stmt? is this error due to improper string creation? Thanks [code] [/code] [code] public String stmtCreateStudentTable = "CREATE TABLE student (" + "stu_uid CHAR(11)," + "stu_password CHAR(11)," + "stu_lname CHAR(20)," + "stu_mname CHAR(20)," + "stu_fname CHAR(20)," + "stu_gender CHAR(1)," + "stu_age INT(3)," + "stu_start_date … | |
It's rare that a company like [URL="http://www.redhat.com"]Red Hat[/URL] would remove a high-end feature from its popular commercial operating system but that's just what it did. Red Hat Enterprise Linux (RHEL) 6.0 will ship without the [URL="http://www.xen.org"]Xen[/URL] hypervisor. Instead, it will include Red Hat's own [URL="http://www.linux-kvm.org"]KVM[/URL] virtualization. Has Red Hat done … | |
Hello .. i need ur help i have this problem .. i have this in a jsp page : [code]<jsp:useBean id="rdf" class="test_rdfa.NewClass"> </jsp:useBean> String id=(String)session.getAttribute("id"); String url= request.getParameter("wburl"); rdf.readGrddl(url,id); [/code] and this is the NewClass.java: [code] import com.hp.hpl.jena.grddl.GRDDLReader; import com.hp.hpl.jena.rdf.model.*; import java.io.*; public class NewClass { Model model = null; … | |
Hi all, I'm having problems passing my variables using thru the url. Here's the code. [CODE =php] $connection = mysql_connect($dbhost, $dbusername, $dbpassword) or die (mysql_error()); mysql_select_db($dbname, $connection); //i use this line to test that variable id has been passed. //this also happens to be the error point $test = "select … | |
I have 50+ domains I have parked and instead of using GoDaddy's default parked page I created my own to generate ad revenue or at the very least help increase Google PR. Currently Im using [CODE]<?php echo(preg_replace('/^[a-z]*./','',$_SERVER["HTTP_HOST"])); ?>[/CODE] to display domain.com throughout the page. However, my next step is to … | |
Canonical's Ubuntu 10.04 LTS Server Edition features the ideal deployment platform for Linux server workloads and cloud computing Long-term support (LTS) version of popular server operating system generally available on 29 April. [B]LONDON, April 27, 2010:[/B] Canonical today announced the upcoming release of Ubuntu 10.04 LTS Server Edition which includes … | |
Hello all, I'm new here :) After I upload new .mo file on the server I get blank page after first few refreshes, like server cache the old file... After that everything seems to be ok. I use slackware, lighttpd 1.5, PHP5... I thought that only apache server does caching, … | |
Hi, I am facing a problem in capturing and retreving data from a webmethod response.I am calling web methods on remote server.So I have included the web reference of the webservice in my Vs2005 solution.But the main problem is the webmethods are returning custom Array datatypes.The coustom data types are … | |
i am trying to deploy a .war file on my local server using sun microsystem's application server. the problem i am having is when i try to launch it in the address bar as: [url]http://localhost:8080/HelloServlet/[/url] it shows the [B]directory listing for/[/B] text on the screen. but when i insert /hello … | |
Hi, The following is what i want to do . Integrate R with PHP such that R functions can be called from within PHP, and the results from R (graphics output, result variables/arrays) are available for further manipulation within PHP. want a PHP extension that links in R capabilities directly, … | |
I've just installed Cent OS 5 on my server and I'm trying to configure it using Webmin. Now I've reached the Apache section and I want to install/uninstall apache modules, but in the apache configuration page cannot see the modules section. This is very strange. Previously I had Ubuntu and … | |
Using mod_rewrite I use this to test if a file exists: [code]RewriteCond /home/myact/public_html/pagecache%{REQUEST_URI}/index.html -f[/code] How can I test if the file exists and is less than 5 minutes old? | |
i want to compile .jsp file. i have downloaded tomcat 6.0. and set environmental variables e.g. set PATH="C:\Program Files\Java\jdk1.6.0_10\bin";%PATH% set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10 set CLASSPATH=.;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\servlet-api.jar;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\jsp-api.jar;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\el-api.jar;C:\Servlets+JSP;..;..\.. i hava searched pages related to configuring web.xml, context.xml etc but i am still unable to load … | |
Hi everyone, I recently migrated to PHP 5.3.2, and realized that I am unable to turn off notice errors in my site now. I went to php.ini, and in these lines: [CODE] ; Common Values: ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.) ; … | |
I have a server running Fedora 12. The web site has always worked when viewed by Firefox and IE - until we updated to Fedora 12. It now works fine with Firefox, but only get the default page when using IE. Am I forgetting something about the setup? Totally possible, … | |
I'm having a little trouble understanding saving state data properly. What I have is 3 forms, which go into a summary, and then the user can click on register and register for the seminars. The data is then submitted to a database. Each form has a next and back button. … | |
Hi. I am having problems connecting and the use of DAO Could someone start me off to find problems that are conceptionally wrong with the structure? [b]error [/b] if the connection is made and database is built (DerbyDAO) then the InstructorDao SHOULD become JDBCSchoolofdbDAO and return "profile" which will allow … | |
Hi My program is trying to load properties but it is saying it can not read a line of it. Does anyone have an idea why not? [code] dbProperties.load(dbPropInputStreasm); [/code] but error [code] Exception in thread "main" java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) error here -------> at model.dao.DerbyDAO.loadDBProperties(DerbyDAO.java:160) at … | |
[URL="http://www.ubuntu.com"]Ubuntu[/URL]'s Lucid Lynx (10.04) isn't out yet but Mark Shuttleworth, founder of Ubuntu and [URL="http://www.canonical.com"]Canonical[/URL], and his team look toward the October 2010 (10.10) release they're calling Maverick Meerkat. On his personal blog this morning, Mark wrote, "It’s time to put our heads together to envision 'the perfect 10'." Mark, … | |
My [URL="http://www.frugaltechshow.com"]Frugal Tech Show[/URL] co-host, [URL="http://blogs.zdnet.com/perlow"]Jason Perlow[/URL], and I spoke with [URL="http://www.canonical.com"]Canonical[/URL] CTO Matt Zimmerman early this morning about the upcoming [URL="http://www.ubuntu.com"]Ubuntu[/URL] releases and a few other selected topics of interest to Ubuntu users. There are some secret goings on in the mill at Canonical that he didn't tell us … | |
I'm sure this has been asked before but I searched to no avail. I'm very pleased that Apple include Apache2 and PHP in all their builds but the fact they don't include GD, PDO_mysql and mcrypt (among others) isn't so great. I had this sorted until a recent update by … | |
Hi I wasnt sure where to stick this, so Im asking this crowd I am putting together a website which works on an MVC principle, my own framework, and need some help with the .htaccess file. Specifically, if I want to make a pdf available for download, my url parser … | |
I have a problem with this code [code] <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.example.com" ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <?php $language="fr_FR"; putenv("LC_ALL=$language"); setlocale(LC_ALL, $language); bindtextdomain("messages", "./locale"); textdomain("messages"); print "<p>"._("hi! … ![]() | |
What the hell is up with [URL="http://www.oracle.com"]Oracle[/URL] lately? First, they stopped giving away the Solaris operating system and now they have some big announcement planned for next week at the [URL="http://en.oreilly.com/mysql2010"]MySQL Conference[/URL]. Should we hide our wallets before we listen? To me, Oracle has morphed into [URL="http://www.microsoft.com"]Microsoft[/URL] II with all … | |
Hi, I have a website called [url]www.site.com[/url] I have a product.php file and a categories.php file that generate the URL's and content dinamically. In .htaccess I have the following rule. [CODE]RewriteRule (.*)_(.*)\.html product.php?category=$1&name=$2 RewriteRule (.*)\.html categories.php?category=$1[/CODE] Everything is ok by now. When I try to change the rewritting rule to … | |
Hi Guys, I have access to mini linux PCs that can serve up webpages using the Boa webserver. They also house an sqlite db file. What I want to do is install the bare-bones of php with only sqlite and PDO functionality, so I can write to and display data … | |
hi I use log4j framework for logging my program. i insert log4j.xml in my project an test it. everything was ok and logfile correctly was put in path. but when i made jar file and copy it to linux and run it it return error [CODE]log4j:ERROR Could not open [log4j.xml]. … | |
I keep getting NoClassDefFoundError so I cannot check if the rest of my program works. It works on the school computers but it does not at my house. I set up the path and classpath variables how my teacher told me for derby but it still will not work, any … | |
Hi All, This is the first time I'm working with FTP functions in PHP. I have to create a link to send a [B].sql[/B] file to another server using its' FTP logins. I used ftp_put() function in the following way [CODE]ftp_put($connection, $file_name_1, $file_name_2, FTP_ASCII);[/CODE] It works perfectly in my [B]localhost[/B]. … | |
I'm using Python and the Python CGI module to do some web development for a system's administrative access page. The problem I have is that the current features allow you to reboot the system, power off the system and stop/start/restart system services. The system is very limited in what's running … | |
[URL="http://www.mysql.com"]MySQL[/URL] users listened intently Tuesday, April 13 at O'Reilly's MySQL [URL="http://en.oreilly.com/mysql2010"]Conference[/URL] to Edward Screven, [URL="http://www.oracle.com"]Oracle[/URL]'s chief corporate architect, while he announced Oracle's grand plan for MySQL. What they heard was that Oracle is interested in MySQL, will invest in it and nothing should change for the community version of MySQL. … | |
I am using Wampserver for my Windows Apache-PHP-MySQL stack. The file accessed has a header that defines it as utf-8, meta tag in HTML also defines it as utf-8. My best guess so far is that it has something to do with Apache. Searching through Google was of little help … | |
I'm desperately trying to do some coursework and its not going well. I've been searching for example code for registering a new user to a database. I have a database connection and data access servlets but its riddled with errors. Its building but throwing up apache errors of all types. … | |
hi, I am trying to install OTRS on my server. At the end of the installation it says "Copy Failed". When I check the services, the Apache Services does not start and the when I try to start this manually, it says: --------------------------- Services --------------------------- Windows could not start the … | |
I running my little blog on Tomcat 6 server. My hosting company allows me to set up multiple sub domains. I was trying to do for last few hours, but no luck. Having started with [code=xml] <Engine name="Catalina" defaultHost="mydomain.co.uk"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="mydomain.co.uk" appBase="/home/user/public_html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>www.mydomain.co.uk</Alias> … | |
![]() | I compiling with Solaris 10 SPARC, jdk 1.6 from Sun, Ant 1.7.1 from OpenCSW. I have no problem running hadoop 0.17.2.1 However, I have problem compiling/integrating hive with the error 'cannot find symbol', although I followed the tutorial. I have the hive source code from SVN exactly from tutorial. How … |
Hello everyone, Im trying to get my server setup for a small web hosting type system (for friends). everything is working except subdomains ive used vhost_alias for ever when i was just hosting my site to do wildcard subdomains. But I can'e seem to get it working on more then … | |
I am trying to make a form using html and JSP, get the data and save them in an XML file. I use also Tomcat 1.6 as server. For generating the XML I am using the XStream library. I have a Customer.java class with get and set methods for a … | |
[QUOTE]hi i am new to php. i am getting the following error ----Warning: fopen(C:/Program Files/Apache Group/Apache2/htdocs/Project/) [function.fopen]: failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\Project\download.php on line 4---- ----Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\download.php on line 27------[/QUOTE] … | |
hello, setting up my first home server here. i can access apache server on my local network fine, but port 80 is blocked by my isp, so I cant access it from outside my lan. so i added listen 8080 to port.conf then i forwarded the port in my router. … | |
Hi Guys, When I am using XML version in the XHTML, then I am getting parser error [Parse error: parse error, unexpected T_STRING on line 1]. <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> <head> <title>Testing Page</title> </head> <body> <p>Hi</p> </body> </html> When … | |
Hi. I am using apache servicemix and apache activeMQ in my product. Here in case of HttpConnector i found a performance issue. If i increase number of total request at a time then as the number will increase exchange queue gets stuck on any of the component. After all the … | |
Today marks the end of an era for [URL="http://www.sco.com"]SCO[/URL], the embattled company whose officers thought that they owned the full rights to the UNIX code, is no more. Linus Torvalds, creator of Linux, purchased the company for just over $4 million. The company will be renamed to Linsco to reflect … | |
Howdy all, For some reason I just can't get my modules imported into my CGI script and run in a browser. It will print the HTML fine in a command prompt call, but the browser gives an "Internal Error 500." Error in Firefox & IE: Server error! The server encountered … | |
I'm using [this website](http://stdcxx.apache.org/doc/stdlibug/33-3.html) as a reference and am modifying some code to (hopefully) have it work the way I'd like it to. I *think* I'm close, but since I have no experience with custom paramaterized output manipulators (and have limited experience with custom output manipulators even) I'm kind of … | |
I learned a little from my dalliances with Apple products. I learned a lot from PCs running DOS and Windows. I've learned the most about computers from Linux. However, productivity-wise, the order goes in reverse. The learning curve with Linux is at least twice as long compared to Windows and … |
The End.