Solved

Source of JSP files ?

Posted on 2006-07-19
6
198 Views
Last Modified: 2010-04-20
Hi:

I am trying to find the JSP files that manage a website and access a database.

In the web page source, is the URL statement:
url = (0059)http://10.0.0.99/rept/disp.jsp

The webserver appears to be "Resin".

I am having trouble finding the *.jsp files.

How would I find out where the webserver is locating these files ?

Thanks,
Phil Miller
0
Comment
Question by:pillmill
6 Comments
 
LVL 18

Expert Comment

by:Sam Panwar
ID: 17143565
Hi,

Are you have to access on server ???

If you are client then you can right click on the webpage and click on view source. You can get the path.

If your website on window then use

C:\domains\website\wwwroot
OR
c:\inetpub\wwroot\website\

Linux

\root\html_home\
0
 

Author Comment

by:pillmill
ID: 17147613
Hi:

Yes, I have access to the server.

The webserver appears to be Resin.

There is no /root/html_home.

A find ./ *.jsp does not turn up any jsp files.

Any ideas where the source JSP files could be located ?

Thanks,
Phil Miller
0
 
LVL 32

Expert Comment

by:shalomc
ID: 17148187
Look inside jar, or war, or ear files.

ShalomC
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:pillmill
ID: 17148453
Thanks.

I've found a *.war file.

How do I read it ?

Phil
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 17151827
>>I've found a *.war file. How do I read it ?

You can use software like Winzip to unzip a .war file! Good luck...
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 17157132
jar tvf your-file.war
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now