• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

unable to compile class for jsp

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i can't seem to post a reply for that topic. anyway, this was my problem

i have a standalone application which works just fine.
but when i use the standalone application in my jsp, it generates this error.

what could be wrong?

C:\Apache Group\Tomcat 4.1\work\Standalone\localhost\web service daw\login_jsp.java:84: cannot resolve symbol
symbol : variable XMLUtils
location: class org.apache.jsp.login_jsp
XMLUtils.ElementToStream((Element) value, System.out);

thanks in advance

at the top of my jsp, i already imported the class needed
and this is how it looks



this works fine in my main as a bean
but generates an error in my jsp
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like your original thread was moved to the JSP forum. I think that's the best place to continue this discussion.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the library for this class accessible by the web app ?
I mean, is it in the CLASSPATH ?
Did you put all the necessary libraries in your WEB-INF/lib ?
 
Bernard Sigmund Gustav
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
so how do i move this to the jsp forum?

anyway, the bean/class for this is in web-inf/classes, which works just fine.

my jsp is the problem. i have imported a lot of classes but just this xml thing is the problem
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by shuini gustav:
so how do i move this to the jsp forum?


Only moderators can move threads to another forum. If you want to continue this discussion with your original thread, then you should be able to post a reply directly to the thread that was already moved to the JSP forum. Otherwise, you might want to start a new thread there.

Layne
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic