• Post Reply Bookmark Topic Watch Topic
  • New Topic

which function converts Jsp into servlets  RSS feed

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • 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
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • 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...
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66258
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • 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
Author and ninkuma
Marshal
Posts: 66258
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi Bibeault,
Thanks I have changed the name
Regards,
Helen
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66258
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
No probs I'll change
Regards,
Helen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!