I have confused you a little with my question on aliases earlier.Sorry about it .Here is a detailed note on the problem i am facing.
I am facing problems with Jrun 3.0 in configuring class files that are referred by my form action statements in certain Jsp's. I mention below few such examaples along with the settings in the Jrun 2.3.3 patch 157 which work fine.
I need to know how do we give similar settings for those actions in Jrun 3.0
1) form name="ImportForm" method="post" action="/com/xxxx/admin/ImportDataServlet.class"
ENCTYPE=\"multipart/form-data\"
Setting in Jrun 2.3.3 in Mappings
Virtual path/Extension------------>Servlet Invoked
*.class
-----------> invoker
2)document.forms[0].action = "/com/xxxx/admin/DocGenDocsServlet.class"
Setting in Jrun 2.3.3 in Mappings
Virtual path/Extension------------>Servlet Invoked
*.class
-----------> invoker
3)<form method="post" name="myform" action="/servlet/DocDownload.zip">
Setting in Jrun 2.3.3 in Servlet alias settings
alias name ------------>program invoked
DocDownload.zip------>com.xxxx.docgen.DocDownload.zip
Kindly let me know how i make these form action statements work fine in Jrun 3.0 .It would be of great help if it can be solved asap.
Reagrds
Aravind Kumar L.N.S
.
Scott Stirling wrote:
You mapping is messed. Generally you don't want to map *.class to invoker. Why
did you?I would leave invoker alone. If the form ACTION points to foo.zip, then you
need a mapping for *.zip, or for the whole thing: "foo.zip". So, for example:Alias:
servlet.DD.code=com.xxxx.common.DocDownload
servlet.DD.preload=true
servlet.DD.args=foo=barMapping
*.zip=DDI changed your setup, but the effect is the same. A URL for
http://www.wipro.com/foo.zip will now get mapped to DD, which is an alias for
the actual class named com.xxxx.common.DocDownload.Scott Stirling
West Newton, MA> -----Original Message-----
> From: Aravind Kumar LNS [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 25, 2000 11:38 PM
> To: JRun-Talk
> Subject: Alias problem in Jrun 2.3.3
>
>
> I am using a jsp page that has a form action statement something like this
> Form action="DocDownload.zip".I have an alias in JRUN 2.3.3 patch 157
> which goes like this
> DocDownload.zip refers to com.xxxx.common.DocDownload (the fully
> qualified name of actual
> class which DocDownload.zip refers to.Also i have a mapping that goes
> like this
> *.class --->invoker
> Jrun some how seems to ignore this alias name and says "could not
> load servlet" when the form
> is submitted.
> When i add another entry of DocDownload.zip referring to same class
> name as above in aliases
> section of Jrun it works fine.
> Why is it that Jrun 2.3.3 ignores the earlier entry.
>
> Note:I use Jrun 2.3.3 patch 157 on solaris with NES 3.6 web server
>
> Anticipating early reploy------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
