Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 14th, 2006, 12:22 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
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 ?

Reply With Quote
  #2 (permalink)  
Old July 14th, 2006, 07:27 PM
Friend of Wrox
 
Join Date: Jan 2006
Location: San Francisco, CA, USA.
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/
Reply With Quote
  #3 (permalink)  
Old July 15th, 2006, 03:13 AM
Registered User
 
Join Date: Jul 2006
Location: trivandrum, kerala, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am stared to study JAVA .CAN YOU HELP ME

Reply With Quote
  #4 (permalink)  
Old July 15th, 2006, 03:15 AM
Registered User
 
Join Date: Jul 2006
Location: trivandrum, kerala, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

say about Good books for studying JAVA?

Reply With Quote
  #5 (permalink)  
Old July 16th, 2006, 03:24 PM
Friend of Wrox
 
Join Date: Jan 2006
Location: San Francisco, CA, USA.
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
Reply With Quote
  #6 (permalink)  
Old August 7th, 2006, 04:21 AM
Registered User
 
Join Date: Aug 2006
Location: , , China.
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:13 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.