Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Frans Thamura
can

u just change the result to velocity, chart, jasper, json, xml ;)


On Tue, Dec 8, 2009 at 7:08 PM, Shital Patil shitalpati...@yahoo.comwrote:

 Dear All,

 I want to develop web application in struts2 framework but without jsp
 pages.
 We are going to use HTML template engine for view.
 Is it possible to develop web application in struts2 without jsp pages?
 Is this a good idea?


 Regards,
 Shital


  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
 http://in.yahoo.com/


Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Saeed Iqbal
You can easily have html extension for your web page and use sitemesh for
templating

On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil shitalpati...@yahoo.comwrote:

 Dear All,

 I want to develop web application in struts2 framework but without jsp
 pages.
 We are going to use HTML template engine for view.
 Is it possible to develop web application in struts2 without jsp pages?
 Is this a good idea?


 Regards,
 Shital


  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
 http://in.yahoo.com/




-- 
Saeed Iqbal
Independant Consultant
J2EE - Application Architect / Developer


Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Halil Ağın
html+freemarker+json

On Tue, Dec 8, 2009 at 2:12 PM, Saeed Iqbal saee...@gmail.com wrote:

 You can easily have html extension for your web page and use sitemesh for
 templating

 On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil shitalpati...@yahoo.com
 wrote:

   Dear All,
 
  I want to develop web application in struts2 framework but without jsp
  pages.
  We are going to use HTML template engine for view.
  Is it possible to develop web application in struts2 without jsp pages?
  Is this a good idea?
 
 
  Regards,
  Shital
 
 
   The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
  http://in.yahoo.com/




 --
 Saeed Iqbal
 Independant Consultant
 J2EE - Application Architect / Developer



Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Shital Patil
Dear All,

Thanks for your valuable suggestions. 
Actually I am failed to convince my PM for using JSP pages in web app.
He said, there are some serious problems with JSP. 
e.g JSP = presentation + code. 
A JSP developer can easily read some imp file on disk say, /etc/passwd, and
throw it to the client. How to avoid this problem? 


Regards,
Shital

--- On Tue, 8/12/09, Halil Ağın halil.a...@gmail.com wrote:

From: Halil Ağın halil.a...@gmail.com
Subject: Re: struts2 web app without jsp pages, is it possible?
To: Struts Users Mailing List user@struts.apache.org
Date: Tuesday, 8 December, 2009, 12:56 PM

html+freemarker+json

On Tue, Dec 8, 2009 at 2:12 PM, Saeed Iqbal saee...@gmail.com wrote:

 You can easily have html extension for your web page and use sitemesh for
 templating

 On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil shitalpati...@yahoo.com
 wrote:

   Dear All,
 
  I want to develop web application in struts2 framework but without jsp
  pages.
  We are going to use HTML template engine for view.
  Is it possible to develop web application in struts2 without jsp pages?
  Is this a good idea?
 
 
  Regards,
  Shital
 
 
       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
  http://in.yahoo.com/




 --
 Saeed Iqbal
 Independant Consultant
 J2EE - Application Architect / Developer




  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Saeed Iqbal
Tell us what type of app you are making

On Tuesday, December 8, 2009, Shital Patil shitalpati...@yahoo.com wrote:
 Dear All,

 Thanks for your valuable suggestions.
 Actually I am failed to convince my PM for using JSP pages in web app.
 He said, there are some serious problems with JSP.
 e.g JSP = presentation + code.
 A JSP developer can easily read some imp file on disk say, /etc/passwd, and
 throw it to the client. How to avoid this problem?


 Regards,
 Shital

 --- On Tue, 8/12/09, Halil Ağın halil.a...@gmail.com wrote:

 From: Halil Ağın halil.a...@gmail.com
 Subject: Re: struts2 web app without jsp pages, is it possible?
 To: Struts Users Mailing List user@struts.apache.org
 Date: Tuesday, 8 December, 2009, 12:56 PM

 html+freemarker+json

 On Tue, Dec 8, 2009 at 2:12 PM, Saeed Iqbal saee...@gmail.com wrote:

 You can easily have html extension for your web page and use sitemesh for
 templating

 On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil shitalpati...@yahoo.com
 wrote:

   Dear All,
 
  I want to develop web application in struts2 framework but without jsp
  pages.
  We are going to use HTML template engine for view.
  Is it possible to develop web application in struts2 without jsp pages?
  Is this a good idea?
 
 
  Regards,
  Shital
 
 
       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
  http://in.yahoo.com/




 --
 Saeed Iqbal
 Independant Consultant
 J2EE - Application Architect / Developer




       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
 http://in.yahoo.com/

