I am new to SmartClient. I am carefully going thru QuickStart Guide. I am unable to open helloworld.jsp and helloworldXML.jsp as per the instructions given in the guide. It says
“The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: File “/examples/isomorphic” not found”.
WHat is the problem with my approach. Should I have to include or copy any configuration files? Please help me.
I have started embedded server successfully and I am able to run sample application and references. But when I try to open hellowolrd.jsp stored by me in the examples directory, It displays the error. What should I do now?
What exactly are you referring to be “open helloworld.jsp” and where exactly are you seeing this error message?
If you are accessing helloworld.jsp as hosted by the embedded server included with the SmartClient SDK, via your web browser at eg http://localhost:8080/templates/helloworld.jsp, there’s really no way it could fail while other files are working.
But if you are referring to double-clicking it in eg Windows Explorer, some other application you have installed on your computer may be trying to open it and process it in some way, and failing, and SmartClient has no control over this.
I followed the quick start guide. In it, the first example is the helloworldXML.jsp and helloworld.jsp, both of them are stored in examples/ directory, as instructed in the guide. When I try to open these jsp files, thru my web browser using the URL, http://localhost:8080/examples/helloworld.jsp (as given in quick start guide), it displays the error message.
What is the mistake I have done? How to rectify it? Should I have to include it in somewhere else? Kindly reply at the earliest, so that I can proceed learning further.
The instructions in the QuickStart actually tell you to create examples/helloworld.jsp based on sample code in the QuickStart Guide (or based on copies in the isomorphicSDK/templates directory). An incorrect copy and paste of the QuickStart Guide code could produce this error.
Try double-checking the exact file contents, or just copy the version from the templates directory.
Could Not Open helloworld.jsp or helloworldXML.jsp
While the under smartclientSDK/templates we only have html version of the example , it does not contain the jsps listed in the subject. The html version is fine but when the jsp is tried with http://host:8080/examples/helloworld.jsp or helloworldXML.jsp the exception is thrown. Where is the context “examples” configured so that the URL will work to display the jsp? There is no problem with the code mentioned in the guide.
Would request the administrator to provide clear information as to what is wrong.
You’re referring to several things at once and it’s not clear what you’ve done…
The instructions in the QuickStart guide regarding helloworld.jsp do not apply to SmartClient LGPL, which does not include the SmartClient Server functionality.
If you have downloaded the commercial evaluation, templates/helloworld.jsp and the code given in the QuickStart Guide will both work in any directory in the SDK.