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

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 wrote: From: Musachy Barroso Subject: Re: struts2 web app without jsp pages, is it possible? To: "Struts Users Mailing List" Date

Re: [Struts 2 + EJB 3] injection of EJBs into struts 2 actions

2009-12-08 Thread irene zeller sancho
I use Jboss, EJB3.0 and google guice and works fine. I didn't modify anything... 2009/12/7 Ignacio de Córdoba > > Which appserver are you using? > I use JBoss for struts2 plugin. I hace to modifyit as it didn't support > JBoss 5 naming conventions (at least for me) and it only looked for > anno

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 wrote: > On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil 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 a

Re: Struts HTML taglib vs. Standard HTML tags

2009-12-08 Thread Dan Vargas
Nothing else from the html taglib, that is. Like I said, it's not just that the html taglib tags do not render, it's that when I do use them, the rest of the previously functioning html and jsp no longer get rendered either, and that's my real concern, because I feel that might have something to do

Re: Struts HTML taglib vs. Standard HTML tags

2009-12-08 Thread Dan Vargas
This is where the uris are defined as such, I've ruled out that as the problem. The uris work on every other page on the same project as well, and my page is successfully rendering the tag, just nothing else. /taglib/struts-bean /WEB-INF/taglib/struts-bean.tld

Re: SQL ExcuteQuery

2009-12-08 Thread musomesa
Your trouble is here: pstmtname = conn.prepareStatement(sql); sql = "UPDATE tbl_content_admin_accounts SET CA_PASSWORD = ? WHERE ROW_ID = " + UserID; When you call prepareStatement(sql) the sql string is sent to the database which "prepares" it (essentially does all the steps neccessary b

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 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

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 true Also see: http://java.sun.com/javaee/5/docs/tutorial/doc/bnaoq.html On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil wr

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 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 ar

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

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 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 +

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 cl

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 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 >wrote: > > > Dear All, > > > > I want to develop web application in struts2 framewo

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 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 pos

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 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 deve

struts2 web app without jsp pages, is it possible?

2009-12-08 Thread Shital Patil
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. YOU