?
Solved

servlets

Posted on 2005-03-18
13
Medium Priority
?
463 Views
Last Modified: 2013-11-24
If you are writing a servlet container, how do you handle .jsp files.  Also you should be able to compile and run them automatically.
0
Comment
Question by:Jaysri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 2
13 Comments
 
LVL 92

Expert Comment

by:objects
ID: 13579071
you need to parse them, generate the appropriate servlet code, then compile and execute it.
0
 
LVL 92

Expert Comment

by:objects
ID: 13579076
you could also cache the servlet class files, to save recompiling everytime.
0
 

Author Comment

by:Jaysri
ID: 13579092
sounds acceptable..is that all there is to it? any details?
0
Basic Security of Your VPC

So, you’ve got this shiny new VPC and a fancy new application configured on your EC2 servers ready to go. This application is only accessible from your computer, which is great for security, but you need your users to be able to access it! So, what’s the easiest way to do this?

 
LVL 86

Expert Comment

by:CEHJ
ID: 13579109
I think this may contain a JSP parser:

http://java.sun.com/webservices/jwsdp/index.jsp
0
 
LVL 92

Expert Comment

by:objects
ID: 13579112
you could have the look at the source code for any open source jsp container
0
 
LVL 92

Expert Comment

by:objects
ID: 13579119
> I think this may contain a JSP parser:

where?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 13579130
From http://www.webdevelopersjournal.com/articles/jsp_build.html

"The Sun Microsystems Java Server Web Development Kit (JSWDK) available from http://java.sun.com contains all you need to start developing JSPs and servlets, including a JSP parser and a simple HTTP server"

I assume this is now what the JSWDK is being called
0
 

Author Comment

by:Jaysri
ID: 13579132
i am trying to look at a jsp container source code as you suggested, objects.
0
 
LVL 92

Expert Comment

by:objects
ID: 13579136
tomcat would be the obvious one to look at.
0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 13579169
0
 

Author Comment

by:Jaysri
ID: 13579192
thats a very good link, objects. lot of info there. just me just waits for more ideas (from u) before i give u the pts..
0
 

Author Comment

by:Jaysri
ID: 13579220
Thankyou very much, objects. i got my answer.
0
 
LVL 92

Expert Comment

by:objects
ID: 13579352
no worries :)
0

Featured Post

Application Discovery Service in AWS

In the era of the cloud, customers migrating away from their existing on-premise infrastructure. This requires lots of planning, strategies, and effort to identify their existing resources and determine how best to migrate.  Datacenter migrations happen in four phases -

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month8 days, 21 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question