how to run java servelets in eclipse - servlets

can anyone please tell me how to run servelets on java eclipse from first stage and in my eclipse i am unable to find the dynamic web project option how can i get that can anyone tell me with simple example like "hello world" program

Check this http://keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/

Related

Runnable Jar from a JavaFX 8 project, JavaFX compenents are missing

i created a Javafx project using JDK 8 and when i tried to export it to a runnable .jar file, i got surprised that it doesn't run using CMD, and gives the following error :
"Javafx compenents are missing"
while it works perfectly during the compiling time(using the IDE) when i accessed the .jar files, i found it has just .class files (that i made), and the needed library files that haven't been exported (i made sure to select the "extract need library files extract required libraries into generated jar" option in Eclipse), is there a reason behind of this? and a way to solve it? thanks in advance
Ps: i tried this using Eclipse and Intellij IDE
I just wanna mention once again that I'm using JDK 8 where it has JavaFX library inside of it.
Did you try this?
There are detailed instructions on how to configure your IDE to run JavaFX with newer OpenJDKs (which do not come with JFX components in it).
It also explains how to create a new JavaFX Maven project from archetype, with all the necessary plugins to easily build your application while including the minimal Java components for it (using jlink).
This will ensure that anybody using your application will have those components.

Problems with QT 5 deployment

I've attempted to follow the instructions on deploying Qt to Windows, but I am stuck on step number 1. In it, it tells you to:
cd C:\path\to\Qt
configure -static any other options you need
Unfortunately, I can't get the Qt DOS prompt to recognize the "configure" command despite attempting to use it in virtually every folder under my Qt installation. Does anyone know where this command is store? Everything else about my project is working great with Visual Studio, but I just can't seem to figure out the deployment.
I've Googled the crap out of this and tried both the Qt and the regular Windows command prompts. Any help would be greatly appreciated!
Thanks
EDIT: For clarity, I have tried dragging all of the .dlls needed to run my program (by running it and finding the ones I get errors on), but all that happens is I stop getting errors when trying to run my app. If I double click it with the .dlls in the same folder, nothing happens at all.
Are you sure you need the static Qt build? Note that you must static build the actual Qt framework for that, and only after that you can build your application.
If yes, make sure you have the Qt source code, because configure is part of the source code of Qt, it's a tool that configure the Qt build.
The step refers to path of Qt Source directory e.g. C:\QtSDK\QtSources\\
As you can see in qt5 source tree there is a file configure.bat
You need to run that with static option, so it will configure Qt for static linking.
Then you need to re-build Qt to make your new configuration to take effect.

Netbeans 7.2.1 broken reference : dist.jar (when coding on a JavaFX file)

I'm trying to learn JavaFX with reading some tutorials however, I couldn't even implement the "helloworld" application. The NetBeans said:
Error: Could not find or load main class helloworld.NewFXMain
Java Result: 1
and then when I checked Properties-->Libraries-->Run part there is a warning which says
Broken reference : dist.jar
How can I solve this?
when you create a new project in java fx and want to run the project for demo then this error occur .
you can try it given below:-
1.right click on project.
then click on clean and build.
its running your project in netbeans.
Before running, try "clean and Build Project" option.
Menu->Run->Clean and Build Project
then run your project.
It worked for me.

Need an example of /installfromweb command line switch for Installscript Project Setup.exe

Can anyone please provide me an example of /installfromweb switch in Installshield that is passed to setup.exe ?
I am trying to use this switch with "Installscript project" not "Installscript MSI" for web based Installation.
I found the answer using hit and trial method. Basically the command should be:
setup.exe /installfromweb:

Is it still possible to debug opentap 1.5.0 in eclipse/netbeans?

I followed this tutorial to the letter but all I get are errors after errors what's more, because it's so old there's somewhat of an extra step missing as eclipse asks what type of Java application it is when I try to run it despite the errors. Any help or pointers as to how it's possible to achieve this would be appreciated.
I found out that you could import eclipse project into netbeans as it already contained an eclipse project.

Resources