-- 
Saeed Iqbal
Independant Consultant
J2EE - Application Architect / Developer

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread stanlick
The same argument could be made by generating your web pages in Java code!
The MVC has been around for probably as long as you have been alive.  JSP
developers as you put it, should be coding presentation and *not* disk
access!  Code reviews, and/or source code inspections would identify a rogue
developer doing stupid things in a web page.

Peace,
Scott

On Tue, Dec 8, 2009 at 8:21 AM, Shital Patil shitalpati...@yahoo.comwrote:

 Dear All,

 Thanks for your valuable suggestions.
 Actually I am failed to convince my PM for using JSP pages in web app.
 He said, there are some serious problems with JSP.
 e.g JSP = presentation + code.
 A JSP developer can easily read some imp file on disk say, /etc/passwd, and
 throw it to the client. How to avoid this problem?


 Regards,
 Shital

 --- On Tue, 8/12/09, Halil Ağın halil.a...@gmail.com wrote:

 From: Halil Ağın halil.a...@gmail.com
 Subject: Re: struts2 web app without jsp pages, is it possible?
 To: Struts Users Mailing List user@struts.apache.org
 Date: Tuesday, 8 December, 2009, 12:56 PM

 html+freemarker+json

 On Tue, Dec 8, 2009 at 2:12 PM, Saeed Iqbal saee...@gmail.com wrote:

  You can easily have html extension for your web page and use sitemesh for
  templating
 
  On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil shitalpati...@yahoo.com
  wrote:
 
Dear All,
  
   I want to develop web application in struts2 framework but without jsp
   pages.
   We are going to use HTML template engine for view.
   Is it possible to develop web application in struts2 without jsp pages?
   Is this a good idea?
  
  
   Regards,
   Shital
  
  
The INTERNET now has a personality. YOURS! See your Yahoo!
 Homepage.
   http://in.yahoo.com/
 
 
 
 
  --
  Saeed Iqbal
  Independant Consultant
  J2EE - Application Architect / Developer
 



  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
 http://in.yahoo.com/



Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Nils-Helge Garli Hegvik
The developer could still read the same files in the struts action.
What's the difference?

Nils-H

On Tue, Dec 8, 2009 at 3:21 PM, Shital Patil shitalpati...@yahoo.com wrote:
 Dear All,

 Thanks for your valuable suggestions.
 Actually I am failed to convince my PM for using JSP pages in web app.
 He said, there are some serious problems with JSP.
 e.g JSP = presentation + code.
 A JSP developer can easily read some imp file on disk say, /etc/passwd, and
 throw it to the client. How to avoid this problem?


 Regards,
 Shital

 --- On Tue, 8/12/09, Halil Ağın halil.a...@gmail.com wrote:

 From: Halil Ağın halil.a...@gmail.com
 Subject: Re: struts2 web app without jsp pages, is it possible?
 To: Struts Users Mailing List user@struts.apache.org
 Date: Tuesday, 8 December, 2009, 12:56 PM

 html+freemarker+json

 On Tue, Dec 8, 2009 at 2:12 PM, Saeed Iqbal saee...@gmail.com wrote:

 You can easily have html extension for your web page and use sitemesh for
 templating

 On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil shitalpati...@yahoo.com
 wrote:

   Dear All,
 
  I want to develop web application in struts2 framework but without jsp
  pages.
  We are going to use HTML template engine for view.
  Is it possible to develop web application in struts2 without jsp pages?
  Is this a good idea?
 
 
  Regards,
  Shital
 
 
       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
  http://in.yahoo.com/




 --
 Saeed Iqbal
 Independant Consultant
 J2EE - Application Architect / Developer




      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
 http://in.yahoo.com/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Greg Lindholm
You can disable scripting in JSP by adding this to your web.xml file

jsp-config
jsp-property-group
url-pattern*.jsp/url-pattern
scripting-invalidtrue/scripting-invalid
/jsp-property-group
/jsp-config

Also see: http://java.sun.com/javaee/5/docs/tutorial/doc/bnaoq.html

