Solved

Source of JSP files ?

Posted on 2006-07-19
6
199 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 33

Expert Comment

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

ShalomC
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

Author Comment

by:pillmill
ID: 17148453
Thanks.

I've found a *.war file.

How do I read it ?

Phil
0
 
LVL 51

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Recipient address rejected: User unknown in virtual alias table 1 306
question about access to website 2 80
setup wamp server for first time 2 83
DNS @ Naked Domain Record 5 104
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…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…

820 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