• 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

j2ee environment in sun server

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i am using Sun Application Server 8.2 I Opened the command prompt and set the path to jdk 1.5\bin\ . I used to list fields and methods of classes of core java by javap java.lang.String and so on....

but when i type javap javax.servlet.http.HttpServlet it shows error.

what environment i have to set to know about the class in servlet ,jsp etc.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you trying to do? That class is unlikely to contain much (or anything) that's of value to you.

As an aside, the classes you want javap to work with need to be in its classpath. Type "javap -help" to have it show its options.
 
joseph prabhu
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by joseph prabhu:
hi i am using Sun Application Server 8.2 I Opened the command prompt and set the path to jdk 1.5\bin\ . I used to list fields and methods of classes of core java by javap java.lang.String and so on....

but when i type javap javax.servlet.http.HttpServlet it shows error.

what environment i have to set to know about the class in servlet ,jsp etc.




hi
you did not understand my question.

first i set the path to java compiler by the command


then i typed

it shows all the method declaration and fields in String class.

i start my sun Application Server 8.2

then i typed javap

it shows error.

i want list of methods present in the interface HttpServletRequest
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That means that that class is not in your classpath. By default, only the JSE classes are in your classpath, all other ones (like the JEE classes) need to be added especially.
 
joseph prabhu
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ulf Dittmer:
That means that that class is not in your classpath. By default, only the JSE classes are in your classpath, all other ones (like the JEE classes) need to be added especially.



for which path i have to set the classpath.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic