Skip to main content

I see jsp files instead of xhtml files in Hello1 tutorial

2 replies [Last post]
Trapped_EE
Offline
Joined: 2012-02-01
Points: 0

Hi everyone,

I'm trying to go through this hello1 tutorial and it calls for me to view 'index.xhtml' and 'response.xhtml'. I'm using Netbeans, just to get it in context. When I go to the project view to expand the 'Hello1' node I see 'index.jsp' and 'response.jsp'. It compiles and executes fine, but the Java EE 6 tutorial book calls for something different. Also, it asks for me to view the 'hello.java' file in the source files node, and that doesn't exist in my Netbeans project view. Does anyone know why this is?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
zols
Offline
Joined: 2012-02-04
Points: 0

Hello,

I had the same problem at first, but realized I had to update the tutorial to the newest edition, despite the fact that I downloaded the java EE 6 SDK just before (which included the tutorial).

Try updating with the update center (see page 45 in the book).

Cheers /Simon

Trapped_EE
Offline
Joined: 2012-02-01
Points: 0

You are correct. I updated the tutorials and I saw the same *.xhtml files that were in the Java EE 6 book. Thanx.