This is a bit of a guess....

Are you using relative paths for your images?

When you access the jsp directly your current page is
/somewebapp/geral/geralLogin.jsp. So an image whichg refers to
../images/somepicture.gif will resolve to
/somewebapp/images/somepicture.gif.

When you get errors your current page is /somewebapp/gerallogin.do. So the
same relative image path will this time point to /images/somepicture.gif
which won't be valid as the context is missing. 

You can verify whether this is the case by looking at your access logs.

Try changing the path in struts-config to path="/geral/gerallogin"

Paul

> -----Original Message-----
> From: Daniel [mailto:[EMAIL PROTECTED]
> Sent: 16 February 2004 13:20
> To: Struts Users Mailing List
> Subject: ActionForward(mapping.getInput()) ....
> 
> 
> I'm using Tiles for manager the layout of my application and 
> it's a example of my geralLogin.jsp page, and works without 
> problem except when I have a exception and get the 
> mapping.getInmput() value for return tho the same page 
> (login.jsp) with ActionErrors etc... at  LoginAction.java. 
> When this happen the login.jps don't show the images, css and 
> other things about the page, show just the <htmt:text> , 
> <htmt:password> , <htmt:submit>, <html: errors />. The 
> problem is just the images and css.
> 
> Example of geralLogin.jsp:
> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
> 
> <tiles:insert page="/layouts/loginLayout.jsp" flush="true" >
> 
> <tiles:put name="title" value="Sistema de Gestão Integrada - Login" />
> 
> <tiles:put name="body" value="/geral/geralLoginBody.jsp" />
> 
> </tiles:insert>
> 
> 
> 
> 
> 
> Example of my struts-config.xml:
> 
> <action
> 
> attribute="GeralLoginIBean"
> 
> name="GeralLoginIBean"
> 
> input="/geral/geralLogin.jsp"
> 
> path="/gerallogin"
> 
> type="com.topit.geral.action.LoginAction"
> 
> validate="false">
> 
> <forward name="sucesso" path="/geral/principal_teste.jsp" 
> redirect="true" />
> 
> <forward name="falha" path="/geral/geralLogin.jsp" redirect="true" />
> 
> </action>
> 


**************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to