On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil shitalpati...@yahoo.com wrote:
 Dear All,

 Thanks for your valuable suggestions.
 Actually I am failed to convince my PM for using JSP pages in web app.
 He said, there are some serious problems with JSP.
 e.g JSP = presentation + code.
 A JSP developer can easily read some imp file on disk say, /etc/passwd, and
 throw it to the client. How to avoid this problem?


 Regards,
 Shital

 --- On Tue, 8/12/09, Halil Ağın halil.a...@gmail.com wrote:

 From: Halil Ağın halil.a...@gmail.com
 Subject: Re: struts2 web app without jsp pages, is it possible?
 To: Struts Users Mailing List user@struts.apache.org
 Date: Tuesday, 8 December, 2009, 12:56 PM

 html+freemarker+json

 On Tue, Dec 8, 2009 at 2:12 PM, Saeed Iqbal saee...@gmail.com wrote:

 You can easily have html extension for your web page and use sitemesh for
 templating

 On Tue, Dec 8, 2009 at 5:08 PM, Shital Patil shitalpati...@yahoo.com
 wrote:

   Dear All,
 
  I want to develop web application in struts2 framework but without jsp
  pages.
  We are going to use HTML template engine for view.
  Is it possible to develop web application in struts2 without jsp pages?
  Is this a good idea?
 
 
  Regards,
  Shital
 
 
       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
  http://in.yahoo.com/




 --
 Saeed Iqbal
 Independant Consultant
 J2EE - Application Architect / Developer




      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
 http://in.yahoo.com/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Wes Wannemacher
On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil shitalpati...@yahoo.com wrote:
 Dear All,

 Thanks for your valuable suggestions.
 Actually I am failed to convince my PM for using JSP pages in web app.
 He said, there are some serious problems with JSP.
 e.g JSP = presentation + code.
 A JSP developer can easily read some imp file on disk say, /etc/passwd, and
 throw it to the client. How to avoid this problem?



Fire the PM?

Honestly, that is an ignorant stance against JSP. I could make the
same argument against just about any programming construct. If you are
worried that developers might actually have access to libraries and
resources, then take away their computers and tell them to write their
software on paper and submit them to someone more trustworthy...

-Wes


-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Musachy Barroso
 Fire the PM?

you beat me to it :)

On Tue, Dec 8, 2009 at 6:34 AM, Wes Wannemacher w...@wantii.com wrote:
 On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil shitalpati...@yahoo.com wrote:
 Dear All,

 Thanks for your valuable suggestions.
 Actually I am failed to convince my PM for using JSP pages in web app.
 He said, there are some serious problems with JSP.
 e.g JSP = presentation + code.
 A JSP developer can easily read some imp file on disk say, /etc/passwd, and
 throw it to the client. How to avoid this problem?



 Fire the PM?

 Honestly, that is an ignorant stance against JSP. I could make the
 same argument against just about any programming construct. If you are
 worried that developers might actually have access to libraries and
 resources, then take away their computers and tell them to write their
 software on paper and submit them to someone more trustworthy...

 -Wes


 --
 Wes Wannemacher

 Head Engineer, WanTii, Inc.
 Need Training? Struts, Spring, Maven, Tomcat...
 Ask me for a quote!

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Shital Patil
Dear All,

You all are correct. Let's close the discussion. :-)
I'll convince my guys to use jsps. 

Thanks and Regards,
Shital

--- On Tue, 8/12/09, Musachy Barroso musa...@gmail.com wrote:

From: Musachy Barroso musa...@gmail.com
Subject: Re: struts2 web app without jsp pages, is it possible?
To: Struts Users Mailing List user@struts.apache.org
Date: Tuesday, 8 December, 2009, 5:19 PM

 Fire the PM?

you beat me to it :)

On Tue, Dec 8, 2009 at 6:34 AM, Wes Wannemacher w...@wantii.com wrote:
 On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil shitalpati...@yahoo.com wrote:
 Dear All,

 Thanks for your valuable suggestions.
 Actually I am failed to convince my PM for using JSP pages in web app.
 He said, there are some serious problems with JSP.
 e.g JSP = presentation + code.
 A JSP developer can easily read some imp file on disk say, /etc/passwd, and
 throw it to the client. How to avoid this problem?



 Fire the PM?

 Honestly, that is an ignorant stance against JSP. I could make the
 same argument against just about any programming construct. If you are
 worried that developers might actually have access to libraries and
 resources, then take away their computers and tell them to write their
 software on paper and submit them to someone more trustworthy...

 -Wes


 --
 Wes Wannemacher

 Head Engineer, WanTii, Inc.
 Need Training? Struts, Spring, Maven, Tomcat...
 Ask me for a quote!

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Re: struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Greg Lindholm
Just to ensure the point is understood

JSP is not always the right choice and you can easily use Velocity,
Freemarker, etc. instead.

But not wanting to use JSP because the programmers/web designers can
do something bad with it is simply nonsense.

On Tue, Dec 8, 2009 at 11:03 PM, Shital Patil shitalpati...@yahoo.com wrote:
 Dear All,

 You all are correct. Let's close the discussion. :-)
 I'll convince my guys to use jsps.

 Thanks and Regards,
 Shital


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org