File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Servlet call JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Servlet call JSP" Watch "Servlet call JSP" New topic
Author

Servlet call JSP

Nalla Balu
Greenhorn

Joined: Aug 15, 2007
Posts: 13
executing the final version of servlet to call the JSP in HFSJ, showing these errors, need some Help ?


Thanks
khushhal yadav
Ranch Hand

Joined: Jun 20, 2007
Posts: 242

Nalla

Where is your code?
Nothing can be predicted from these errors.
Utill we don't have a look on your sorce code.

Regards,
Khushhal


rgrds,
Khushhal
khushhal yadav
Ranch Hand

Joined: Jun 20, 2007
Posts: 242

Just a minute Nalla..

I think, you don't have the EL (Expression Language) jars in your classpath. Isn't it?

Regards,
Khushhal
Nalla Balu
Greenhorn

Joined: Aug 15, 2007
Posts: 13
Servlet:


JSP:
HTML:
web.xml:

thanks kushal
khushhal yadav
Ranch Hand

Joined: Jun 20, 2007
Posts: 242

Nalla

Add el-api.jar and el-impl.jar to your classpath..

It should work..

Regards,
Khushhal
Nalla Balu
Greenhorn

Joined: Aug 15, 2007
Posts: 13
Kushal,

i copied servlet-api.jar and jsp-api.jar in to C:\apache-tomcat-6.0.13\lib
do i need to copy any onther jar for this to execute
thanks
khushhal yadav
Ranch Hand

Joined: Jun 20, 2007
Posts: 242

Nalla

Add el-api.jar and el-impl.jar to your classpath..


At least el-api.jar. And see, whether it works..

Regards,
Khushhal
khushhal yadav
Ranch Hand

Joined: Jun 20, 2007
Posts: 242

Nalla,

You have to specify them in your system as Enviroment user variable CLASSPATH.
Don't have to copy them to C:\apache-tomcat-6.0.13\lib.
They will be already at that location.

Regards,
Khushhal
Nalla Balu
Greenhorn

Joined: Aug 15, 2007
Posts: 13
Kushal,

you are helping me lot by teaching new things practically
much thanks
khushhal yadav
Ranch Hand

Joined: Jun 20, 2007
Posts: 242

Nalla

Is your application running, now?

Regards,
Khushhal
Nalla Balu
Greenhorn

Joined: Aug 15, 2007
Posts: 13
perfectly fine , i am moving to next chapter

thanks kushal
khushhal yadav
Ranch Hand

Joined: Jun 20, 2007
Posts: 242

Best of Luck for your SCWCD preparation
Study well and score well.
And always do well.

Regards,
Khushhal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet call JSP
 
Similar Threads
Calling JSP from Servlet problem
Tomcat Error
Run error Jsf Exception initializing page context
getting an internal error () that prevented it from fulfilling this request
getting an internal error () that prevented it from fulfilling this request