| |

VerySource

 Forgot password?
 Register
Search
View: 747|Reply: 2

JSP path problem

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-10-16 12:00:02
| Show all posts |Read mode
I created a JSP file in eclipse but I don’t know how to open it in the address bar
E:\workspace\msgboard\WebRoot\register.jsp
Is the path I saved wrong?
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-10-16 15:45:01
| Show all posts
Jsp files cannot be opened directly in the address bar like html, you need to use a jsp container (such as tomcat), and then you can browse in the browser
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-10-16 16:30:01
| Show all posts
After publishing in tomcat, enter in IE
http://localhost:8080/your eclipse project name/register.jsp
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list