The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans

To learn Ajax in Java, I did "Introduction to Ajax in Java Web Application" provided by NetBeans. .. There were some addictive parts, so I will introduce them. If you are going to "Getting Started with Ajax in Java Web Applications" from now on, please refer to it.

environment

GlassFish server does not start

I need to start a server in NetBeans to use Ajax, but that server didn't start.

approach

It is OK if you execute the contents described in the article of http://etc9.hatenablog.com/entry/2016/12/21/070607.

table tag error

There is a place to insert the table tag, but if you copy and paste it as it is, an error will occur.

index.html


<tr>
    <td id="auto-row" colspan="2">
        <table id="complete-table" />
    </td>
</tr>

approach

The end tag of table is missing, so add it.

index.html


<tr>
    <td id="auto-row" colspan="2">
        <table id="complete-table" /></table>
    </td>
</tr>

CSS goes crazy

This may only be my environment, but when I added the CSS the display went crazy.

スクリーンショット 2018-01-07 16.38.07.png

approach

Correct the parts shown below.

stylesheet.css


.popupBox {
  position: absolute;
  top: 170px;
  //Change here so that it does not stick out
  left: 58px;
}

Recommended Posts

The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans
I was addicted to the NoSuchMethodError in Cloud Endpoints
I was addicted to the record of the associated model
I was addicted to the setting of laradock + VSCode + xdebug
I was addicted to the API version min23 setting of registerTorchCallback
I was addicted to the roll method
I was addicted to the Spring-Batch test
Output of the book "Introduction to Java"
Recorded because I was addicted to the standard input of the Scanner class
[CircleCI] I was addicted to the automatic test of CircleCI (rails + mysql) [Memo]
I was addicted to unit testing with the buffer operator in RxJava
Understand the characteristics of Scala in 5 minutes (Introduction to Scala)
GetXxxx of ResultSet was addicted to primitive type (Java)
Remote debugging of Java applications in Azure Web Apps
I tried to implement the Euclidean algorithm in Java
A memorandum because I was addicted to the setting of the Android project of IntelliJ IDEA
Was done in the base year of the Java calendar week
What I was addicted to when introducing the JNI library
I tried to summarize the basics of kotlin and java
I was addicted to setting default_url_options with Rails devise introduction
I want to expand the clickable part of the link_to method
I was addicted to looping the Update statement on MyBatis
A story I was addicted to in Rails validation settings
What I was addicted to with the Redmine REST API
How to derive the last day of the month in Java
I tried to make a client of RESAS-API in Java
I was addicted to using Java's Stream API in Scala
I want to simplify the conditional if-else statement in Java
The story I was addicted to when setting up STS
I finished watching The Rose of Versailles, so I tried to reproduce the ending song in Java
I tried to implement Ajax processing of like function in Rails
When I was worried about static methods in java interface, I arrived in the order of name interpretation
What I was addicted to when updating the PHP version of the development environment (Docker) from 7.2.11 to 7.4.x
The milliseconds to set in /lib/calendars.properties of Java jre is UTC
[Java] Appropriate introduction by the people of Tempa Java Part 0 (Code rules)
[Java] I want to perform distinct with the key in the object
I want to know the Method of the Controller where the Exception was thrown in the ExceptionHandler of Spring Boot
I want to change the value of Attribute in Selenium of Ruby
How to get the length of an audio file in java
How to increment the value of Map in one line in Java
A story that I was addicted to twice with the automatic startup setting of Tomcat 8 on CentOS 8
A memo that was soberly addicted to the request of multipart / form-data
Memorandum: What I was addicted to when I hit the accounting freee API
[Rails] I was addicted to the nginx settings when using Action Cable.
The story of forgetting to close a file in Java and failing
A story I was addicted to when testing the API using MockMVC
Problems I was addicted to when building the digdag environment with docker
I was addicted to scrollview because I couldn't tap the variable size UIView
How to find the total number of pages when paging in Java
I called the COTOHA API parser 100 times in Java to measure performance.
I want to get the IP address when connecting to Wi-Fi in Java
I tried to make full use of the CPU core in Ruby
How to get the absolute path of a directory running in Java
I want to get the field name of the [Java] field. (Old tale tone)
[Rails] The cause of not being able to post was in form_with
I translated the grammar of R and Java [Updated from time to time]
Change the save destination of the image to S3 in the Rails app. Part 2
[Java] I participated in ABC-188 of Atcorder.
Get the result of POST in Java
Java reference to understand in the figure
Introduction to java for the first time # 2