Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reading from .html  RSS feed

 
Erick Heberling
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the best method to read data into a .jsp page from a locally stored .html file? I have done this before using swing, but never jsp.
Are the methods fairly similar?

Thanks,
Erick
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without a little more detail from you, it's hard to say.

Have you looked at include directive: <%@ include page=".." %>
And or the JSP include action: <jsp:include page="..." />
???
 
sandeep TA
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do it.

suppose if u have
<input type="Text" name="good">

then in Jsp

<%= request.getParameter("good") %>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66184
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Sandeep TA", you have already been asked on at least one previous occasion to adjust your display name to meet JavaRanch standard. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Be aware that accounts with invalid display names are subject to removal.

bear
Forum Bartender
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!