Originally posted by Red Smith:
Glad you got it working, but just out of curiosity - what type of Class is your textField1?
Originally posted by Red Smith:
If you are talking about a JTextField, I believe you get the data from it with the getText() method (defined in its superclass JTextComponent).
[ August 13, 2007: Message edited by: Red Smith ]
Originally posted by Ben Souther:
VB6 made it incredibly easy to build Windows desktop applications.
Visual Studio .NET takes the same approach to building web applications.
With it, you.
Drag and drop widgets onto the screen,
Double click one of the buttons that you just placed on the screen in the last step and are brought into the 'code behind' method that is supposed to act on that button click event.
From there you can set the properties of any of the other widgets (myTextField.text = "Hello, World").
Then click the run button and visual studio will build the entire web application for you ASP, C#, HTML, and Javascript, then fire up a browser with the application running in it.
To get started in that environment, you don't need to know whether you're talking about javascript, HTML, C# etc... The IDE does it all for you.
Originally posted by Ben Souther:
It's actually not simple.
I don't think the VB approach to learning to program Java web applications will work. A better approach would be to find some simple command line tutorials to get your feet wet.
See:
https://coderanch.com/t/364753/Servlets/java/Head-First-Servlets-JSP