Solved

Source of JSP files ?

Posted on 2006-07-19
6
200 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:pillmill
ID: 17148453
Thanks.

I've found a *.war file.

How do I read it ?

Phil
0
 
LVL 52

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
What You Need to Know when Searching for a Webhost Provider

737 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