Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Tomcat
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Eclipse Collections Categorically: Level up your programming game
this week in the
Open Source Projects
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Tomcat
Mapping JSP
Hiep Nguyen
Ranch Hand
Posts: 46
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I know we can map a
jsp
to
servlet
. so now my problem is:
i have a jsp A, and B which A includes B.
so for instance:
http://127.0.0.1:8080/myapp/A.jsp
so now i don't want user access to B
http://127.0.0.1:8080/myapp/B.jsp
i want to force everytime user uses the URL
http://127.0.0.1:8080/myapp/B.jsp
it also mean
http://127.0.0.1:8080/myapp/A.jsp
thank you !
Mike Curwen
Ranch Hand
Posts: 3695
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
pretty much impossible.
Let's say you managed somehow to map b.jsp to mean "a.jsp". What would happen when a.jsp "includes" b.jsp?
To prevent access to b.jsp, you can place it in WEB-INF. You can <%@ include or <jsp:include files that are in WEB-INF.
Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
mock question
Absolute path for jsp
Difference JSP File & JSP Page
response.sendRedirect Problem
how to change the URL
More...