File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet call JSP

 
Nalla Balu
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
executing the final version of servlet to call the JSP in HFSJ, showing these errors, need some Help ?


Thanks
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet:


JSP:
HTML:
web.xml:

thanks kushal
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nalla

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

It should work..

Regards,
Khushhal
 
Nalla Balu
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 242
Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 242
Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kushal,

you are helping me lot by teaching new things practically
much thanks
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nalla

Is your application running, now?

Regards,
Khushhal
 
Nalla Balu
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
perfectly fine , i am moving to next chapter

thanks kushal
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best of Luck for your SCWCD preparation
Study well and score well.
And always do well.

Regards,
Khushhal
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic