struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seyhan BASMACI (Internet Yazilimlari Yetkilisi)" <sbasm...@teb.com.tr>
Subject RE: calls each method twice , logging everthing twice?
Date Thu, 18 Sep 2003 07:29:37 GMT
also struts log following message 

error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null,
null, null, null, null, null, null
1 error


-----Original Message-----
From: Andrew Hill [mailto:andrew.david.hill@gridnode.com]
Sent: Thursday, September 18, 2003 9:45 AM
To: Struts Users Mailing List
Subject: RE: calls each method twice , logging everthing twice?


It looks as though the browser is sending two requests for the page.

Not familiar with tiles so am not sure about the exception your getting
though.

-----Original Message-----
From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
[mailto:sbasmaci@teb.com.tr]
Sent: Thursday, 18 September 2003 14:26
To: Struts Users Mailing List
Subject: calls each method twice , logging everthing twice?


hi,
we are using jdeveloper as ide , and struts as framework ,,
I dont know when it is started but in debug mode it calls each method twice
(calls action class execute method twice ) and struts gives followig message
after calling my first action class (loginAction)  ,,
it seccessfull execute and fiinds mapping for the login,,
but gives the following message while sending response to the client,
is there anybody encountered with this problem ?

here is the STRUTS log info, as you can see it does processActionForward
twice

[INFO] RequestProcessor - -Processing a 'POST' for path '/Login'
[INFO] RequestProcessor - -Processing a 'POST' for path '/Login'
processActionForward(/pages/bireysel/common/welcome.jsp, false)
processActionForward(/pages/bireysel/common/welcome.jsp, false)


ERROR on the browser:

java.lang.NullPointerException
	org.apache.struts.tiles.ComponentDefinition
org.apache.struts.tiles.xmlDefinition.FactorySet.getDefinition(java.lang.Str
ing, javax.servlet.ServletRequest, javax.servlet.ServletContext)
		FactorySet.java:156
	org.apache.struts.tiles.ComponentDefinition
org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.getDef
inition(java.lang.String, javax.servlet.ServletRequest,
javax.servlet.ServletContext)
		ComponentDefinitionsFactoryWrapper.java:56
	boolean
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(java.la
ng.String, boolean, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
		TilesRequestProcessor.java:175




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


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


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


Mime
View raw message