How to open one jsp from another through struts

前端 未结 1 1155
有刺的猬
有刺的猬 2021-01-15 16:25

How to open One jsp from another through Struts?

For example,

I have 2 JSPs, Page1.jsp & Page2.jsp.

相关标签:
1条回答
  • 2021-01-15 17:14

    with struts version 1.x ( in Page1.jsp ) :

    <html:link action="/action"> 
    

    then in struts-config.xml :

    <action path="/action" forward="{path to }Page2.jsp"/>
    
    0 讨论(0)
提交回复
热议问题