[JAVA] How to specify the resource path in HTML import

By using <c: import>, the contents of the file specified in the url attribute can be read at that location. Then, if you want to create a frame on the outside and display another page inside, create app.jsp (outer jsp) and Write $ {param.content} in the code (yellow frame in the image). イラスト.png The page you want to display will be in the place where you wrote $ {param.content}. On the page (jsp) for those who enter イラスト2.png By writing <c: param name =" content "> as surrounded by the yellow frame in the image above, the part surrounded by yellow is specified as the part you want to put inside. This time, the page is specified by unifying with content such as $ {param.content} in the upper image and <c: param name =" content "> in the lower image.

Recommended Posts

How to specify the resource path in HTML import
How to correctly check the local HTML file in the browser
[swift5] How to specify color in hexadecimal
How to get the date in java
How to specify id attribute in JSF
How to get the absolute path of a directory running in Java
How to check the logs in the Docker container
How to add sound in the app (swift)
Add classpath: to the path specified in spring.datasource.schema
How to build the simplest blockchain in Ruby
How to check Rails commands in the terminal
How to embed JavaScript variables in HTML with Thymeleaf
How to set the display time to Japan time in Rails
[Java] How to omit the private constructor in Lombok
How to send value in HTML without screen transition
[Java] How to extract the file name from the path
Organized how to interact with the JDK in stages
[SwiftUI] How to specify the abbreviated position of Text
How to debug the generated jar file in Eclipse
Install MySQL 5.6 on CentOS6 [How to specify the version]
[Rails] How to display an image in the view
How to get the class name / method name running in Java
How to use the getter / setter method (in object orientation)
How to set chrony when the time shifts in CentOS7
How to connect the strings in the List separated by commas
How to create a placeholder part to use in the IN clause
How to retrieve the hash value in an array in Ruby
How to derive the last day of the month in Java
How to disable existing selected items in the select box
How to switch Java in the OpenJDK era on Mac
[Rails] How to display information stored in the database in view
How to specify an array in the return value / argument of the method in the CORBA IDL file
How to use the link_to method
How to use Lombok in Spring
How to find May'n in XPath
How to use the include? method
[Rails / Routing] How to refer to the controller in the directory you created
How to hide scrollbars in WebView
How to use the form_with method
How to specify validation for time_field
How to iterate infinitely in Ruby
How to run Ant in Gradle
How to master programming in 3 months
Specify the java location in eclipse.ini
How to use the wrapper class
How to learn JAVA in 7 days
How to output the value when there is an array in the array
How to install Bootstrap in Ruby
How to use InjectorHolder in OpenAM
[jOOQ] How to CASE WHEN in the WHERE / AND / OR clause
How to get the id of PRIMAY KEY auto_incremented in MyBatis
[Behavior confirmed in December 2020] How to implement the alert display function
How to introduce jQuery in Rails 6
How to use classes in Java?
How to store the information entered in textarea in a variable in the method
How to name variables in Java
How to set Lombok in Eclipse
How to identify the path that is easy to make a mistake
How to solve the unknown error when using slf4j in Java
How to add the delete function
[Java] How to convert from String to Path type and get the path