project running on local server but got page not found error while accessing it from godaddy server

2009-08-24 Thread kalaimathi
Hi to all, I am new to this post, I created my project in struts 1.3.8 with hibernate 3.2 ,it works fine in my local server (ie) http://localhost:8080/Testing/ But the same project when i deployed in godaddy server ,jsp page is displaying but when i click on some action it leads to page not found

Struts Security

2009-08-24 Thread Kamlesh Koringa
I want to integrate Struts2 (2.1.6) with HDIV using SPI ( ProcessingParamter Integaration) define in link below. http://wiki.apache.org/struts/HDIV Is there any source or help avaliable for that. In this link there is integration for Struts 1.3.8. and web application is not downloaded properly giv

Re: project running on local server but got page not found error while accessing it from godaddy server

2009-08-24 Thread musomesa
I would get a copy of the Tomcat version you are targeting from http://archive.apache.org/dist/tomcat/tomcat-5/ and see if it runs. That would answer you question much faster than us guessing. Cheers. Chris -Original Message- From: kalaimathi To: user@struts.apache.org Sent

RE: project running on local server but got page not found error while accessing it from godaddy server

2009-08-24 Thread Martin Gainty
godaddy is "support for paying customers only" did you contact godaddy on this problem..what was their response ? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht de

JFreeChart Plugin result type and filename confusing Firefox

2009-08-24 Thread Security Management
My result is: chart png 640 480 This causes FF to show me the "save as" box to download a file, rather than an image.

Struts2SpringObjectFactory autowiring and injecting static property values when

2009-08-24 Thread Obinna
I'm using struts with the spring object factory I'm trying to package some struts configuration such that I can define some commonly reused actions in a base struts configuration file and extend in multiple projects. This means that my struts configuration will be generic but my spring configurati

Re: Intermittent Session Problems in Strut2.

2009-08-24 Thread pankaj semwal
Hi, I used SessionAware interface .Still i am facing the same problem.

Re: Intermittent Session Problems in Strut2.

2009-08-24 Thread Lukasz Lenart
2009/8/24 pankaj semwal : >  I used SessionAware interface .Still i am facing the same problem. It means, the problem is somewhere else. Without code is hard to guess Regards -- Lukasz http://www.lenart.org.pl/ http://dailylog.lenart.org.pl/

Re: Intermittent Session Problems in Strut2.

