NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Not able to go pass step 5 of Creating a Simple Web App Using MySQL tutorial

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Jack Bush
Posted via mailing list.





PostPosted: Wed Apr 25, 2012 2:21 pm    Post subject: Not able to go pass step 5 of Creating a Simple Web App Using MySQL tutorial Reply with quote

Hi All,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I am not able to generate index.jsp from step 5 of tutorial Creating a Simple Web Application Using a MySQL Database from http://netbeans.org/kb/docs/web/mysql-webapp.html. There were no differences of the outcome using either Java EE 5 or 6. The index.xhtml file was generated instead.

I am running Netbeans 7.1.1 with bundled Glassfish 3.1.2 on Windows XP platform.

Please let me know whether there is a step that I have missed, or not covered due to version differences.

Thanks,

Jack
Back to top
theshowmecanuck



Joined: 31 Jan 2010
Posts: 15

PostPosted: Tue May 01, 2012 4:07 am    Post subject: Reply with quote

I just ran the web project wizard and the first thing it created was a jsp file.

Couple, "is it plugged in" questions:
1) Did you create the project from the java web category, selecting web project?
2) If so, did you select a framework like java server faces? If so, that would be your problem. And I'm guessing that it is, because the web project without any added frameworks will generate the jsp file you are looking for. JSF and JSF based frameworks like prime faces and rich faces, etc. use xhtml files rather than jsp files.

You're only on step five and it doesn't look that complicated. Delete the project and create a new one, but make sure you don't select any frameworks like jsf or rich faces. If you're trying to learn the jsp stage right now, you likely aren't ready for those frameworks quite yet. JSF would be the next step.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo