| Author |
Accessing JSP/PDF directly through URL
|
changu mani
Greenhorn
Joined: Aug 31, 2012
Posts: 25
|
|
Dear All,
I need to access the jsps/pdfs directly through URL when an EAR/WAR is deployed on WAS. Can you please let me know the settings to be done in WASADMIN to access the jsps/pdfs directly through URL?
I'm working on a banking Application. I've a development environment. I Want the jsps/pdfs to be displayed directly when i access them through the URL. It should not throw any message related to security when I try to access it.
Any pointers will be very helpful.
Thanks in Advance
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26138
|
|
You put them outside the WEB-INF folder but in your war file. However this is a horrible idea for security - and given that you are working on a banking application, you should care about security. Why not use a servlet to front the jsp/pdf?
Since this isn't specific to WebSphere, I'm moving it to our Servlets forum where it will get more people reading it.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Niranjan Aithal
Greenhorn
Joined: Mar 17, 2012
Posts: 6
|
|
|
Make sure that in file ibm-web-ext.xmi, fileServingEnabled is "true". Also the web.xml should not have any security constraints for jsps and pdfs.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Accessing JSP/PDF directly through URL
|
|
|