You have distinct code in both url's. It is imposible that one work and
the other doesnt work if you have the *same* displaytag configuration
and css and other needed files declared in both jsp. Because they are at
same url level ( /erp/ )
梁炳場 escribió:
For this link, http://localhost:8080/erp/
displaytag is okay to display with css beautifully.
For this link, http://localhost:8080/erp/addUserProfile.do
all the css effect disappear.
my web.xml
<welcome-file-list>
<welcome-file>/user/addUserProfile.jsp</welcome-file>
</welcome-file-list>
my jsp file has a css line
<head>
<link rel="stylesheet" href="css/screen.css" type="text/css"
media="screen, print" />
</head>
my struts mapping is
<action
attribute="userProfileForm"
input="/user/addUserProfile.jsp"
name="userProfileForm"
parameter="method"
path="/addUserProfile"
scope="request"
type="com.erp.struts.user.action.UserProfileDispatchAction" >
<forward name="success" path="/user/addUserProfile.jsp" />
</action>
Any hints to solve?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]