user823473
user823473

Reputation: 63

How to reference a jsp in a different folder

I just organized the jsp's in my project into separate folders. Now I need to change the src for menu1.jsp

<td width="16%" valign="top"><iframe id="ifa"
                                    src="menu1.jsp?page=home" marginwidth="0" marginheight="0"
                                    scrolling="no" width="190" height="450" frameborder="0"></iframe>
                                </td>

Thanks in advance

Upvotes: 0

Views: 1176

Answers (2)

Jigar Joshi
Jigar Joshi

Reputation: 240900

just replace

 src="menu1.jsp?page=home"

to

 src="new/location/menu1.jsp?page=home"

Upvotes: 0

Kah Tang
Kah Tang

Reputation: 1674

Did you try ../dirname/menu1.jsp as src?

Upvotes: 2

Related Questions