Ok change some settings, and my program run good. But it won't to displey image, even it is in the same folder and added like: <img src="duke.waving.gif"> But displeyed first page. But when I click Submit button occured error: HTTP Status 500 -
type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Neither BindingResult nor plain target object for bean name 'userCommand' available as request attribute root cause javax.servlet.jsp.JspTagException: Neither BindingResult nor plain target object for bean name 'userCommand' available as request attribute note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs. Sun GlassFish Enterprise Server v2.1 So I think that we can displey same tag like in list one page, because this response.jsp isn't tied to Controller. So I add been useCommand, but this is stupid because this is not usual bean. So what to do? Regards, Biljana --- On Tue, 6/16/09, Biljana Biljana <biljana_b...@yahoo.com> wrote: From: Biljana Biljana <biljana_b...@yahoo.com> Subject: [java ee programming] Re: homework in Spring MVC To: "J2EE Passion Group" <java-ee-j2ee-programming-with-passion@googlegroups.com> Date: Tuesday, June 16, 2009, 8:46 AM But when I run springMVCSimpleFormControll project my NetBean IDE run good. --- On Tue, 6/16/09, Biljana Biljana <biljana_b...@yahoo.com> wrote: From: Biljana Biljana <biljana_b...@yahoo.com> Subject: [java ee programming] homework in Spring MVC To: "J2EE Passion Group" <java-ee-j2ee-programming-with-passion@googlegroups.com> Date: Tuesday, June 16, 2009, 8:00 AM Hello! I rewrite hello1-homework, but when I run it I got this message: HTTP Status 404 - type Status report message descriptionThe requested resource () is not available. Sun GlassFish Enterprise Server v2.1 In server Glass Fish V2 was written: While redeploying, trying to stop the application in target server completed successfully While redeploying, trying to remove reference for application in target server completed successfully deployment started : 0% deployment finished : 100% Deploying application in domain completed successfully Trying to create reference for application in target server completed successfully Trying to start application in target server completed successfully Error occurred during application loading phase. The application will not run properly. Please fix your application and redeploy. WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. Enable of hello1-homework in target server completed successfully Enable of application in all targets completed successfully All operations completed successfully run-deploy: Browsing: http://localhost:8080/hello1-homework/ run-display-browser: run: BUILD SUCCESSFUL (total time: 1 minute 17 seconds) But first I have problem with gass fish so I reinstal the NetBean IDE, while I instaled occered problem with create default domain for Glass fish V2 ...because some file can only read. But when I start Glass Fish project run succesfuly but with that error message. What to do? What to do? Regards, Biljana --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---