Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2006, 12:22 PM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default anyone could help me about jsp?

First i write a hello2.jsp and run successful!

It is:
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
  <head>
    <title>presenting jsp2.0</title>
  </head>
  <body>
    <h1>my first jsp2.0 template</h1>

    <p>all i want to say is<tags:helloworld/></p>
    </body>
</html>



Then I rework the hello2.jsp but when I run it,it also display the same web as just now!

<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
  <head>
    <title>presenting jsp2.0</title>
  </head>
  <body>
    <h1>my first jsp2.0 template</h1>

    <p>i am so excited, i want to scream"<tags:helloworld/><tags:helloworld/><tags:helloworld>"</p>
  </body>
</html>

I dont't konw why?
Anyone could help me ?

 
Old July 14th, 2006, 07:27 PM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you deploy your updated JSP into your web application's deployment directory? How did you deploy it? Did you just copy it into your /webapp.war/ folder in Tomcat, or do you have an EAR?

Have you turned on hot deployment in your servlet container? If not, your servlet container will cache the compiled JSP and run the cached version until the server is restarted.

Jon Emerson
http://blogs.adobe.com/jon.emerson/
 
Old July 15th, 2006, 03:13 AM
Registered User
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am stared to study JAVA .CAN YOU HELP ME

 
Old July 15th, 2006, 03:15 AM
Registered User
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

say about Good books for studying JAVA?

 
Old July 16th, 2006, 03:24 PM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For Java books, my favorites are from Sun's Core Java series and from O'reilly. The basic Core Java book is Core Java 2, Volume I - Fundamentals, 7th Edition. Here's a link:

http://www.amazon.com/gp/product/013...lance&n=283155

O'reilly has "Learning Java", Second Edition:

http://www.amazon.com/gp/product/059...lance&n=283155

I'd recommend using Amazon's "Look Inside" feature to read a few pages from each book. Evaluate them based on whether you can understand what's going on. There's a lot of Java books that assume an advanced knowledge of Java already and you should try to steer away from those for now.

Jon Emerson
http://www.devexplore.com/developer/...jects.php?id=6
 
Old August 7th, 2006, 04:21 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

chang the "w"of "helloworld" to "W"
My English isn't very good!


  I'm a happy girl!
My English isn't very good!Glad to meet you here!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help in jsp naidu.chandrakala JSP Basics 6 November 1st, 2007 02:32 AM
jsp jamalpv JSP Basics 1 May 14th, 2007 10:21 AM
Please Help. mr_newreq.jsp:78: jsp:useBean can't f batken JSP Basics 0 February 22nd, 2006 09:56 PM
jsp harshika JSP Basics 1 August 3rd, 2005 12:37 PM
jsp edwrd04 Wrox Book Feedback 1 May 15th, 2004 11:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.