2009-08-24 Thread pankaj semwal
In my LoginAction i am setting the session as private boolean isUserExist() { Connection con = null; boolean result = false; // MD5Util MD5=new MD5Util(); try { con = ConnectionFactory.getConnection(); String sqlQ = "SELECT * FROM USER_MASTER WHERE LOGIN_ID=?"

Re: Docs around processing request parameters in intercepters

2009-08-24 Thread Wim De Smet
Hmm very maybe it could have something to do with the execute-and-wait interceptor then? regards, wim On Wed, Aug 19, 2009 at 6:17 PM, Musachy Barroso wrote: > that is very strange, that should never happen unless you call it from > another thread. > > musachy > > On Wed, Aug 19, 2009 at 1:39 AM,

Re: Intermittent Session Problems in Strut2.

2009-08-24 Thread musomesa
Where is the information that is being shared? Your problem might have nothing to do with authentication. Chris -Original Message- From: pankaj semwal To: Struts Users Mailing List Sent: Mon, Aug 24, 2009 10:15 am Subject: Re: Intermittent Session Problems in Strut2.

Re: Intermittent Session Problems in Strut2.

2009-08-24 Thread Dave Newton
pankaj semwal wrote: private boolean isUserExist() { Connection con = null; boolean result = false; try { con = ConnectionFactory.getConnection(); > String sqlQ = "SELECT * FROM USER_MASTER WHERE LOGIN_ID=?" + "AND PASSWORD=? AND ROLE=? AND S

RE: Struts Security

2009-08-24 Thread Martin Gainty
xwork supplies a ParameterFilterInterceptor i dont see any security considerations here for HDIV-SP1? could you explain which security features/functions would be provided by HDIV-SP1? would HDIV-SP1 be supported by either Freemarker or Velocity template languages? how would existing struts

Re: Struts2SpringObjectFactory autowiring and injecting static property values when

2009-08-24 Thread Musachy Barroso
I can't remember for sure but there are few flags in the spring plugin to configure autowiring. musachy On Mon, Aug 24, 2009 at 2:36 AM, Obinna wrote: > I'm using struts with the spring object factory > > I'm trying to package some struts configuration such that I can define some > commonly reuse

Re: Struts Security

2009-08-24 Thread Musachy Barroso
The answer to your questions is 42. What in the name of the Flying Spaghetti Monster are you talking about? It is not only that you add more questions that are not even related to the topic (FreeMarker, Velocity?). What is "HDIV-SP1"? not even google finds anything relevant about it. Then on top o

Re: Struts Security

2009-08-24 Thread Dave Newton
Musachy Barroso wrote: The answer to your questions is 42. What in the name of the Flying Spaghetti Monster are you talking about? Ramen. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional com

Re: Intermittent Session Problems in Strut2.

2009-08-24 Thread pankaj semwal
Intermittent session problems come when our application runs on proxy servers. Even i put the cache remove tags in jsp. Still same problem i am facing. Thanks

RE: Struts2SpringObjectFactory autowiring and injecting static property values when

2009-08-24 Thread Martin Gainty
take a look at the top of /WEB-INF/application-context.xml you should see default-autowire attribute as in static field inclusion if your spring configuration references http://www.springframework.org/schema/util/spring-util.xsd e.g. save this under http://localhost/schema/util/spring-util-er

Re: Struts2SpringObjectFactory autowiring and injecting static property values when

2009-08-24 Thread Musachy Barroso
You have to be kidding me. If it was up to me I would have banned you a long time ago, thank the other PMC members that are nicer than me. musachy On Mon, Aug 24, 2009 at 12:10 PM, Martin Gainty wrote: > > take a look at the top of /WEB-INF/application-context.xml you should see > default-autowi

S2: reading POST body w/in action

2009-08-24 Thread John Cartwright
Hello All, I'm trying to read the body of a POST, e.g. XML content, w/in an Action. Problem seems to be protecting it from the ParametersInterceptor so that the body of the request is not treated as key-value pairs. Can someone please help me with this? Thanks! --john ---

RE: S2: reading POST body w/in action

2009-08-24 Thread Martin Gainty
assuming this configuration in struts.xml true false good_result.ftl init params would populate parameters (Map) as in this example com.opensymphony.xwork2.interceptor.StaticParametersInterceptor @Override public String intercept(ActionInvocation invoc

Re: Anyone using the Ajaxtags with Struts 2

2009-08-24 Thread Zoran Avtarovski
Like you I thought I¹d give the ajax tags stuff a whirl in S2, but honestly Musachy is right. You¹re better off using a JS framework directly. That way you can get the control you need. Almost all of the them have some level of tree functionality and I¹ve given up recommending a particular framewor

Re: Struts Security

2009-08-24 Thread dusty
Hot Div Injection Vector - Service Pack 1 : a little know DHTML library used exclusively by porn link aggregator sites. I am surprised you didn't know that. and Martin, I am so busy that I only make it back here periodically, but it seems like everytime I do Musachy is giving you a beat down ab

how to check values of bean is modified in a form

2009-08-24 Thread damuchinni
Hi , is there any predefined method for checking whether bean value is modified with previous value. Please help me. need to know in which version it is available Thanks Dam -- View this message in context: http://www.nabble.com/how-to-check-values-of-bean-is-modified-in-a-form-tp25126457p2

Re: how to check values of bean is modified in a form

2009-08-24 Thread Chris Pratt
Normally, it's just easiest to update all the values and if they haven't changed, no harm, no foul. But if you need to, you can put a check in the parameter mutators of the action. Something like: private Bean bean; public void setName (String name) { if(!name.equals(bean.getName())) { be

Re: how to check values of bean is modified in a form

2009-08-24 Thread damuchinni
I appricate for ur suggestion, thanks a lot. but This type of approach will use only if a form have one or two parameters , but if ofrm have more than 20 parameters and like that there 20 to 30 forms then, it will become redendunt to write such check mehtods for every form parameters. so Pleas

Re: how to check values of bean is modified in a form

2009-08-24 Thread Chris Pratt
Which is why most of the time it just makes sense to update the values that are supplied. (*Chris*) On Mon, Aug 24, 2009 at 11:10 PM, damuchinni wrote: > > I appricate for ur suggestion, thanks a lot. > > but > > This type of approach will use only if a form have one or two parameters , > but