diff --git a/docs/en/07-develop/_sub_java.mdx b/docs/en/07-develop/_sub_java.mdx
index a928fa8836236aa08f4093c36c1d057c30018e21..09dacd85682fb95ccc35b36bce11417f60e99bd4 100644
--- a/docs/en/07-develop/_sub_java.mdx
+++ b/docs/en/07-develop/_sub_java.mdx
@@ -1,5 +1,6 @@
+
```java
{{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}}
```
@@ -9,8 +10,10 @@
```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
```
+
+
```java
{{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}}
```
@@ -20,5 +23,6 @@
```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
```
+
diff --git a/docs/zh/07-develop/_sub_java.mdx b/docs/zh/07-develop/_sub_java.mdx
index e5e46b2af0db52f4d6494a225c585b2a7b0a9a4b..9f1fa5bdd9b399e2a683dc5880a4aa6fc5ea0fb5 100644
--- a/docs/zh/07-develop/_sub_java.mdx
+++ b/docs/zh/07-develop/_sub_java.mdx
@@ -1,5 +1,6 @@
+
```java
{{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}}
```
@@ -9,8 +10,10 @@
```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
```
+
+
```java
{{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}}
```
@@ -20,5 +23,6 @@
```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
```
+