I don't know what the format of a .shp file is. Assuming it's a text file:
1) read your file into a Java variable via a scriptlet
2) Assign this variable to a TEXTAREA tag.
You can do it like this:
<% Scriptlet to read the file into String shpFile; %>
...
<TEXTAREA><%=shpFile %></TEXTAREA>
If the file is NOT a text file, you need the same 2-step process; you
just need more customized coding for step 1. You might also do a search
to see if there are any libraries out there to convert a .shp file into
a String.