Hi everybody.
I need your help on how to use *.css for servlet generated responses.
Here is a piece of my web.xml

        <servlet-name>AdminWeb</servlet-name>
        <display-name>Admin Servlet</display-name>
        <servlet-class>is.admin.AdminServlet</servlet-class>
        <load-on-startup>1</load-on-startup>

<servlet-mapping>
        <servlet-name>AdminWeb</servlet-name>
        <url-pattern>/servlet/adminweb</url-pattern>
</servlet-mapping>

in my index.jsp I wrote:
<LINK REL=STYLESHEET
      HREF="styles/common.css"
      TYPE="text/css">

So, when I browse http://localhost:8080/AdminWeb I see the page loaded correctly, 
using common.css.

Now from this page I call servlet and page is generated( at 
http://localhost:8080/AdminWeb/servlet/adminweb?connect=connect). That page is not 
able to see common.css and I have no clue as how to point my link to styles/common.css.

Your response is highly appreciated.
Thank you.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848886#3848886

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848886


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to