• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

which function converts Jsp into servlets

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Heyy I would like to know which converts the jsp into servlet that
which function??.I need detail explanation regarding this.
can any one help me ???

Regards
Helen
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure what u mean... If you put the jsp_precompile in the request of the query string, your JSP will be compiled first without executing it... The location of the compiled code is server-specific... So you should refer to the server manual where to find the generated code...
 
Sheriff
Posts: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no one standard Java API for this. Each servlet container implements this process in whatever way they see fit.
Why do you ask?
hth,
bear
[ October 03, 2003: Message edited by: Bear Bibeault ]
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Iam new to this Question.But It is asked in an interview like this
Which function converts the Jsp file into servlets in the server ?
They asked me to say the specific function?
Regards,
Helen
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by tokyo Helen:
Iam new to this Question.But It is asked in an interview like this
Which function converts the Jsp file into servlets in the server ?
They asked me to say the specific function?
Regards,
Helen


hmm.. have no idea , the only thing was what Ko mentioned. in your url tab invoke your jsp using jsp_precompile as a parameter, and that will translate the jsp into a servlet without actually executing it..
if you find other answer let us know..
 
Bear Bibeault
Sheriff
Posts: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tokyo Helen,
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. And although your display name passes the format requirements, it fails in the 'obviously fictitious' department. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
Thanks!
bear
JSP Fourm Bartender
P.S. If you were asked this question in an interview either: it was a trick question, the interviewer was clueless, or perhaps they were asking about your knowledge of the inner workings of a specific container. Are you sure they asked about a function, and not perhaps an algorithm?
[ October 04, 2003: Message edited by: Bear Bibeault ]
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bibeault,
Thanks I have changed the name
Regards,
Helen
 
Bear Bibeault
Sheriff
Posts: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Helen, but please reread the policy. Your display name must be spearated by a space character. "Sangeetha Helen" for example.
thanks,
bear
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No probs I'll change
Regards,
Helen
 
I don't even know how to spell CIA. But this tiny ad does:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic