Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Alma Austin   on Mar 05 In Java Category.

  
Question Answered By: Edna West   on Mar 05

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.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Reading .shp file Or get search suggestion and latest updates.


Tagged: