I put EVERYTHING under WEB-INF except one index.jsp file, which merely
passes the first incoming request to the secret stash!  By
"everything" I mean everything!

Jack


On Sun, 26 Dec 2004 22:31:32 +0800, Koon Yue Lam <[EMAIL PROTECTED]> wrote:
> Hi, I want to protect my JSP from direct access, so they can only
> access by Struts action.
> but....
> 
> If I want to include some Javascript or CSS to a JSP, I can't !
> Because .js and .css needed to place directly under WebRoot
> 
> My solution is to use <jps:include> to include all those Javascript
> and CSS to JSP, but then the JSP will look very ugly and fill up with
> long long non HTML stuffs ...... which is not so nice
> 
> Is there any any to solve this or I just need to accept this trade-off?
> 
> Any help would be appreciated
> 
> Regards
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
------------------------------

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

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

Reply via email to