Re[2]: *.jsp "back door" issue

2000-11-14 Thread Oleg V Alexeev
Hello David, Tuesday, November 14, 2000, 11:19:40 PM, you wrote: DG> Joel Schneider wrote: >> However, it's also possible for users to directly request a .jsp page. >> When this happens, the JSP container (in my case, Orion) will process the >> .jsp page without any involvement by the ActionSer

Re: *.jsp "back door" issue

2000-11-14 Thread Robert Leland
> ActionServlet and added code to set a request attribute named > "ActionServlet": > > private static final Boolean boolTrue = new Boolean(true); > ... > request.setAttribute("ActionServlet", boolTrue); > I submitted some code back in about Oct 10 to struts-dev that would prevent th

RE: struts form tag and submit()

2000-11-14 Thread Malcolm Ferguson
try: document.forms..submit(); > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 14, 2000 4:24 PM > To: [EMAIL PROTECTED] > Subject: Re: struts form tag and submit() > > > This is browser specific. In IE 5.x I'm using > document.all..

Re: Templating Mechanism

2000-11-14 Thread Craig R. McClanahan
Both the enhanced template tag and the components approach sound quite interesting to me.  I'll be evaluating them soon and adding code to 1.0 appropriately. Craig McClanahan   Cedric Dumoulin wrote:     You can also have a look to my Components proposal, which can be seen as an extended version

Re: struts form tag and submit()

2000-11-14 Thread danail . grigorov
This is browser specific. In IE 5.x I'm using document.all..submit() I think in NS 4 is different, and in NS 6 is different from both the other ways. Check JavaScript newsgroups/sites about this. Danail Grigorov - Original Message - From: "Phillips, George H." <[EMAIL PROTECTED]> To: <[

RE: *.jsp "back door" issue

2000-11-14 Thread Colin Sampaleanu
> -Original Message- > From: David Geary [mailto:[EMAIL PROTECTED]] > Sent: November 14, 2000 3:20 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: *.jsp "back door" issue > > Joel Schneider wrote: > > > Description of Problem: > > > > A typical Struts based web site mig

Re: *.jsp "back door" issue

2000-11-14 Thread Joel Schneider
On Tue, 14 Nov 2000, David Geary wrote: > Joel Schneider wrote: > > > Description of Problem: > > > > A typical Struts based web site might be configured to have requests > > matching the pattern"*.do" sent to the ActionServlet. After a request is > > handled by its Action class, processing is

struts form tag and submit()

2000-11-14 Thread Phillips, George H.
Hi, Can someone confirm or deny for me whether or not I should be able to submit a form built by a struts form tag using a javascript document.formname.submit() command? It *looks* like it ought to work, but the attempt gives me a browser error saying "object doesn't support this property or meth

Re: *.jsp "back door" issue

2000-11-14 Thread David Geary
Joel Schneider wrote: > Description of Problem: > > A typical Struts based web site might be configured to have requests > matching the pattern"*.do" sent to the ActionServlet. After a request is > handled by its Action class, processing is typically forwarded to a .jsp > page. > > However, it's

*.jsp "back door" issue

2000-11-14 Thread Joel Schneider
Description of Problem: A typical Struts based web site might be configured to have requests matching the pattern"*.do" sent to the ActionServlet. After a request is handled by its Action class, processing is typically forwarded to a .jsp page. However, it's also possible for users to directly

Architecture question: Beans and application-level resources

2000-11-14 Thread Lee Burgess
Malcolm Ferguson writes: > Hi all, I'm fairly new to Servlets/JSP/Struts and I'm trying to set up a > basic generic framework that I can use to build webapps on. The MVC pattern > makes a lot of sense to me and Struts seems to be a very well thought out > implementation, but I have a questio

Re: Architecture question: Beans and application-level resources

2000-11-14 Thread Bill Pfeiffer
I can think of 3 arhcitectual choices here: 1. Use the architecture set up for the action classes, which provides the request, and get the ServletContext. If you've stored your connection pool info here, you can get at it. Downside is, you mix you business logic with your action classes knowle

Architecture question: Beans and application-level resources

2000-11-14 Thread Malcolm Ferguson
Hi all, I'm fairly new to Servlets/JSP/Struts and I'm trying to set up a basic generic framework that I can use to build webapps on. The MVC pattern makes a lot of sense to me and Struts seems to be a very well thought out implementation, but I have a question regarding application architecture.

Re: Get the whole picture of Struts

2000-11-14 Thread Bill Pfeiffer
Actually I did the entire struts lib, not just the action package! - Original Message - From: "Bill Pfeiffer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 14, 2000 11:31 AM Subject: Re: Get the whole picture of Struts > I've reverse engineered the action package of

Re: Get the whole picture of Struts

2000-11-14 Thread Bill Pfeiffer
I've reverse engineered the action package of the struts in TogetherJ and generated the docs. You can get it at my web site: http://home1.gte.net/pfeiffer/struts-docs/struts-docs.zip It does require some form of java on the browser. It works in both netscape 4.x and IE 5.x. Bill Pfeiffer ---

Dynamic Bean Class Name

2000-11-14 Thread Kevin Gibbs
I'm looking for a way of defining the class names for beans which are used within a particular action. Ideally, I was hoping of defining the names by setting attributes for the action within the action.xml file e.g. beanClassName="some.company.someBeanClassName". Then, I would have extended Action

RE: Get the whole picture of Struts

2000-11-14 Thread Houghton,Neil
Try TogetherSoft's TogetherJ - this is much better than Rose for this sort of thing. I think you can download a trial version at their website which should have enough functionality enabled to allow you to do this (although I think printing is disabled). http://www.togethersoft.com/ Neil Hought

RE: Get the whole picture of Struts

2000-11-14 Thread McKisson, Shawn
Title: RE: Get the whole picture of Struts Sorry, I thought that I had turned HTML off... --shawn -Original Message- From: McKisson, Shawn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 6:59 AM To: '[EMAIL PROTECTED]' Subject: RE: Get the whole picture of Struts I too

RE: Get the whole picture of Struts

2000-11-14 Thread McKisson, Shawn
Title: RE: Get the whole picture of Struts I too would be interested in seeing what Johnny is looking for. If anyone manages to create/find something, please post your work here. Thanks! --shawn -Original Message- From: Johnny Yu [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13,

Error 500 with "No action instance for path could be crated" message

2000-11-14 Thread Oleg V Alexeev
Hello struts-user, I fill form with values and try to submit it to the ActionServlet. But I have Error 500 in browser and anything else. And in tomcat console I can view next message - 2000-11-14 03:14:02 - Ctx( /rusbiz ): 500 R( /rusbiz + /news.do + null) No action instance for path /news c

RE: Another Locale problem

2000-11-14 Thread Kok, Arjan
Hello, What version of struts do you use? If you use the 0.5 version of struts, you have to store the locale key in your session, like this "<% if (session.getAttribute(Action.LOCALE_KEY) == null) session.setAttribute(Action.LOCALE_KEY, request.getLocale()); %>" This worked fine for me.