Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to create a Minecraft 24/7 vanilla server for free, but I can't seem to get html to run Minecraft_Server.jar (the jar file), located at https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar. I dont know the startup class, but I do know the download link. The jar file was made to save to and read from files on a computer, and is normally started by a .command. Any help?
I shall address the issues you are facing one at a time.
HTML alone cannot run a Java program. HTML can run an applet; this is how the Minecraft Demo works.
The minecraft_server.jar is not a Java applet. Therefore you cannot run it online using HTML.
The unmodded minecraft_server.jar is not designed to run from a BAT file (I think you mean BAT rather then a .command file).
If you are trying to administrate a Minecraft server online take a look at some online consoles such as McMyAdmin or SpaceBukkit. You can also find online hosting that provides these console with a quick Google.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 10 days ago.
Improve this question
I’m collaborating with some friends on making a Pokémon database for a Pokédex Challenge and we realised that all that we wanted this database to do Poké API was already doing. However I can’t seem to download it into My SQL, no matter what I try.
I’ve copy and pasted the raw files into the SQL of a new database, an existing one, and tried to import using Pages (I don’t know what other program to use, and likely don’t have it anyway).
EDIT: So I’m trying to recreate the database Poké API so that I have my own copy to edit and query. On their GitHub, Poké API have various ways of-I think-copying the database into different database management tools, but I don’t see mine there. I’ve also tried to copy and paste raw CSV and JSON files that their GitHub provides into my database management tool-which I think is Mariadb-but this hasn’t worked either. I also tried importing it in as a CSV file, but evidently I can’t use Pages on my Mac, which I expected, but have no idea what else to use.
I’m not very experienced with MySQL and am still learning, so if there is information you need to help me that’s missing, just let me know
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I've made a webpage on HTML and I want to run a .cpp application on it. With the way I've learnt to do it, the code is displayed.
The only way to do this is ActiveX, which by default is not supported by anything anymore. Only Internet Explorer supports it, but even that needs to be specifically allowed.
But you'd still have to first compile the cpp-code and do quite a huge amount of programming work before you'd have an valid ActiveX -dll. Then you'd also somehow need to deploy it for all website clients.
TL;DR: No, no no no. Running C/C++ for web clients is no-go.
However, if you are looking for something like that website client should be able to invoke a C++ application at the server, this is very possible. You still need to have that application compiled for the server environment though. For small "run and get the results" -tasks I've found it easiest to use ajax to call php -scripts, as php can execute stuff on server.
Signed Java Applets can run executables from browser, but it's not welcomed nowadays.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Given:
Suppose that I have a website called "exampledomain.com", and that on that website, I have one file called "my_doc.html", the full URL address of which is "https://www.exampledomain.com/my_directory/my_doc.html". (Not my actual website; this is just hypothetical).
Objecive:
I'm trying to develop a Client-Side Application, using C++ & Windows Sockets, that downloads my HTML file, parses it, extracts some specific information, runs some calculations, and displays its results to the user.
Question:
How do I download the HTML file from the server to the directory "C:/ExampleDirectory/" on the client-side computer, using the Windows Sockets Library?*
Clarification:
I want to write this Client-side program to work with the existing website. IE: I want it to download the file in the same way that an Internet-Browser like Microsoft Edge would.
Edit:
Just to clarify, the server uses a secure, account-based system, and thus the document would be transferred using HTTPS. I'm not really sure if this would effect the solution, but I thought it'd be worth mentioning.
Don't.
A socket library is not an appropriate tool to talk with a web-server. http is complex enough that you want to use a specialized http library. There are several such libraries available. curllib springs to mind. And of course there is the WinHttp tag https://stackoverflow.com/tags/winhttp/info.
And for the html part, you'd want to use an html parsing library to extract the desired info.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am learning how to make a website and wondering if it's possible to build my own website just for learning purpose without paying for domain and host? In other words, how can I practise making a website in which I can do almost all things like ones I can do with a real website but I don't have to pay anything?
You could simply create an index.html file, code in there, and then open that file in a web browser like chrome.
As simple as that :)
You can use wamp (windows), or mamp (mac), etc, if you're trying to learn PHP.
There are some others software like SQL server management and IIS for ASP.NET website.
But in case of, learning HTML / CSS / JavaScript can be run on your own machin without any needs. (or txt editor maybe)
You can find somes tuto on internet about "learn html css" or "html / css lessons"
I can recommand you this website, which help me a lot to start.
You can install something like XAMPP which will render your website files.
If you are just starting with static HTML, CSS and maybe JavaScript later on the way, just create a folder, named e.g. 'myFirstWebsite', in the home directory of your computer, and put a file called index.html into the folder.
Now start hacking! ;)
You can open the file with any browser and it will work. Even JS, embedded in your .html file or in a separate, referenced .js file will execute.
Things get more complicated when you want to do server related things like working with a blog system like Wordpress or similar. The you have to install a local webserver like Apache, a database, PHP (if you absolutely need to) and so on. All of that is combined into the aforementioned WAMP, LAMP, MAMP ... packages.
A great knowledge resource is the Mozilla Developer Network.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm just finished with a nice HTML5+ JQM web site on my Ubuntu laptop.
A make script converts server side code to static HTML, optimizes images and compresses JTML, JavaScript and CSS.
I ask what's the method you'd suggest to upload it to my public server (I have an ftp access, no ssh).
It should be a strong, repeatable and flexible (remove deleted files on server, upload only changed files, for example?) solution, which should be automated.
This is a generic solution which you need to modify for your needs
ls your changed files and save in an array(? or may be a list)
connect to FTP
upload changed content
disconnect
Best would be to set up a versioning system that will cover the files deleted, modified etc. Set up GIT and use GIT commands to get a list of changed files and use command line FTP to upload files.